PDA

View Full Version : [ubuntu] Blank screen after grub selection



rjpilla
May 4th, 2010, 04:10 AM
First let me describe my system setup. I have windows, ubuntu 64 and ubuntu 32 present. I upgraded the 32 bit version to 10.4 with no problem. After upgrading the 64 bit version is when the problem occurred. I believe it has to do with the grub.cfg file. When I would choose the 64 bit version the screen would just go black, no furthur action. After making a few changes to the 64 bit selection in grub.cfg i come to a screen that says c to continue, s to skip mounting, and m for manual mount. Pressing s gets me in. Here is a copy of my grub.cfg and hope someone can figure this out.

#
# 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 $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
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
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-20-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
linux /boot/vmlinuz-2.6.32-20-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro quiet splash
initrd /boot/initrd.img-2.6.32-20-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
echo 'Loading Linux 2.6.32-20-generic ...'
linux /boot/vmlinuz-2.6.32-20-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-20-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-16-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
echo 'Loading Linux 2.6.31-16-generic ...'
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=e22b1b6f-09dd-4a63-a570-0342dca5e68f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-16-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set e22b1b6f-09dd-4a63-a570-0342dca5e68f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set b64010d84010a0e3
drivemap -s (hd0) ${root}
chainloader +1
}
************************************************** ************
HERE IS WHERE I MADE MY CHANGES, COMPARE TO NEXT SELECTION FOR RECOVERY. I CHANGED EXT2 TO EXT3, (HD0,2) TO (HD0,1), PUT RECORDFAIL IN
************************************************** ****************

menuentry 'Ubuntu 64, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext3
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 210de5ec-2152-4500-89a2-31dd5577764a
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=210de5ec-2152-4500-89a2-31dd5577764a ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu 9.10, kernel 2.6.31-18-generic (recovery mode) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 210de5ec-2152-4500-89a2-31dd5577764a
linux /boot/vmlinuz-2.6.31-18-generic root=UUID=210de5ec-2152-4500-89a2-31dd5577764a ro single
initrd /boot/initrd.img-2.6.31-18-generic
}
menuentry "Ubuntu 9.10, kernel 2.6.31-17-generic (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 210de5ec-2152-4500-89a2-31dd5577764a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=210de5ec-2152-4500-89a2-31dd5577764a ro quiet splash vga=771
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode) (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 210de5ec-2152-4500-89a2-31dd5577764a
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=210de5ec-2152-4500-89a2-31dd5577764a ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu 9.10, memtest86+ (on /dev/sda2)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 210de5ec-2152-4500-89a2-31dd5577764a
linux /boot/memtest86+.bin
}
### 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 ###

rjpilla
May 4th, 2010, 04:03 PM
didn't really need to do any changes to the grub except remove vga=771. After the blank screen, a screen comes up with messed up video when this occurs press S and you'll enter the ubuntu login screen normally. So what is occurring right after you make the selection from grub? Is this an issue with the new grub? Why is it occurring just with the 64 bit selection and not the 32 bit? Most important is there a fix?