---------- Forwarded message ----------
From: Abhishek Amberkar [अभिषेक] <[email protected]>
Date: 2010/7/5
Subject: Getting "grub>" prompt after booting in Ubuntu 10.04
To: Kaustubh Kurambhatti <[email protected]>


Hi friends,
I had WinXP and Ubuntu 10.04 installed on my system. I replaced WinXP with
Win7
and lost GRUB (Legacy). Now my system started booting directly into Win7. So
I
tried installing GRUB (Legacy) again with Ubuntu live cd. But this time I
end
up removing NT loader as well and now I just get grub> prompt when I boot my
system. I am able to boot Ubuntu manually from grub> prompt. So I did and
created new menu.lst with all the commands and options I used to do manual
boot

But still no luck, everytime I boot my system I get GRUB prompt.

== My customized menu.lst ==

default 0
timeout 10
color cyan/blue white/blue

title Ubuntu 10.04 LTS, kernel 2.6.32-22-generic
root (hd0,7)
kernel /vmlinuz-2.6.32-22-generic root=/dev/sda10 ro
initrd /initrd.img-2.6.32-22-generic
quiet

title Ubuntu 10.04 LTS, kernel 2.6.32-22-generic (recovery mode)
root (hd0,7)
kernel /vmlinuz-2.6.32-22-generic root=/dev/sda10 ro single
initrd /initrd.img-2.6.32-22-generic

title Other operating systems:
root

title Microsoft Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1

====


== menu.lst generated using update-grub ==

## ## End Default Options ##

title           Ubuntu 10.04 LTS, kernel 2.6.32-22-generic
uuid            f6f6c34c-25a3-4542-8247-e592a60cb30b
kernel          /vmlinuz-2.6.32-22-generic
root=UUID=8fcc0582-aa5b-4e4f-9f0b-05b160473842 ro quiet splash
initrd          /initrd.img-2.6.32-22-generic
quiet

title           Ubuntu 10.04 LTS, kernel 2.6.32-22-generic (recovery mode)
uuid            f6f6c34c-25a3-4542-8247-e592a60cb30b
kernel          /vmlinuz-2.6.32-22-generic
root=UUID=8fcc0582-aa5b-4e4f-9f0b-05b160473842 ro  single
initrd          /initrd.img-2.6.32-22-generic

title           Ubuntu 10.04 LTS, memtest86+
uuid            f6f6c34c-25a3-4542-8247-e592a60cb30b
kernel          /memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

== fdisk -l (after manual boot from GRUB) ==

r...@kaustubh-desktop:~# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000080
Device Boot Start End Blocks Id System
/dev/sda1 * 26 287 2104515 b W95 FAT32
/dev/sda2 288 38913 310263345 f W95 Ext'd (LBA)
/dev/sda5 288 6661 51199123+ 7 HPFS/NTFS
/dev/sda6 6662 19409 102398278+ 7 HPFS/NTFS
/dev/sda7 19410 19895 3903763+ 82 Linux swap / Solaris
/dev/sda8 19896 19913 144553+ 83 Linux
/dev/sda9 19914 29396 76172166 83 Linux
/dev/sda10 29397 38913 76445271 83 Linux

== mount (after manual boot from GRUB)==

r...@kaustubh-desktop:~# mount | grep sd
/dev/sda10 on / type ext3 (rw,relatime,errors=remount-ro)
/dev/sda8 on /boot type ext3 (rw,relatime)
/dev/sda9 on /home type ext3 (rw,relatime)

In GRUB prompt I tried

setup(hd0,7)
setup(hd0)
setup(hd0,0)

but I still get grub> prompt. What to do?
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to