help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

booting in winxp once makes booting in ubuntu impossible


From: David Stephan Rudolf Kesselheim
Subject: booting in winxp once makes booting in ubuntu impossible
Date: Wed, 26 Oct 2011 18:47:26 +0200

Hi,

im new to this mailing list stuff so please forgive me if i am doing anything 
wrong.

My Problem:

When i sat up my current configuration (multiboot Kubuntu 10.04 and winxp) i 
didnt boot into windows again until the day before yesterday.
I chose the WinXP option in Grub2 and it showed the winxp screen for a 
millisecond. After that I was back to grub again. So i retried and this time it 
worked. I played a little time around and then i wanted to reboot into Ubuntu. 
But that didnt work, all that happened was that i saw a black screen and that 
was it. Since then i tried to use my ubuntu again. I hope that somebody here is 
able to help me. I already chrooted into the system several times and 
reinstalled grub2 with no success.

Here is some output that might help troubleshooting:

address@hidden:~/boot-info-script$ cat RESULTS.txt 
                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for  on this drive.

sda1: __________________________________________________________________________

    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:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info:  
    Mounting failed:   mount: unknown filesystem type ''

sda7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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    *          2,048   122,527,743   122,525,696   7 NTFS / exFAT / 
HPFS
/dev/sda2         122,527,744   174,403,583    51,875,840  83 Linux
/dev/sda3         174,405,630 1,250,263,039 1,075,857,410   5 Extended
/dev/sda5         174,405,632   247,564,287    73,158,656  83 Linux
/dev/sda6         247,566,336 1,236,541,439   988,975,104   7 NTFS / exFAT / 
HPFS
/dev/sda7       1,236,543,488 1,250,263,039    13,719,552  82 Linux swap / 
Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        70C7C91C338F56B3                       ntfs       windows
/dev/sda2        158225e1-6660-4c3a-ad23-2369f276e850   ext4       
/dev/sda5        59dbd3ed-8a4b-45fc-8ff2-9bd0d7190d9b   ext4       
/dev/sda7        2b7cc2f7-6d9e-45dd-bdbe-e3e314877035   swap       

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda2        /mnt                     ext4       (rw)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


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

=========================== sda2/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='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 158225e1-6660-4c3a-ad23-2369f276e850
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1366x768-24
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos2)'
  search --no-floppy --fs-uuid --set=root 158225e1-6660-4c3a-ad23-2369f276e850
  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=2
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 ###
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-12-generic' --class ubuntu --class 
gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        linux   /boot/vmlinuz-3.0.0-12-generic 
root=UUID=158225e1-6660-4c3a-ad23-2369f276e850 ro   acpi_backlight=vendor
        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 {
        recordfail
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        echo    'Loading Linux 3.0.0-12-generic ...'
        linux   /boot/vmlinuz-3.0.0-12-generic 
root=UUID=158225e1-6660-4c3a-ad23-2369f276e850 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.0.0-12-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class 
gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        linux   /boot/vmlinuz-2.6.38-11-generic 
root=UUID=158225e1-6660-4c3a-ad23-2369f276e850 ro   acpi_backlight=vendor
        initrd  /boot/initrd.img-2.6.38-11-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-11-generic (recovery mode)' --class ubuntu 
--class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        echo    'Loading Linux 2.6.38-11-generic ...'
        linux   /boot/vmlinuz-2.6.38-11-generic 
root=UUID=158225e1-6660-4c3a-ad23-2369f276e850 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.38-11-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,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos2)'
        search --no-floppy --fs-uuid --set=root 
158225e1-6660-4c3a-ad23-2369f276e850
        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)" --class windows 
--class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set=root 70C7C91C338F56B3
        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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=158225e1-6660-4c3a-ad23-2369f276e850 /               ext4    
errors=remount-ro,noatime 0       1
# /home was on /dev/sda5 during installation
UUID=59dbd3ed-8a4b-45fc-8ff2-9bd0d7190d9b /home           ext4    
defaults,noatime        0       2
# /media/intern was on /dev/sda6 during installation
#UUID=3B3D3CF9442D96EE /media/intern   ntfs    
defaults,umask=007,gid=1000,uid=1000 0       0
# swap was on /dev/sda7 during installation
#UUID=96ccd198-98ab-41be-871b-18f168916eb1 none            swap    sw           
   0       0
#/dev/mapper/cryptswap1 none swap sw 0 0
UUID=2b7cc2f7-6d9e-45dd-bdbe-e3e314877035 none            swap    sw            
  0       0
tmpfs   /tmp   tmpfs   defaults   0   0
/dev/externe1   /media/externe1     ntfs  
rw,user,noauto,uid=0,gid=46,umask=007,nls=utf8                00
# usb nach virtualbox durchschleifen
#none /mnt/vm-usb usbfs noauto,devgid=<id vboxusers>,devmode=664 0 0



--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  60.900493622 = 65.391407104   boot/grub/core.img                             1
  60.900501251 = 65.391415296   boot/grub/grub.cfg                             1
  77.306770325 = 83.007512576   boot/initrd.img-2.6.38-11-generic              3
  64.124153137 = 68.852785152   boot/initrd.img-3.0.0-12-generic               1
  63.828433990 = 68.535259136   boot/vmlinuz-2.6.38-11-generic                 1
  61.187934875 = 65.700044800   boot/vmlinuz-3.0.0-12-generic                  2
  77.306770325 = 83.007512576   initrd.img.old                                 3
  61.187934875 = 65.700044800   vmlinuz                                        2
  63.828433990 = 68.535259136   vmlinuz.old                                    1

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

