Skip to main content

Thread: Grub restarts to command prompt


i'm running notebook dual boot of windows xp , ubuntu. after recent linux-header update notebook boots "grub>" prompt.

i've had problem before , able fix doing following:

grub> find /boot/grub/stage1
(hd0,4)
grub> root (hd0,4)
grub> setup (hd0)
grub> reboot.

problem having above command sequence not affect the menu.lst. did "sudo fdisk -l" using livecd , have following output:

code:
disk /dev/sda: 80.0 gb, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0x41ab2316     device boot      start         end      blocks   id  system /dev/sda1   *           1        4555    36588006    7  hpfs/ntfs /dev/sda2            4556        9668    41070172+   f  w95 ext'd (lba) /dev/sda3            9669        9729      489982+  82  linux swap / solaris /dev/sda5            4557        9668    41062140   83  linux
it looks linux partion partion 5, when try "root (hd0,5)" grub responds "partition not found."

after went parition sda5 using livecd , manually edited menu.list replacing parition (hd0,4) , correct linux-header files (2.6.28-15). there way can re-number sda5 sda4 grub can automatically update menu.lst?


orginally menu.lst

code:
title        ubuntu 8.04.1, kernel 2.6.24-23-generic root        (hd0,5) kernel        /boot/vmlinuz-2.6.24-23-generic root=/dev/sda5 initrd        /boot/initrd.img-2.6.24-23-generic quiet

sda5 label, doesn't mean 5th partition...if delete , create new in place, called sda6. should stick find /boot/grub/stage1 reports.

if there problem grub can post menu.lst?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Grub restarts to command prompt


Ubuntu

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support