kernel panic array 3

Chuck Vose vosechu at gmail.com
Thu Feb 3 15:43:39 UTC 2005


> > I am hoping this is a newbie grub configuration error, although this is this
> > first time I have had an issue.
> 
> Yep.
> 
> > title ubuntu
> > root (hd0,3)
> > kernel /boot/vmlinuz-2.6.10-2-386 root=/dev/hda4 ro
> >
> > (This worked fine with last week's gentoo install, by the way)
> 
> Here's an example of a correct stanza:
> 
> title           Ubuntu, kernel 2.6.10-1-k7
> root            (hd0,0)
> kernel          /boot/vmlinuz-2.6.10-1-k7 root=/dev/sda1 ro quiet splash
> initrd          /boot/initrd.img-2.6.10-1-k7
> boot
> 
> Modify the 'root' line and root= parameter to meet your needs.
>

Looks like the only thing missing was the initrd image. In gentoo
since you compile most of the stuff needed into the kernel you don't
need an initrd. Basically an initrd has all the tools like
reiserfsprogs so that you can mount your harddrives (pretty hard to
mount a drive when the mount command is on the unmounted drive :)

Hope that helps clarify that. In addition since you have (hd0,3) it's
possible you have grub installed wrong. You can either have grub
installed in the MBR or on the first 10MB of a partician. MBR is
pretty standard but it messes up windows boot loaders (which isn't
really a problem but whatever). In your case you had it installed on
the root of the 3rd partician so if it wasn't set 'bootable' at write
or grub things it's supposed to be elsewhere this could be a problem.
Again, gentoo gives you more power to do this.

-Chuck




More information about the ubuntu-users mailing list