Unknown BootLoader on sda6

00000000  d6 31 d6 c2 0e f4 8d 9d  10 ae 13 c2 aa 5f ce c2  |.1..........._..|
00000010  0e 67 46 67 3a 78 68 f5  a0 f0 04 7d 74 e2 5a 13  |.gFg:xh....}t.Z.|
00000020  86 cf b6 76 a7 bd 1c e4  62 ea 53 29 d7 12 a9 97  |...v....b.S)....|
00000030  71 48 1a e6 f7 9b d2 71  27 0b 76 e4 c4 de 07 9a  |qH.....q'.v.....|
00000040  1b 43 39 53 cc 06 39 0c  0e 56 fd 6e 01 ab cc 16  |.C9S..9..V.n....|
00000050  67 ad e2 95 77 50 07 fe  ef b6 ca 9c 9d 31 58 dc  |g...wP.......1X.|
00000060  cb fc d2 38 a1 d1 fe d7  c6 fa e9 44 ad 86 3a 7c  |...8.......D..:||
00000070  6e 98 bf 8b 11 c1 69 bc  d8 d8 ae f3 f2 5c 48 ba  |n.....i......\H.|
00000080  75 6e ef 35 52 5c a6 c8  7e 12 50 dd 36 28 42 2c  |un.5R\..~.P.6(B,|
00000090  40 d5 85 31 cc 27 2e d2  e7 00 79 30 41 8e 31 e3  |@..1.'....y0A.1.|
000000a0  86 be 3a 7f 3b b6 86 6a  43 97 93 57 ce 40 3f 18  
|..:.;address@hidden|
000000b0  c3 c0 17 c7 0c ab 99 60  8e 6c 3f 48 b5 68 bc e1  |.......`.l?H.h..|
000000c0  c1 60 9a cc 95 82 73 2a  df 6b 68 ab 4e 39 47 30  |.`....s*.kh.N9G0|
000000d0  8b eb 90 33 14 9a ce 07  6f bc 39 0a a3 1f 94 94  |...3....o.9.....|
000000e0  6a d1 19 c1 f3 3a 85 36  5a cd 41 d3 9a 30 e9 8b  |j....:.6Z.A..0..|
000000f0  70 ed ec 06 1f b8 05 0e  bc a3 8b 87 e9 2b 63 7c  |p............+c||
00000100  5d 76 20 60 f0 be b5 bc  14 6a d9 37 7c 6f 5a ee  |]v `.....j.7|oZ.|
00000110  d9 da 99 b2 a3 fc b3 32  77 f6 82 11 93 95 1d 88  |.......2w.......|
00000120  f7 90 b6 f9 65 3d 76 9b  9b 99 a9 eb 04 a0 d7 fb  |....e=v.........|
00000130  bb cf 6a 90 5a 07 29 a8  e4 3b 61 70 88 c6 1d 7e  |..j.Z.)..;ap...~|
00000140  bf ba 42 71 4d 34 a1 c2  35 ac e5 cb 22 0a d4 36  |..BqM4..5..."..6|
00000150  6b 97 9f a9 60 3e e1 90  76 64 f9 8d f7 16 56 05  |k...`>..vd....V.|
00000160  15 17 2c f4 50 c0 e6 3e  71 25 8d da 63 14 fd eb  |..,.P..>q%..c...|
00000170  27 56 d6 c0 f2 ea 1e e4  f3 95 7b 18 3f d2 31 bd  |'V........{.?.1.|
00000180  16 bc be e9 09 44 3e a8  3f 0f 68 ad 69 04 cf f5  |.....D>.?.h.i...|
00000190  14 15 47 9a 56 e0 69 5d  b5 96 4e 45 01 f5 74 a5  |..G.V.i]..NE..t.|
000001a0  80 1f f2 69 51 1e a8 a0  73 91 c5 cf c6 bc 0a 31  |...iQ...s......1|
000001b0  13 0c f5 af b1 12 cb d6  87 3f 87 ea c4 d4 5d d5  |.........?....].|
000001c0  ac 5f d6 5d 65 fa 7e 14  3e 9d cf 99 ae a2 4c ed  |._.]e.~.>.....L.|
000001d0  34 cb ec 6e 38 56 10 df  fa 82 81 d7 2c eb 7c de  |4..n8V......,.|.|
000001e0  1c 88 f4 24 9e 9c 2d a1  38 93 9e 61 40 a3 6e 65  |address@hidden|
000001f0  a7 4e 6c c5 98 fb 7e 56  85 fc 93 21 63 4d b9 e7  |.Nl...~V...!cM..|
00000200


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

unlzma: Decoder error

address@hidden:~/boot-info-script$ 

I am sorry for the lenght. Please note that sda6 is encrypted by truecrypt (not 
a file, the whole device) and that my home partition is on sda3. The Laptop I 
am using is a Samsung rv520-s05de which uses efi afaik.

Thank you for any help! 

Kind regards, kiesel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]