---------- Forwarded message ---------- From: Abhishek Amberkar [अभिषेक] abhishek.amberkar@gmail.com Date: 2010/7/5 Subject: Getting "grub>" prompt after booting in Ubuntu 10.04 To: Kaustubh Kurambhatti kaussie.27@gmail.com
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) ==
root@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)==
root@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?
On Monday 05 July 2010 13:19:34 kaustubh sk wrote:
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) ==
root@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)==
root@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?
1) from the grub prompt root (hd0,7) kernel /boot/vmlinuz-2.6.32-22-generic root=(/dev/sda10 initrd /boot/initrd.img-2.6.32-22-generic boot
If you boot successfully then reboot and on the grub prompt root (hd0,7) setup (hd0)
It is presumed that your /boot is /dev/sda8 and has all the kernels, initrds your distro is installed in /dev/sda10 your /boot/grub has all grub files including menu.lst
On Mon, Jul 5, 2010 at 2:15 PM, jtd jtd@mtnl.net.in wrote:
On Monday 05 July 2010 13:19:34 kaustubh sk wrote:
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) ==
root@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)==
root@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?
- from the grub prompt
root (hd0,7) kernel /boot/vmlinuz-2.6.32-22-generic root=(/dev/sda10 initrd /boot/initrd.img-2.6.32-22-generic boot
If you boot successfully then reboot and on the grub prompt root (hd0,7) setup (hd0)
It is presumed that your /boot is /dev/sda8 and has all the kernels, initrds your distro is installed in /dev/sda10 your /boot/grub has all grub files including menu.lst
Thanks a lot, now i get the grub menu after booting, but it doesn't show any entry for windows 7 ... how can i get that in list??
All you need to do is to add win entry in that same grub file at the end or wherever you like .(Assuming your win is installed in hd0,0)
#Win 7 Partition title Win rootnoverify (hd0,0) Chainloader +1
On Mon, Jul 5, 2010 at 8:52 PM, kaustubh sk kaussie.27@gmail.com wrote:
On Mon, Jul 5, 2010 at 2:15 PM, jtd jtd@mtnl.net.in wrote:
On Monday 05 July 2010 13:19:34 kaustubh sk wrote:
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) ==
root@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)==
root@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?
- from the grub prompt
root (hd0,7) kernel /boot/vmlinuz-2.6.32-22-generic root=(/dev/sda10 initrd /boot/initrd.img-2.6.32-22-generic boot
If you boot successfully then reboot and on the grub prompt root (hd0,7) setup (hd0)
It is presumed that your /boot is /dev/sda8 and has all the kernels, initrds your distro is installed in /dev/sda10 your /boot/grub has all grub files including menu.lst
Thanks a lot, now i get the grub menu after booting, but it doesn't show any entry for windows 7 ... how can i get that in list?? -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Greetings,
On 7/5/10, kaustubh sk kaussie.27@gmail.com wrote:
On Mon, Jul 5, 2010 at 2:15 PM, jtd jtd@mtnl.net.in wrote:
On Monday 05 July 2010 13:19:34 kaustubh sk wrote:
### END DEBIAN AUTOMAGIC KERNELS LIST
== fdisk -l (after manual boot from GRUB) ==
<rant> Bloody hell! its that Ubuntu "upgrade-threadmill-like-proprietary" crap again... My system after an upgrade to 9.10 (or something like that boots at a speed which would make a tortoise/snail proud winner of the Olympics sprint and make me hate using the sullied "Ubuntu")... Sigh !!!
awaiting CentOS 6 in 4Q. Should be the best for the desktops atleast... don't have to worry for next 7 years!!! [i.e. 2017AD] :) . Now that's sustainable stability and innovation. looks they have chosen 2.6.34 kernel -- most advanced to date... any confirmations please...
YAY !!! </rant>
Regards,
Rajagopal
On Monday 05 July 2010 09:45 PM, Rajagopal Swaminathan wrote:
awaiting CentOS 6 in 4Q. Should be the best for the desktops atleast... don't have to worry for next 7 years!!! [i.e. 2017AD] :) . Now that's sustainable stability and innovation. looks they have chosen 2.6.34 kernel -- most advanced to date... any confirmations please...
Cent OS is way behind. Use Debian Lenny instead. Get the latest version 5.04.
On Monday 05 July 2010 09:45 PM, Rajagopal Swaminathan wrote:
awaiting CentOS 6 in 4Q. Should be the best for the desktops atleast... don't have to worry for next 7 years!!! [i.e. 2017AD] :) . Now that's sustainable stability and innovation. looks they have chosen 2.6.34 kernel -- most advanced to date... any confirmations please...
Forgot to add. CentOS 5 had kernel 2.6.18.
Hi Kaustubh,
On Mon, Jul 5, 2010 at 1:19 PM, kaustubh sk kaussie.27@gmail.com wrote:
---------- Forwarded message ---------- From: Abhishek Amberkar [अभिषेक] abhishek.amberkar@gmail.com Date: 2010/7/5 Subject: Getting "grub>" prompt after booting in Ubuntu 10.04 To: Kaustubh Kurambhatti kaussie.27@gmail.com
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
Ubuntu 10.04 has Grub 2 by default. So, instead of menu.lst, there's grub.cfg. You don't need to manually modify this file. Once you boot into Ubuntu, run 'sudo update-grub'. It should automatically detect your Windows 7 installation and add the corresponding entry in grub.cfg.