Re: no init found error
From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 06/08/04
- Next message: Tommy Reynolds: "Re: Dell OptiPlex GX 270 -- Red hat 9.0 -- Graphics Problems"
- Previous message: Tommy Reynolds: "Re: Running FC2 on AMD 64bit CPUs"
- In reply to: michelle: "no init found error"
- Next in thread: michelle: "Re: no init found error"
- Reply: michelle: "Re: no init found error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 08 Jun 2004 16:24:04 -0500
On Tue, 08 Jun 2004 11:25:55 -0700, michelle wrote:
> Hi, I tried to build a linux on a extended partition(/mnt/target),
> using a redhat linux I already have on the machine. I installed
> kernel on /mnt/target and could boot, and also install SysVinit, so I
> have a /mnt/target/sbin/init. I don't understand why when it boots, it
> says no init found. Any help is appreciated.
The bootloader is able to mount exactly one filesystem directly
to get the system started. Your "/sbin/init" program must be in
_that_ partition, not in anything you might happen to mount later.
Once the bootloader brings the initrd image and the kernel image into
memory, control transfers to the kernel image. It is the kernel
image that examines the rest of the kernel command line to parse the
"ro root=/dev/hda3" (or similar) and locate your runtime "/" root
directory.
To point GRUB to the location of the "/" part of "/sbin/init" you
must alter the "root (hd0,0)" directive to point to the partition
actually containing your "/mnt/target" filesystem.
HTH.
- Next message: Tommy Reynolds: "Re: Dell OptiPlex GX 270 -- Red hat 9.0 -- Graphics Problems"
- Previous message: Tommy Reynolds: "Re: Running FC2 on AMD 64bit CPUs"
- In reply to: michelle: "no init found error"
- Next in thread: michelle: "Re: no init found error"
- Reply: michelle: "Re: no init found error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|