PDA

View Full Version : [ubuntu] wubi 11.10 blue screen after updates



HaroldM
January 13th, 2012, 07:34 PM
I just installed 11.10 using WUBI and it worked fine. I then put on at least 150 updates and then tried to reboot. Now all I get is a purple screen. Same thing happens in recovery mode but I see it hanging on a message "Loading Ramdisk" Tried to switch (alt F2 etc.) and get no response.

HP Pavilion DV7 with Windows 7.

Thanks for any help!

Rubi1200
January 13th, 2012, 07:38 PM
What graphics card do you have installed?

HaroldM
January 13th, 2012, 07:48 PM
When I look at it in Windows it seems to be an Intel HD Graphics Family. Did not see a chipset if.

Rubi1200
January 13th, 2012, 08:06 PM
If you can boot from a LiveCD/USB then please post the results of the boot info script as it may help us determine what is going on.

There is a link at the bottom of my post with instructions.

Thanks.

HaroldM
January 13th, 2012, 08:42 PM
Boot Info Script 0.60 from 17 May 2011


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

=> Windows is installed in the MBR of /dev/sda.

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: /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: /bootmgr /boot/BCD /Windows/System32/winload.exe
/wubildr /ubuntu/winboot/wubildr /wubildr.mbr
/ubuntu/winboot/wubildr.mbr /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk

sda2/Wubi: __________________________________________________ ___________________

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

sda3: __________________________________________________ ________________________

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

sda4: __________________________________________________ ________________________

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

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 409,599 407,552 7 NTFS / exFAT / HPFS
/dev/sda2 409,600 1,429,276,671 1,428,867,072 7 NTFS / exFAT / HPFS
/dev/sda3 1,429,276,672 1,464,936,447 35,659,776 7 NTFS / exFAT / HPFS
/dev/sda4 1,464,936,448 1,465,147,119 210,672 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 64B4B219B4B1EDA4 ntfs SYSTEM
/dev/sda2 D0BA5991BA5974C6 ntfs Windows-7
/dev/sda3 20E00FD1E00FABDA ntfs RECOVERY
/dev/sda4 B266-C353 vfat HP_TOOLS

================================ Mount points: =================================

Device Mount_Point Type Options

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


======================== sda2/Wubi/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 video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
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
if background_color 44,0,30; then
clear
fi
### 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 ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=D0BA5991BA5974C6 loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.0.0-14-generic ...'
linux /boot/vmlinuz-3.0.0-14-generic root=UUID=D0BA5991BA5974C6 loop=/ubuntu/disks/root.disk ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-14-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=D0BA5991BA5974C6 loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root D0BA5991BA5974C6
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=D0BA5991BA5974C6 loop=/ubuntu/disks/root.disk ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-12-generic
}
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### 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 ###

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

============================= sda2/Wubi/etc/fstab: =============================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
--------------------------------------------------------------------------------

================= sda2/Wubi: Location of files loaded by Grub: =================

GiB - GB File Fragment(s)

= boot/grub/grub.cfg 1
= boot/initrd.img-3.0.0-12-generic 1
= boot/initrd.img-3.0.0-14-generic 1
= boot/vmlinuz-3.0.0-12-generic 1
= boot/vmlinuz-3.0.0-14-generic 1
= initrd.img.old 1
= vmlinuz 1
= vmlinuz.old 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 02 d2 19 |.X.MSDOS5.0.....|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 28 51 57 |........?....(QW|
00000020 f0 36 03 00 17 03 00 00 00 00 00 00 02 00 00 00 |.6..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 53 c3 66 b2 4e 4f 20 4e 41 4d 45 20 20 |..)S.f.NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200


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

sdb

=============================== StdErr Messages: ===============================

awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in


Hope the above is of help. I'm new at this so I hope it is correct. I could not find or use the # symbol before posting.

bcbc
January 13th, 2012, 09:09 PM
When you boot recovery mode, press E first and delete this line:

set gfxpayload=$linux_gfx_mode

Then Ctrl+X to boot.

Then you can drop to a root shell and see how much space you've used:

df -h

HaroldM
January 13th, 2012, 09:27 PM
I used RF -k and got

Filesystem 1024 blocks used available use% mounted on
Udev. 3028116. 0 3028116 0% /Dev

Tmpfs. 214368. 208 1214160 0% /run

bcbc
January 13th, 2012, 10:10 PM
My bad, from the recovery read only menu, select option 3: remount read/write

Then do "df -h" again and look for (loop0) to see what space is used.

HaroldM
January 13th, 2012, 10:20 PM
Thanks for helping me - I'm totally at a loss on this one. How do I get to the read only menu. I only see the one menu item to use the recovery system and after I remove the first line as you previously stated and enter Ctrl-x it just starts. As an aside: I find it interesting that after the initial install and no updates it works fine and also works fine from the CD when I boot from it. Seems like one of the recent updates is causing the trouble.

bcbc
January 13th, 2012, 10:29 PM
Thanks for helping me - I'm totally at a loss on this one. How do I get to the read only menu. I only see the one menu item to use the recovery system and after I remove the first line as you previously stated and enter Ctrl-x it just starts. As an aside: I find it interesting that after the initial install and no updates it works fine and also works fine from the CD when I boot from it. Seems like one of the recent updates is causing the trouble.

Could be.

Okay, instead boot the live cd:

sudo mkdir /media/win /dev/sda2
sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
df -h

Report the size of the root.disk and space remaining (will be loopn (n could be 0, 1 or 2)). If no problem with space:

sudo umount /mnt
sudo fsck -fv /media/win/ubuntu/disks/root.disk
( -fv means force fsck even if it appears clean and be verbose)

If there is a problem with space, don't bother fsck'ing and report back here.

HaroldM
January 13th, 2012, 10:58 PM
Here is what I'm getting from df -h:
/dev/loop0 663M 663M 0 100% /rofs

Also, The fist command says the file exists. The second command says no such file or directory.

The umount fails and says not mounted.

Should I still do the fsck'ing?

bcbc
January 13th, 2012, 10:59 PM
Here is what I'm getting from df -h:
/dev/loop0 663M 663M 0 100% /rofs

Also, The fist command says the file exists. The second command says no such file or directory.

The umount fails and says not mounted.

Should I still do the fsck'ing?
That's not the root.disk. Try /dev/loop1 or /dev/loop2 (it will say mounted on /mnt

HaroldM
January 13th, 2012, 11:05 PM
Here is the complete output:

ubuntu@ubuntu:~$ sudo mkdir /media/win /dev/sda2
mkdir: cannot create directory `/dev/sda2': File exists
ubuntu@ubuntu:~$ sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
/media/win/ubuntu/disks/root.disk: No such file or directory
ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/cow 2.9G 78M 2.9G 3% /
udev 2.9G 4.0K 2.9G 1% /dev
tmpfs 1.2G 848K 1.2G 1% /run
/dev/sr0 698M 698M 0 100% /cdrom
/dev/loop0 663M 663M 0 100% /rofs
tmpfs 2.9G 8.0K 2.9G 1% /tmp
none 5.0M 4.0K 5.0M 1% /run/lock
none 2.9G 104K 2.9G 1% /run/shm
ubuntu@ubuntu:~$ ^C
ubuntu@ubuntu:~$ sudo umount /mnt
umount: /mnt: not mounted
ubuntu@ubuntu:~$ sudo mkdir /media/win /dev/loop1
mkdir: cannot create directory `/media/win': File exists
mkdir: cannot create directory `/dev/loop1': File exists
ubuntu@ubuntu:~$ sudo mkdir /media/win /dev/loop2
mkdir: cannot create directory `/media/win': File exists
mkdir: cannot create directory `/dev/loop2': File exists
ubuntu@ubuntu:~$

bcbc
January 13th, 2012, 11:18 PM
Sorry me again...

sudo mkdir -p /media/win /dev/sda2
sudo mount /dev/sda2 /media/win
sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
df -h

HaroldM
January 13th, 2012, 11:26 PM
Is this any better?

ubuntu@ubuntu:~$ sudo mkdir -p /media/win /dev/sda2
mkdir: cannot create directory `/dev/sda2': File exists
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /media/win
ubuntu@ubuntu:~$ sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/cow 2.9G 88M 2.9G 3% /
udev 2.9G 4.0K 2.9G 1% /dev
tmpfs 1.2G 848K 1.2G 1% /run
/dev/sr0 698M 698M 0 100% /cdrom
/dev/loop0 663M 663M 0 100% /rofs
tmpfs 2.9G 20K 2.9G 1% /tmp
none 5.0M 4.0K 5.0M 1% /run/lock
none 2.9G 104K 2.9G 1% /run/shm
/dev/sda2 682G 157G 526G 23% /media/win
/dev/loop1 29G 3.0G 25G 11% /mnt
ubuntu@ubuntu:~$

bcbc
January 13th, 2012, 11:31 PM
Yeah - definitely not a problem with space (25G free)

Try the fsck - make sure you unmount the root.disk first and there are no errors doing so:

sudo umount /mnt
sudo fsck -fy /media/win/ubuntu/disks/root.disk

Try rebooting after that.

If it fails, change the first boot entry (hit 'E') and then remove 'quiet splash' and see where it is hanging up. You can also try adding 'nomodeset'. (don't include the single quotes). And then Ctrl+X to boot.

HaroldM
January 13th, 2012, 11:33 PM
Looks OK I think:

ubuntu@ubuntu:~$ sudo fsck -fy /media/win/ubuntu/disks/root.disk
fsck from util-linux 2.19.1
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/media/win/ubuntu/disks/root.disk: 163573/1905008 files (0.2% non-contiguous), 890131/7614464 blocks
ubuntu@ubuntu:~$ sudo fsck -fy /media/win/ubuntu/disks/root.disk
fsck from util-linux 2.19.1
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/media/win/ubuntu/disks/root.disk: 163573/1905008 files (0.2% non-contiguous), 890131/7614464 blocks

bcbc
January 14th, 2012, 12:20 AM
That all looks good. How about the booting without 'quiet splash' and/or 'nomodeset'