PDA

View Full Version : [ubuntu] Windows 7 Will Not Boot After Updating From 10.10 to 11.04



fjawor
April 10th, 2011, 09:37 PM
Hi All,
I have a problem. Today I updated from 10.10 to 11.04 and it looks really cool. However, I also have Windows 7 on a different partition. When I restarted after I updated, GRUB looked different. Also, when I tried to boot to Windows 7, the screen would go blank (like it was restarting) and it would just bring me up to the GRUB menu again. I really need to get back onto Windows 7. Your help is very much appreciated.

Thank You,
fjawor
:confused:

Dutch70
April 10th, 2011, 09:40 PM
Hi and welcome to UF

Please post your boot info script.

To post your boot info script, boot up to your live cd/usb, download the boot info script from the following link & save it to your desktop.
http://bootinfoscript.sourceforge.net/ (http://bootinfoscript.sourceforge.net/)

Then open a terminal (Cntrl+Alt+T) and run the following command...

sudo bash ~/Desktop/boot_info_script*.sh

This will create a results.txt file on your desktop. Open that file and copy/paste the info between code tags using the "#" symbol in the toolbar of your next post.

To put it between code tags, just click the # symbol in the toolbar & paste it between [CODE] [ /CODE] tags.

fjawor
April 10th, 2011, 09:52 PM
Hi,
This is my boot info script.


Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks for +e.

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu natty (development
branch)
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

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

sda4: __________________________________________________ _______________________

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:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 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 122,558,463 122,556,416 83 Linux
/dev/sda2 * 122,560,512 122,765,311 204,800 7 HPFS/NTFS
/dev/sda3 122,765,312 245,116,927 122,351,616 7 HPFS/NTFS
/dev/sda4 245,116,928 490,234,751 245,117,824 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/sda1 d198d9a6-a89d-460b-97f7-5e1c19c7aab9 ext4
/dev/sda2 948CC4478CC42598 ntfs System Reserved
/dev/sda3 D828C73D28C71980 ntfs
/dev/sda4 34CC52D3CC528ECC ntfs
/dev/sda: PTTYPE="dos"
error: /dev/sdb: No medium found
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found

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

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sr0 /media/GParted-live iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, iocharset=utf8,mode=0400,dmode=0500)


=========================== sda1/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 ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
set locale_dir=($root)/boot/grub/locale
set lang=en_CA
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; 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=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=d198d9a6-a89d-460b-97f7-5e1c19c7aab9 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=d198d9a6-a89d-460b-97f7-5e1c19c7aab9 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d198d9a6-a89d-460b-97f7-5e1c19c7aab9 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d198d9a6-a89d-460b-97f7-5e1c19c7aab9 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-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='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d198d9a6-a89d-460b-97f7-5e1c19c7aab9
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/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 948CC4478CC42598
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 ###

=============================== sda1/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/sda1 during installation
UUID=d198d9a6-a89d-460b-97f7-5e1c19c7aab9 / ext4 errors=remount-ro 0 1

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


8.7GB: boot/grub/core.img
39.0GB: boot/grub/grub.cfg
1.1GB: boot/initrd.img-2.6.35-28-generic
2.1GB: boot/initrd.img-2.6.38-8-generic
8.7GB: boot/vmlinuz-2.6.35-28-generic
2.1GB: boot/vmlinuz-2.6.38-8-generic
2.1GB: initrd.img
1.1GB: initrd.img.old
2.1GB: vmlinuz
8.7GB: vmlinuz.old
=======Devices which don't seem to have a corresponding hard drive==============

sdb sdc sdd sde


Thank you,
fjawor

douke
April 17th, 2011, 05:10 PM
Boot Info Script 0.55 dated February 15th, 2010

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

=> Syslinux is installed in the MBR of /dev/sdb
=> Windows is installed in the MBR of /dev/sdc
=> Windows is installed in the MBR of /dev/mapper/isw_bfgjadbdi_Volume0

sdb1: __________________________________________________ _______________________

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

sdc1: __________________________________________________ _______________________

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

sdc2: __________________________________________________ _______________________

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: /ubuntu/winboot/wubildr.mbr /ubuntu/winboot/wubildr
/ubuntu/disks/root.disk /ubuntu/disks/swap.disk

sdc2/Wubi: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Mounting failed:
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


isw_bfgjadbdi_Volume01: __________________________________________________ _______________________

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

isw_bfgjadbdi_Volume02: __________________________________________________ _______________________

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 /wubildr.mbr /wubildr

isw_bfgjadbdi_Volume03: __________________________________________________ _______________________

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 /wubildr.mbr /wubildr

isw_bfgjadbdi_Volume04: __________________________________________________ _______________________

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

isw_bfgjadbdi_Volume05: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector,
isw_bfgjadbdi_Volume05 starts at sector 63.
Operating System:
Boot files/dirs:

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

Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 2034 MB, 2034237440 bytes
81 heads, 25 sectors/track, 1962 cylinders, total 3973120 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 * 1 3,973,119 3,973,119 b W95 FAT32


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 640,013,534 640,013,472 7 HPFS/NTFS
/dev/sdc2 640,013,535 976,768,064 336,754,530 7 HPFS/NTFS


Drive: isw_bfgjadbdi_Volume0 ___________________ __________________________________________________ ___

Disk /dev/mapper/isw_bfgjadbdi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders, total 1953536512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/mapper/isw_bfgjadbdi_Volume01 * 2,048 206,847 204,800 7 HPFS/NTFS
/dev/mapper/isw_bfgjadbdi_Volume02 206,848 614,406,143 614,199,296 7 HPFS/NTFS
/dev/mapper/isw_bfgjadbdi_Volume03 614,406,144 1,228,810,239 614,404,096 7 HPFS/NTFS
/dev/mapper/isw_bfgjadbdi_Volume04 1,228,811,850 1,953,520,064 724,708,215 f W95 Ext d (LBA)
/dev/mapper/isw_bfgjadbdi_Volume05 1,228,811,913 1,953,520,064 724,708,152 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/loop1 1ce8590d-16a9-45b2-abbc-40d904d79adf ext4
/dev/mapper/isw_bfgjadbdi_Volume01 7E04F73D04F6F74D ntfs Δεσμευμένο από το σύστημα
/dev/mapper/isw_bfgjadbdi_Volume02 B680FBD180FB9659 ntfs
/dev/mapper/isw_bfgjadbdi_Volume03 3C7676CF76768A02 ntfs NEW
/dev/mapper/isw_bfgjadbdi_Volume05 8624175C24174F15 ntfs DATA
/dev/mapper/isw_bfgjadbdi_Volume0: PTTYPE="dos"
/dev/sda isw_raid_member
/dev/sdb1 401E-15E2 vfat KINGSTON
/dev/sdb: PTTYPE="dos"
/dev/sdc1 BA48D7F748D7B07D ntfs Νέος τόμος
/dev/sdc2 1E7E78757E784793 ntfs ubudu
/dev/sdc: PTTYPE="dos"
/dev/sdd isw_raid_member
error: /dev/mapper/isw_bfgjadbdi_Volume04: No such file or directory

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
isw_bfgjadbdi_Volume0
isw_bfgjadbdi_Volume01
isw_bfgjadbdi_Volume02
isw_bfgjadbdi_Volume03
isw_bfgjadbdi_Volume05

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

Device Mount_Point Type Options

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

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

Unknown BootLoader on isw_bfgjadbdi_Volume04



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

hexdump: /dev/mapper/isw_bfgjadbdi_Volume04: No such file or directory
hexdump: /dev/mapper/isw_bfgjadbdi_Volume04: No such file or directory

Wanas
April 29th, 2011, 09:23 AM
Im having the same problem
plz fast help :'(

kansasnoob
April 29th, 2011, 11:22 AM
@ Wanas and douke,

Please start your own threads and take time to briefly explain your own specific problems.

There are too many variants between machines to provide a one-size-fits-all explanation, and posting multiple Boot Info Script outputs only serves to create confusion - both for those trying to help and to the OP.

Thanks :)

kansasnoob
April 29th, 2011, 11:48 AM
@ fjawor,

I don't see anything obvious wrong there, but let's first try something simple. While booted into Ubuntu run:


sudo update-grub

You'd also be doing me a big favor if you'd try a newer version of the Boot Info Script by running:


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=HEAD'

That will place the latest development version of BIS in your home folder, so if you then run:


sudo bash boot_info_script.sh RESULTS_NEW.txt

You should then find a new file titled "RESULTS_NEW.txt" in your home folder.

That probably won't actually help us help you in this particular situation but I want to see if this description improves:


Grub 2 is installed in the MBR of /dev/sda and looks for +e.



Thanks in advance.

kansasnoob
April 29th, 2011, 11:55 AM
Im having the same problem
plz fast help :'(

Duh, I just now realized that the OP originated 2 weeks ago :confused:

Another reason it's best to start a new thread explaining your specific problem, but please do include the output of the Boot Info Script.