PDA

View Full Version : [ubuntu] Grub2 doesn't show the option to boot into Ubuntu after fresh 9.10 install



shredder12
October 31st, 2009, 01:14 PM
I installed Ubuntu 9.10 successfully (i hope so) by following this tutorial.. https://help.ubuntu.com/community/Installation/FromLinux

Everything went well...but when I was to reboot after the installation I ended up in the new grub menu which had 3 options
->2 options were about memory testing.
->1 option was to boot into windows.

Where is the option to boot into ubuntu??
I could have booted using command line.. but I couldn't find the vmlinuz file in the freshly installed partition..

Everything was there except the kernel file..

Help please... I have tried reinstalling too but same result...

shredder12
October 31st, 2009, 02:13 PM
I think the problem is that my grub.cfg file is not correctly configured..
so i decided to run update grub using the live cd
I booted into the live cd and followed this link to recover it..
https://wiki.ubuntu.com/Grub2#Recover%20Grub%202%20via%20LiveCD

but when i ran this command

update-grub

I got the following error.

Generating grub.cfg ...
Found memtest86+ image: /boot/memtest86+.bin
grep: /proc/mounts: No such file or directory
Cannot find list of partitions!
done



After that grub.cfg remains the same..this is my grub.cfg file

#
# 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
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 59dd0f18-4b79-4da7-9080-453e7c576482
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

what am I doing wrong??
why is there no result for 10_linux??

shredder12
October 31st, 2009, 02:39 PM
About the error..

Generating grub.cfg ...
Found memtest86+ image: /boot/memtest86+.bin
grep: /proc/mounts: No such file or directory
Cannot find list of partitions!
done

I checked the folder /proc in my installation and amazingly it was completely empty..
there was nothing in it.. no hidden files, no folders, no files nothing..
I think I installed my system from a crappy iso..
i will probably download a new one and try installing using it..

yonkiman
October 31st, 2009, 09:53 PM
I'm having the exact same problem, both with the released 9.10 AMD64 Desktop iso and the released 9.10 Mythbuntu iso. I installed Mythbuntu, had this problem, then wiped the disk and installed "plain" Ubuntu, and had the same problem. Boot hangs at grub with no error messages (unlike the "Error 15" I was getting a few days ago), then when I try the repair, I get the same

grep: /proc/mounts: No such file or directory
Cannot find list of partitions!
done
error.

Arrgh! This was the weekend I'd dedicated to getting my MthTV upgraded before the WAF drops to zero!

yonkiman
October 31st, 2009, 11:29 PM
I got a clean install by disconnecting my RAID array.

I had a 4 disk RAID5 array in addition to the disk I was installing onto. When I disconnected those 4 disks so the installer only saw one hard disk, the install went perfectly.

shredder12
November 2nd, 2009, 08:34 AM
I think I was right.. there was some issue with the ISO I was using..
I downloaded another one and installed it using a USB this time.. and things are working fine now..

Even though it didn't seem to be a good start but i m loving new Ubuntu karmic..