PDA

View Full Version : [ubuntu] Upgrade from 10.04 to 10.10 leaves me with no way of booting into an OS



v0idnull
October 18th, 2010, 10:15 AM
What's happening:
When booting, after the summary screen, the monitor turns blank. And not just any kind of blank, the back light shuts off but the monitor doesn't go into hibernate mode.

I've tried several threads and followed many steps to reinstall grub. By basic grub-install, to purging grub entirely and reinstalling it in a chrooted environment.

I have four SATA drives and I've read this is a problem. However, when using the BIOS to choose which SATA drive to boot from, they all yield the same problem, except one, which complains about putchars not being found or something. But searching for that problem just brings me back to the same steps I've already followed to reinstall grub.

Windows XP and Windows 7x64 are both installed as well, and I know grub seems them just fine.

I don't know what else I can do.

bootinfo.sh:
Boot Info Script 0.55 dated February 15th,
2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #6 for /boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in
partition #6 for (,msdos6)/boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdc and looks for
(UUID=a2ba619a-4c6d-4424-a379-625884f76101)/boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdd and looks on the same drive in
partition #6 for /boot/grub.
=> Syslinux is installed in the MBR of /dev/sde

sda1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /bootmgr /Boot/BCD

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files/dirs: /Windows/System32/winload.exe

sda3: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sda6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sdc1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sdd1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sdd2: __________________________________________________ _______________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sdd5: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sdd6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sde1: __________________________________________________ _______________________

File system: vfat
Boot sector type: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/sda2 206,848 870,033,923 869,827,076 7 HPFS/NTFS
/dev/sda3 870,035,454 976,768,064 106,732,611 5 Extended
/dev/sda5 972,318,123 976,768,064 4,449,942 82 Linux swap / Solaris
/dev/sda6 870,035,456 972,316,671 102,281,216 83 Linux


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 976,751,999 976,751,937 7 HPFS/NTFS


Drive: sdc ___________________ __________________________________________________ ___

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdc1 * 63 976,751,999 976,751,937 7 HPFS/NTFS


Drive: sdd ___________________ __________________________________________________ ___

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdd1 * 63 865,212,704 865,212,642 7 HPFS/NTFS
/dev/sdd2 865,214,462 976,768,064 111,553,603 f W95 Ext d (LBA)
/dev/sdd5 972,125,343 976,768,064 4,642,722 82 Linux swap / Solaris
/dev/sdd6 865,214,464 972,124,159 106,909,696 83 Linux


Drive: sde ___________________ __________________________________________________ ___

Disk /dev/sde: 16.0 GB, 16001036288 bytes
32 heads, 63 sectors/track, 15501 cylinders, total 31252024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sde1 * 63 31,250,015 31,249,953 c W95 FAT32 (LBA)


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 9E341AA4341A7F87 ntfs System Reserved
/dev/sda2 AE0C260A0C25CDE1 ntfs
/dev/sda3: PTTYPE="dos"
/dev/sda5 e2354fba-1b2c-409d-bc4c-16a3dd3a7b93 swap
/dev/sda6 07bc9079-ed41-4834-8361-21dc69e56e07 ext4
/dev/sda: PTTYPE="dos"
/dev/sdb1 201CD18C1CD15D7A ntfs BigOne
/dev/sdb: PTTYPE="dos"
/dev/sdc1 3498A69C98A65BDC ntfs BigTwo
/dev/sdc: PTTYPE="dos"
/dev/sdd1 DA9CEB4E9CEB23AB ntfs BigThree
/dev/sdd2: PTTYPE="dos"
/dev/sdd5 8b85a117-758a-40c7-8c26-e080ca211a63 swap
/dev/sdd6 37e9fcd4-551b-4f21-8e5c-ac66f188449a ext4
/dev/sdd: PTTYPE="dos"
/dev/sde1 3CBB-B997 vfat PENDRIVE
/dev/sde: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sde1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,i ocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda6 /media/07bc9079-ed41-4834-8361-21dc69e56e07 ext4 (rw,nosuid,nodev,uhelper=udisks)


=========================== sda6/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=07bc9079-ed41-4834-8361-21dc69e56e07 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=07bc9079-ed41-4834-8361-21dc69e56e07 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=07bc9079-ed41-4834-8361-21dc69e56e07 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=07bc9079-ed41-4834-8361-21dc69e56e07 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set 07bc9079-ed41-4834-8361-21dc69e56e07
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 9e341aa4341a7f87
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdd1)" {
insmod part_msdos
insmod ntfs
set root='(hd3,msdos1)'
search --no-floppy --fs-uuid --set da9ceb4e9ceb23ab
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda6/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sdb6 / ext4 errors=remount-ro 0 1
/dev/sdd6 /home ext4 defaults 0 2
/dev/sdb5 none swap sw 0 0
/dev/sdd5 none swap sw 0 0

=================== sda6: Location of files loaded by Grub: ===================


473.5GB: boot/grub/core.img
488.5GB: boot/grub/grub.cfg
460.9GB: boot/initrd.img-2.6.32-24-generic
479.0GB: boot/initrd.img-2.6.35-22-generic
475.5GB: boot/vmlinuz-2.6.32-24-generic
474.0GB: boot/vmlinuz-2.6.35-22-generic
479.0GB: initrd.img
460.9GB: initrd.img.old
474.0GB: vmlinuz
475.5GB: vmlinuz.old

================================ sdd1/boot.ini: ================================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

oldfred
October 18th, 2010, 11:57 PM
The script or grub2 do not report 'same' drive correctly. But you have two installs of linux in the 6th partition so I cannot be sure which boots which. Since sdb has ,msdos6 it looks like that drive has your newest grub isntalled.

The monitor issue is not an install issue but a video issue. Do you have nvidia?

I have nvidia and my monitor went to standby & had to do this:
boot from the cd, press F6 and then select the nomodeset option.
(I acutally edited my grub.cfg as I use grub2 to directly boot ISO on USB, or in USB's syslinux.cfg or text.cfg)
then
On first boot after install, press e on getting the GRUB bootloader menu.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot (low graphics mode)

After I installed nvidia driver (default from pop up) then it has worked without issue.
Or it should be in System>administration>Hardware drivers.
Possible additional things to run once nvidia working:
gksudo nvidia-settings
sudo nvidia-xconfig

http://pricklytech.wordpress.com/2010/07/31/ubuntu-10-4-lucid-black-blank-screen-during-installation-live-cd/
https://wiki.ubuntu.com/X/Troubleshooting/Nouveau
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia