grub problem

Michael Tsang miklcct at gmail.com
Mon Nov 23 06:03:42 PST 2009


On Monday 23 November 2009 21:27:37 su.sinnes wrote:
> Hi im stuck with grub, as soon as i restart i get into the grub shell
> and when i type boot it says no loaded kernel.
> but if i do:
>  1) made a file under /boot/grub/device.map as Bruce
> (hd0) /dev/sda
> 
> 2) grub-install --root-directory=/boot/ /dev/sda
> 
> 3) grub-mkconfig -o /boot/boot/grub/grub.cfg
> 
> then it boots up and i get a " kernel panic , not syncing:VFS:unable to
> mount root
> fs on unknown-block(2,0)"
> 
> i have recompiled the kernel 4 times now and i have selected all SATA
> drivers, and ext 2 filesystem.
> but no luck.
> 
> Anyone got any ideas?
> 
> Thank you.
> 

Can you show me the last few lines of the screen when the machine hangs?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091123/1cce855f/attachment.sig>


More information about the lfs-support mailing list