PDA

View Full Version : [ubuntu] Ubuntu won't boot after upgrades



mokew
February 16th, 2011, 11:10 AM
Computer: Toshiba Satellite Notebook, AMD Processor

I installed ubuntu 10.10 and for the most part there were only a few hiccups. The system ran fine on its first boot, then I applied about 200mb worth of updates. This required a restart. When I restarted, the screen sort of blew up in errors- sorry I can't be specific, the screen was black and the white text came in droves.

When my computer booted back up, it gave me a quick message like "cannot reserve MMIO" then flashed the purple ubuntu screen for about a second, dissolved into a couple rainbow bars then it went black (the monitor is still on)

Ubuntu loads fine from a cd. I cannot log into my ubuntu install. Have searched everywhere for solutions, any help would be highly appreciated. Thanks

Rubi1200
February 16th, 2011, 11:39 AM
Hi and welcome to the forums :-)

Please do the following:

Boot the Ubuntu Live CD/USB. Choose the option "Try Ubuntu without any changes." Once the desktop loads come back here and do the following:

1. Download the boot info script. There is a link in my signature.
2. Once downloaded, move the boot info script to the desktop.
3. Open a terminal and run the command


sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here in a new post. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

mokew
February 19th, 2011, 03:13 PM
sorry for the delay. had my wizzies removed and my cd wasnt working for a few days. heres the results:


Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in
partition #1 for (,msdos1)/boot/grub.

sdb1: __________________________________________________ _______________________

File system: ext4
Boot sector type: Grub
Boot sector info: Grub 0.97 is installed in the boot sector of sdb1 and
looks at sector 264542224 of the same hard drive for
the stage2 file. A stage2 file is at this location on
/dev/sdb. Stage2 looks on partition #1 for
/boot/grub/menu.lst.
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb2: __________________________________________________ _______________________

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

sdb5: __________________________________________________ _______________________

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

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

Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 * 2,048 302,061,567 302,059,520 83 Linux
/dev/sdb2 302,063,614 312,580,095 10,516,482 5 Extended
/dev/sdb5 302,063,616 312,580,095 10,516,480 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sdb1 a1696ca4-89ea-41ef-bb83-59a2fd5a06ba ext4
/dev/sdb2: PTTYPE="dos"
/dev/sdb5 310767ed-ded7-43de-ac60-9864be92bd3b swap
/dev/sdb: PTTYPE="dos"
error: /dev/sda: No medium found

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

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)


=========================== sdb1/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,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
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,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
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-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
linux /boot/vmlinuz-2.6.35-25-generic root=UUID=a1696ca4-89ea-41ef-bb83-59a2fd5a06ba ro quiet splash
initrd /boot/initrd.img-2.6.35-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
echo 'Loading Linux 2.6.35-25-generic ...'
linux /boot/vmlinuz-2.6.35-25-generic root=UUID=a1696ca4-89ea-41ef-bb83-59a2fd5a06ba ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-25-generic
}
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,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=a1696ca4-89ea-41ef-bb83-59a2fd5a06ba 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,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=a1696ca4-89ea-41ef-bb83-59a2fd5a06ba ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a1696ca4-89ea-41ef-bb83-59a2fd5a06ba
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### 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 ###

=============================== sdb1/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
# / was on /dev/sdb1 during installation
UUID=a1696ca4-89ea-41ef-bb83-59a2fd5a06ba / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=310767ed-ded7-43de-ac60-9864be92bd3b none swap sw 0 0

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


135.4GB: boot/grub/core.img
25.9GB: boot/grub/grub.cfg
135.4GB: boot/grub/stage2
.8GB: boot/initrd.img-2.6.35-22-generic
.9GB: boot/initrd.img-2.6.35-25-generic
135.4GB: boot/vmlinuz-2.6.35-22-generic
135.4GB: boot/vmlinuz-2.6.35-25-generic
.9GB: initrd.img
.8GB: initrd.img.old
135.4GB: vmlinuz
135.4GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sdb2

