Skip to main content

Thread: Grub 2 XP/Ubuntu 10.10 Issue (Blank screen on Windows boot)


howdy,

friend of mine had xp install , ubuntu 10.10 dual booting using grub 2. tried extend partition xp take unallocated hd space, went terribly terribly wrong. trying remedy right now. got ubuntu cooperating again after re-install 'alongside os' option.

grub 2 recognizes 2 os's installed, when xp selected blanks screen , reloads grub2 os selection screen. idea? attempts fix mbr via windows disc have result in bsod on reinstall disc's attempt load. new fiddling ubuntu, trying out friend. here results.txt boot info script:

code:
                  boot info script 0.60    17 may 2011   ============================= boot info summary: ===============================   => grub2 (v1.97-1.98) installed in mbr of /dev/sda , looks @ sector      1 of same hard drive core.img. core.img @ location ,      looks in partition 7 (,msdos7)/boot/grub.  sda1: __________________________________________________________________________      file system:       ntfs     boot sector type:  grub2 (v1.97-1.98)     boot sector info:   grub2 (v1.97-1.98) installed in boot sector of                         sda1 , looks @ sector 118896455 of same hard                         drive core.img. core.img @ location ,                         looks in partition 1 (,msdos1)/boot/grub.                         according info in boot sector, sda1 has                         395431846 sectors, according info                         fdisk, has 395439911 sectors.     operating system:  windows xp     boot files:        /boot/grub/grub.cfg /boot.ini /ntldr /ntdetect.com                         /boot/grub/core.img  sda2: __________________________________________________________________________      file system:       extended partition     boot sector type:  unknown     boot sector info:    sda5: __________________________________________________________________________      file system:       ntfs     boot sector type:  windows xp     boot sector info:   according info in boot sector, sda5 starts                         @ sector 2. according info fdisk,                         sda5 starts @ sector 395448695.     operating system:       boot files:          sda6: __________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    sda7: __________________________________________________________________________      file system:       ext4     boot sector type:  -     boot sector info:       operating system:  ubuntu 10.10     boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img  sda8: __________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    ============================ drive/partition info: =============================  drive: sda _____________________________________________________________________  disk /dev/sda: 250.1 gb, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes  partition  boot  start sector    end sector  # of sectors  id system  /dev/sda1    *             63   395,439,974   395,439,912   7 ntfs / exfat / hpfs /dev/sda2         395,448,693   488,396,799    92,948,107   f w95 extended (lba) /dev/sda5         395,448,695   427,421,179    31,972,485  83 linux /dev/sda6         475,650,048   488,396,799    12,746,752  82 linux swap / solaris /dev/sda7         427,421,696   473,546,751    46,125,056  83 linux /dev/sda8         473,548,800   475,635,711     2,086,912  82 linux swap / solaris   "blkid" output: ________________________________________________________________  device           uuid                                   type       label  /dev/sda1        180c57ca0c57a214                       ntfs        /dev/sda5        0f5404910f540491                       ntfs       e2 /dev/sda6        4dac0ce6-9366-4b76-b95a-494ce9b5859e   swap        /dev/sda7        06ced363-7ad0-43f5-ad62-557ab726d79f   ext4        /dev/sda8        d072cdd9-e57d-4334-827d-68d14bb9b0b6   swap         ================================ mount points: =================================  device           mount_point              type       options  /dev/sda7        /                        ext4       (rw,errors=remount-ro,commit=0)   =========================== sda1/boot/grub/grub.cfg: ===========================  -------------------------------------------------------------------------------- # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub #  ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ];   set have_grubenv=true   load_env fi set default="0" if [ "${prev_saved_entry}" ];   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}" ];     saved_entry="${chosen}"     save_env saved_entry   fi }  function recordfail {   set recordfail=1   if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi }  function load_video {   insmod vbe   insmod vga }  insmod part_msdos insmod ext2 set root='(hd0,msdos7)' search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f if loadfont /usr/share/grub/unicode.pf2 ;   set gfxmode=640x480   load_video   insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos7)' search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext if [ "${recordfail}" = 1 ];   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, linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     insmod part_msdos     insmod ext2     set root='(hd0,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux    /boot/vmlinuz-2.6.35-22-generic root=uuid=06ced363-7ad0-43f5-ad62-557ab726d79f ro   quiet splash     initrd    /boot/initrd.img-2.6.35-22-generic } menuentry 'ubuntu, 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,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     echo    'loading linux 2.6.35-22-generic ...'     linux    /boot/vmlinuz-2.6.35-22-generic root=uuid=06ced363-7ad0-43f5-ad62-557ab726d79f 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,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux16    /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" {     insmod part_msdos     insmod ext2     set root='(hd0,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux16    /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ###  ### begin /etc/grub.d/30_os-prober ### menuentry "microsoft windows xp professional (on /dev/sda1)" {     insmod part_msdos     insmod ntfs     set root='(hd0,msdos1)'     search --no-floppy --fs-uuid --set 180c57ca0c57a214     drivemap -s (hd0) ${root}     chainloader +1 } ### end /etc/grub.d/30_os-prober ###  ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries.  type # menu entries want add after comment.  careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ###  ### begin /etc/grub.d/41_custom ### if [ -f  $prefix/custom.cfg ];   source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### --------------------------------------------------------------------------------  ================================ sda1/boot.ini: ================================  -------------------------------------------------------------------------------- [boot loader]  timeout=30  default=multi(0)disk(0)rdisk(0)partition(1)\windows  [operating systems]  multi(0)disk(0)rdisk(0)partition(1)\windows="microsoft windows xp professional" /noexecute=optin /fastdetect  --------------------------------------------------------------------------------  =================== sda1: location of files loaded grub: ====================             gib - gb             file                                 fragment(s)              ?? = ??             boot/grub/core.img                             1             ?? = ??             boot/grub/grub.cfg                             1             ?? = ??             boot/initrd.img-2.6.35-22-generic              1             ?? = ??             boot/vmlinuz-2.6.35-22-generic                 1  =========================== sda7/boot/grub/grub.cfg: ===========================  -------------------------------------------------------------------------------- # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub #  ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ];   set have_grubenv=true   load_env fi set default="0" if [ "${prev_saved_entry}" ];   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}" ];     saved_entry="${chosen}"     save_env saved_entry   fi }  function recordfail {   set recordfail=1   if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi }  function load_video {   insmod vbe   insmod vga }  insmod part_msdos insmod ext2 set root='(hd0,msdos7)' search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f if loadfont /usr/share/grub/unicode.pf2 ;   set gfxmode=640x480   load_video   insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos7)' search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext if [ "${recordfail}" = 1 ];   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, linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     insmod part_msdos     insmod ext2     set root='(hd0,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux    /boot/vmlinuz-2.6.35-22-generic root=uuid=06ced363-7ad0-43f5-ad62-557ab726d79f ro   quiet splash     initrd    /boot/initrd.img-2.6.35-22-generic } menuentry 'ubuntu, 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,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     echo    'loading linux 2.6.35-22-generic ...'     linux    /boot/vmlinuz-2.6.35-22-generic root=uuid=06ced363-7ad0-43f5-ad62-557ab726d79f 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,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux16    /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" {     insmod part_msdos     insmod ext2     set root='(hd0,msdos7)'     search --no-floppy --fs-uuid --set 06ced363-7ad0-43f5-ad62-557ab726d79f     linux16    /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ###  ### begin /etc/grub.d/30_os-prober ### menuentry "microsoft windows xp professional (on /dev/sda1)" {     insmod part_msdos     insmod ntfs     set root='(hd0,msdos1)'     search --no-floppy --fs-uuid --set 180c57ca0c57a214     drivemap -s (hd0) ${root}     chainloader +1 } ### end /etc/grub.d/30_os-prober ###  ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries.  type # menu entries want add after comment.  careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ###  ### begin /etc/grub.d/41_custom ### if [ -f  $prefix/custom.cfg ];   source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### --------------------------------------------------------------------------------  =============================== sda7/etc/fstab: ================================  -------------------------------------------------------------------------------- # /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' print universally unique identifier # device; may used uuid= more robust way name # devices works if disks added , removed. see fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> proc            /proc           proc    nodev,noexec,nosuid 0       0 # / on /dev/sda7 during installation uuid=06ced363-7ad0-43f5-ad62-557ab726d79f /               ext4    errors=remount-ro 0       1 # swap on /dev/sda8 during installation uuid=d072cdd9-e57d-4334-827d-68d14bb9b0b6 none            swap    sw              0       0 --------------------------------------------------------------------------------  =================== sda7: location of files loaded grub: ====================             gib - gb             file                                 fragment(s)   217.999378204 = 234.075049984  boot/grub/core.img                             1  208.057067871 = 223.399575552  boot/grub/grub.cfg                             1  204.716796875 = 219.812986880  boot/initrd.img-2.6.35-22-generic              2  218.004714966 = 234.080780288  boot/vmlinuz-2.6.35-22-generic                 1  204.716796875 = 219.812986880  initrd.img                                     2  218.004714966 = 234.080780288  vmlinuz                                        1  ======================== unknown mbrs/boot sectors/etc: ========================  unknown bootloader on sda2  00000000  34 03 19 c4 81 40 50 46  d0 92 d4 2a c5 ca 31 41  |4....@pf...*..1a| 00000010  42 94 cc 29 04 cf 1a 01  9d 43 67 4c 32 43 52 75  |b..).....cgl2cru| 00000020  2a 15 5e c9 85 e0 84 30  22 07 0a bc 26 0c e1 50  |*.^....0"...&..p| 00000030  71 67 0f ab 66 a5 a8 4b  71 24 02 80 b9 bb 45 c2  |qg..f..kq$....e.| 00000040  12 9c c9 99 99 14 20 80  08 00 00 00 2c c4 02 50  |...... .....,..p| 00000050  03 31 93 33 22 82 33 32  41 99 49 9c c4 99 41 70  |.1.3".32a.i...ap| 00000060  83 25 4d a0 76 94 95 b8  12 31 32 29 32 11 c8 70  |.%m.v....12)2..p| 00000070  57 f7 c9 34 88 0a c3 19  70 96 20 61 26 61 90 07  |w..4....p. a&a..| 00000080  3b 9c cd 89 43 29 45 8b  50 65 ca b9 e4 30 c6 5d  |;...c)e.pe...0.]| 00000090  b2 4c 17 f3 e1 b0 48 a2  0a aa 8a 5c 28 a0 35 a5  |.l....h....\(.5.| 000000a0  10 8c 31 23 d4 52 18 51  29 2c 43 10 1e 19 99 99  |..1#.r.q),c.....| 000000b0  39 33 a6 bb b8 25 73 10  09 43 29 a7 4b 38 8b a6  |93...%s..c).k8..| 000000c0  68 44 4a a6 28 83 38 3d  44 53 94 0b 44 99 cf c6  |hdj.(.8=ds..d...| 000000d0  c7 ee b0 40 46 ce 0c 01  04 19 59 2c cb 2a 56 d4  |...@f.....y,.*v.| 000000e0  ba d1 70 a2 d4 4c 69 1c  8d fd 88 1a 59 a4 4a 2b  |..p..li.....y.j+| 000000f0  5c 85 58 a9 8f 51 66 1f  1a 5e 22 86 61 98 05 f5  |\.x..qf..^".a...| 00000100  40 26 71 20 d9 99 1c a1  11 c2 a4 c9 a2 2c 2c 5c  |@&q .........,,\| 00000110  28 0b 87 79 95 28 29 95  b4 56 79 6c fa f8 3e 79  |(..y.()..vyl..>y| 00000120  1a 13 b2 22 32 45 c1 96  42 60 d1 7d c8 3e a7 9c  |..."2e..b`.}.>..| 00000130  26 15 60 82 a8 47 b1 18  7c 0e ae 0c 50 66 90 27  |&.`..g..|...pf.'| 00000140  84 6b e1 5a 08 95 30 e0  20 4b 22 67 52 c8 20 6e  |.k.z..0. k"gr. n| 00000150  34 85 c6 18 7c 4c e2 90  92 22 e2 a1 16 9e ec 61  |4...|l...".....a| 00000160  c4 3b d1 42 ce 64 c3 8a  99 36 65 56 42 40 32 99  |.;.b.d...6evb@2.| 00000170  66 d2 18 86 6e 49 40 00  ca 1a 22 15 04 10 11 0b  |f...ni@...".....| 00000180  f1 52 dc 8b cd 29 34 19  94 c1 29 44 60 30 88 40  |.r...)4...)d`0.@| 00000190  16 36 c3 90 8b a1 35 f2  95 0c 64 4c 76 38 1d 81  |.6....5...dlv8..| 000001a0  42 6d a1 c6 d2 43 ce e9  95 a3 54 9a 4e c3 9c 86  |bm...c....t.n...| 000001b0  a3 10 11 51 84 7a ea d2  ec da ec de 65 74 00 fe  |...q.z......et..| 000001c0  ff ff 83 fe ff ff 02 00  00 00 85 dc e7 01 00 fe  |................| 000001d0  ff ff 05 fe ff ff 72 91  c7 04 19 b5 c2 00 00 00  |......r.........| 000001e0  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
any appreciated.

thanks

-aaron

you have grub2 installed windows ntfs partition boot sector. has contain windows boot code part of winodws booting.

have /boot/grub files/folders in root of xp. can delete those. think win7 has /boot folder can confused /boot windows not case sensitive.

fix most, few have other issues, better windows fix in many cases fixes other parameters:
has instructions on using testdisk repair install of grub boot sector windows ubuntu or linux livecd.
http://sourceforge.net/apps/mediawik...ms:boot_sector

can run windows fixboot command if backup destroyed also.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Grub 2 XP/Ubuntu 10.10 Issue (Blank screen on Windows boot)


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support