On Tue, Dec 09, 2003 at 08:43:51AM -0800, Bryan Murdock wrote:
> Um, maybe grub.conf isn't is easy as I thought.  Here's what I've got:
> 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this
> file
> # NOTICE:  You do not have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /, eg.
> #          root (hd0,0)
> #          kernel /boot/vmlinuz-version ro root=/dev/sda1
> #          initrd /boot/initrd-version.img
> #boot=/dev/sda
> default=0
> timeout=10
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> title Red Hat Linux (2.4.20-20.9smp)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.4.20-20.9smp ro root=LABEL=/ hdd=ide-scsi
>         initrd /boot/initrd-2.4.20-20.9smp.img
> title Red Hat Linux (2.4.20-20.9)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdd=ide-scsi
>         initrd /boot/initrd-2.4.20-20.9.img
> title Red Hat Linux (2.4.20-8smp)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=/ hdd=ide-scsi
>         initrd /boot/initrd-2.4.20-8smp.img
> title Red Hat Linux-up (2.4.20-8)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
>         initrd /boot/initrd-2.4.20-8.img
> title Mandrake Linux (2.4.22-21mdksmp)
>         root (hd0,4)
>         kernel /boot/vmlinuz-smp devfs=mount acpi=ht resume=/dev/sda2 ro
> hdd=id\e-scsi
>         initrd /boot/initrd-smp.img
> 
> 
> At first I pretty much copied one of the Red Hat lines exactly and
> tweaked it slightly for Mandrake.  That didn't work, so I added the
> above kernel parameters that I found in the Mandrake /etc/lilo.conf. 
> Didn't fix things.  Oh yeah, the problem I have is that it starts
> booting Mandrake but gets to a point where it says:
> 
> Mounting /proc filesystem
> Creating root device
> Mounting root device
> mount: error 6 mounting ext3 flags defaults
> ... (tries mount read-only and mount read-only with some other option)
> pivot: pivot_root(/sysroot,/sysroot/initrd)
> no init found, try passing init= to your kernel (I think I'm
> paraphrasing again here)

I don't know what the error is here, but the problem is that it wasn't
mounted, and not finding init was merely a symptom of that. If you fix the
mounting problem, then the rest should follow. You might try adding
hdd=ide-scsi to the kernel parameters (from lilo.conf below), if that
doesn't fix it.... maybe someone else has some ideas.

> I've also attached the Mandrake lilo.conf if that will help some kind
> sould translate it to grunb properly...
> 
> Thanks,
> 
> Bryan

> .....

> boot=/dev/fd0
> map=/boot/map
> default="linux-smp"
> keytable=/boot/us.klt
> prompt
> nowarn
> timeout=100
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> image=/boot/vmlinuz-smp
>       label="linux-smp"
>       root=/dev/sda5
>       initrd=/boot/initrd-smp.img
>       append="devfs=mount hdd=ide-scsi acpi=ht resume=/dev/sda2 splash=silent"
>       read-only
> image=/boot/vmlinuz
>       label="linux"
>       root=/dev/sda5
>       initrd=/boot/initrd.img
>       append="devfs=mount hdd=ide-scsi acpi=ht resume=/dev/sda2 splash=silent"
>       vga=788
>       read-only
> image=/boot/vmlinuz
>       label="linux-nonfb"
>       root=/dev/sda5
>       initrd=/boot/initrd.img
>       append="devfs=mount hdd=ide-scsi acpi=ht resume=/dev/sda2"
>       read-only
> image=/boot/vmlinuz
>       label="failsafe"
>       root=/dev/sda5
>       initrd=/boot/initrd.img
>       append="devfs=nomount hdd=ide-scsi acpi=ht resume=/dev/sda2 failsafe"
>       read-only
> other=/dev/fd0
>       label="floppy"
>       unsafe
> 
> image=/boot/vmlinuz-2.4.22-21mdksmp
>       label=2422-21smp
>       root=/dev/sda5
>       read-only
>       optional
>       vga=788
>       append=" devfs=mount hdd=ide-scsi acpi=ht resume=/dev/sda2 splash=silent"
>       initrd=/boot/initrd-2.4.22-21mdksmp.img

> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/ 
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to