On Tue, Nov 24, 2009 at 9:16 PM, Parin Sharma <[email protected]>wrote:
> I am using Kubuntu 9.10 installed with Wubi that is inside windows recently > I updated my Kernel through KPackageKit after that when I rebooted I can't > boot into this Kubuntu properly may be there is some problem with Kernel > upgrades in Wubi installed systems?? > now when I click on Kubuntu in boot menu option it doesn't boot rather goes > to grub command line sh:grub> > > I can boot by giving command like: > > set root=(hd0,1) > linux path to old kernel name root=/dev/sda1 loop=/ubuntu/disks/root.disk > ro > initrd path to old initrd img > boot > > but this has to be done everytime I reboot so is there a way I can solve > this I mean I get my old grub menu or how to boot properly with the new > kernel ?? > Ubuntu has moved to grub 1.97 (i.e. grub 2) since 9.10 . You can look at the following thread http://ubuntuforums.org/showthread.php?t=1195275 I faced a similar problem. Here is what worked for me:- Try reinstalling grub using a live cd (you can make a bootable iso using ubuntu's startup disk creator) Then simply use the command update-grub in terminal. > > > Here are the contents of grub.cfg > * > # > # DO NOT EDIT THIS FILE > # > # It is automatically generated by /usr/sbin/grub-mkconfig using templates > # from /etc/grub.d and settings from /etc/default/grub > # > > ### BEGIN /etc/grub.d/00_header ### > if [ -s /boot/grub/grubenv ]; then > have_grubenv=true > load_env > fi > set default="0" > if [ ${prev_saved_entry} ]; then > saved_entry=${prev_saved_entry} > save_env saved_entry > prev_saved_entry= > save_env prev_saved_entry > fi > if [ ${recordfail} = 1 ]; then > set timeout=-1 > else > set timeout=10 > fi > ### END /etc/grub.d/00_header ### > > ### BEGIN /etc/grub.d/05_debian_theme ### > set menu_color_normal=white/black > set menu_color_highlight=black/white > ### END /etc/grub.d/05_debian_theme ### > > ### BEGIN /etc/grub.d/10_linux ### > ### END /etc/grub.d/10_linux ### > > ### BEGIN /etc/grub.d/10_lupin ### > menuentry "Ubuntu, Linux 2.6.31-15-generic" { > insmod ntfs > set root=(hd0,1) > search --no-floppy --fs-uuid --set 8e5474a754749425 > loopback loop0 /ubuntu/disks/root.disk > set root=(loop0) > linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda1 > loop=/ubuntu/disks/root.disk ro quiet splash > initrd /boot/initrd.img-2.6.31-15-generic > } > menuentry "Ubuntu, Linux 2.6.31-15-generic (recovery mode)" { > insmod ntfs > set root=(hd0,1) > search --no-floppy --fs-uuid --set 8e5474a754749425 > loopback loop0 /ubuntu/disks/root.disk > set root=(loop0) > linux /boot/vmlinuz-2.6.31-15-generic root=/dev/sda1 > loop=/ubuntu/disks/root.disk ro single > initrd /boot/initrd.img-2.6.31-15-generic > } > menuentry "Ubuntu, Linux 2.6.31-14-generic" { > insmod ntfs > set root=(hd0,1) > search --no-floppy --fs-uuid --set 8e5474a754749425 > loopback loop0 /ubuntu/disks/root.disk > set root=(loop0) > linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 > loop=/ubuntu/disks/root.disk ro quiet splash > initrd /boot/initrd.img-2.6.31-14-generic > } > menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" { > insmod ntfs > set root=(hd0,1) > search --no-floppy --fs-uuid --set 8e5474a754749425 > loopback loop0 /ubuntu/disks/root.disk > set root=(loop0) > linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 > loop=/ubuntu/disks/root.disk ro single > initrd /boot/initrd.img-2.6.31-14-generic > } > ### END /etc/grub.d/10_lupin ### > > ### BEGIN /etc/grub.d/20_memtest86+ ### > ### END /etc/grub.d/20_memtest86+ ### > > ### BEGIN /etc/grub.d/30_os-prober ### > menuentry "Windows NT/2000/XP (loader) (on /dev/sda1)" { > insmod ntfs > set root=(hd0,1) > search --no-floppy --fs-uuid --set 8e5474a754749425 > drivemap -s (hd0) ${root} > chainloader +1 > } > ### END /etc/grub.d/30_os-prober ### > > ### BEGIN /etc/grub.d/40_custom ### > # This file provides an easy way to add custom menu entries. Simply type > the > # menu entries you want to add after this comment. Be careful not to > change > # the 'exec tail' line above. > ### END /etc/grub.d/40_custom ###* > > > -- > Parin Sharma > Another FOSS Lover, > http://twitter.com/FOSSmaniac > New Delhi > > -- > Do you have another question? Click here - > http://groups.google.com/group/iitdlug/post > Read archive - http://www.mail-archive.com/[email protected]/ > l...@iitd community mailing list -- http://groups.google.com/group/iitdlug -- Do you have another question? Click here - http://groups.google.com/group/iitdlug/post Read archive - http://www.mail-archive.com/[email protected]/ l...@iitd community mailing list -- http://groups.google.com/group/iitdlug
