On Mon, Jul 5, 2010 at 2:15 PM, jtd <[email protected]> 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) ==
> >
> > 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?
>
> 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
>
>
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

Reply via email to