00000000 44 58 f5 e1 dc 2d 7e 10 94 56 4f fb 08 aa ed ba |DX...-~..VO.....|
00000010 08 15 5c 6d a8 ae a2 65 86 15 fa b5 1a ed cb 45 |..\m...e.......E|
00000020 11 eb 9f fc 4c 26 9f f9 b7 15 49 72 ba 6d ae 3f |....L&....Ir.m.?|
00000030 0f 9c 6b f9 1c 04 cb 2f 3e 90 70 9d 0a 3f 47 a9 |..k..../>.p..?G.|
00000040 f4 1c 65 be 86 eb 10 12 54 0e 56 02 c0 bc c3 61 |..e.....T.V....a|
00000050 35 3b 1c d6 45 f6 c6 b7 0b 65 bf b9 5c 91 ec d9 |5;..E....e..\...|
00000060 6c b1 01 6b e0 d3 29 03 9e 66 ff a2 6e 62 56 4f |l..k..)..f..nbVO|
00000070 ad 53 dc 37 2c 42 bb 33 97 66 94 80 25 76 9c 5c |.S.7,B.3.f..%v.\|
00000080 06 3b 7d 6d 64 ae a5 58 aa ec 02 b0 f7 4f be fa |.;}md..X.....O..|
00000090 9d 7e 87 dd ba 37 14 f0 75 b6 45 42 4a 3f 49 2c |.~...7..u.EBJ?I,|
000000a0 dd ce 0f 8e e2 fc d0 28 de 1a 18 86 cf e3 c4 4c |.......(.......L|
000000b0 34 86 5d bd 9b 70 71 78 06 26 93 09 3e af 03 a5 |4.]..pqx.&..>...|
000000c0 72 05 e7 87 46 35 40 15 08 04 e0 f1 78 60 b5 5a |r...F5@.....x`.Z|
000000d0 61 32 ad dc a2 bd b7 bf 17 0b f1 e4 63 53 33 89 |a2..........cS3.|
000000e0 5f 6a db 14 f8 0a d4 35 34 9e 5d f1 37 44 09 40 |_j.....54.].7D.@|
000000f0 be bd 35 f8 3f e7 16 52 33 27 06 46 9f d8 da d9 |..5.?..R3'.F....|
00000100 64 13 cf 67 de 6c af 15 e7 86 a6 b0 b0 94 c9 f7 |d..g.l..........|
00000110 74 36 5e 63 00 a8 a7 44 bc 73 a0 5a 6b 58 2d 66 |t6^c...D.s.ZkX-f|
00000120 c4 13 4b 78 eb cc 39 c4 13 4b f8 c5 9f 7b fa 86 |..Kx..9..K...{..|
00000130 95 69 2c 56 2b 72 b9 2c 64 35 c8 b5 a5 ef 13 d1 |.i,V+r.,d5......|
00000140 04 8e bd f6 1a 76 ee be 27 1d 0a 7a 46 f9 68 97 |.....v..'..zF.h.|
00000150 bd 59 72 c2 34 a3 36 88 10 71 97 4e 55 13 a0 bc |.Yr.4.6..q.NU...|
00000160 87 a4 3f e5 15 42 92 f6 ba f5 7b 31 aa ac 80 da |..?..B....{1....|
00000170 3f 22 c2 e2 2e 2b a1 24 cd 72 8a ce 23 50 82 a0 |?"...+.$.r..#P..|
00000180 8f c7 88 9f d0 76 a9 f4 99 51 bd a6 be a2 c6 29 |.....v...Q.....)|
00000190 2f 11 53 b1 19 c6 40 59 22 da 04 4b bc cf f8 9e |/.S...@Y"..K....|
000001a0 e9 87 a3 a9 b9 2f f2 d3 37 9b cf 7e 96 ee a3 68 |...../..7..~...h|
000001b0 38 d3 f2 39 aa 78 81 e9 f3 cd 9b 6f 52 b1 00 fe |8..9.x.....oR...|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 78 a0 00 00 00 |...........x....|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=======Devices which don't seem to have a corresponding hard drive==============

sda

Rubi1200
February 19th, 2011, 05:33 PM
Thanks for the results.

Was this a fresh install of 10.10 or an upgrade?

Did you ever have an older version of Ubuntu installed on the drive?

Did you try and reinstall GRUB before posting to the forums?

The reason I ask is this:

Grub 0.97 is installed in the boot sector of sdb1This is the older version of GRUB. Ubuntu versions from 9.10 onwards use GRUB2, which you have installed.

The other odd thing about the results:

boot/grub/stage2
This should also not be there as far as I know.

As an experiment, there is a new version of the boot script. Would you be willing to try it and see if the results still come back the same?

Almost the same procedure as before, but use this link to download from the terminal:

wget -O boot_info_script.sh 'http://bootinfoscript.git.sourceforge.net/git/gitweb.cgi?p=bootinfoscript/bootinfoscript;a=blob_plain;f=boot_info_script.sh; hb=0c8e808eba272af5ef8b5f4df4654f350526d17b'Then, as before, move the script to the Desktop and run this in the terminal on the LiveCD:

sudo apt-get install gawk && sudo bash ~/Desktop/boot_info_script*.shThanks.

EDIT: this could also be a graphics issue. What video card do you have installed?