Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: Iljusin 02 Května 2010, 17:15:13

Název: Po aktualizaci na LL nejde dualboot (Windows XP) [vyřešeno]
Přispěvatel: Iljusin 02 Května 2010, 17:15:13
Po aktualizaci z KK na LL už nedokážu nabootovat do XP. V tabulce grubu windows XP mám, ale po jejich zvolení se na chvíli objeví černá obrazovka a pak mě to kopne zpátky do tabulky s výběrem OS. Zatím jsem bez úspěchu zkoušel návod na obnovu Grub2 na wiki a i fixmbr z CD Windows. Je mi navíc divné, že mi update-grub2 najde jádro 2.6.31.21 i když h v Synapticu nevidím. Widows mám na sda2 a systémový oddíl Ubuntu je na sda7

Toto je výstup z fdisk -l:
Kód: [Vybrat]
Zařízení Zavádět   Začátek       Konec    Bloky    Id  Systém
/dev/sda1               1          11       88326   de  Dell Utility
/dev/sda2   *          12        2637    21093345    7  HPFS/NTFS
/dev/sda3            2638        9337    53817750    f  W95 Rozš. (LBA)
/dev/sda4            9338        9729     3148740   db  CP/M / CTOS / …
/dev/sda5            2638        4300    13358016    7  HPFS/NTFS
/dev/sda6            4301        4848     4401778+  83  Linux
/dev/sda7            4849        6773    15462531   83  Linux
/dev/sda8            6774        7085     2506108+  82  Linux swap/Solaris
/dev/sda9            7086        9076    15992676    7  HPFS/NTFS
/dev/sda10           9077        9337     2096451   dd  Neznámý

Todo je výstup z boot_info_script:

Kód: [Vybrat]
               Boot Info Script 0.55    dated February 15th, 2010                    

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

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

sda1: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Dell Utility: Fat16
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /COMMAND.COM

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda2 and
                       looks at sector 78203319 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location. No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files/dirs:   /boot.ini /ntldr /NTDETECT.COM

sda3: _________________________________________________________________________

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

sda5: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda5 and
                       looks at sector 78203319 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location. According to the info in the boot sector,
                       sda5 starts at sector 63.
    Operating System:  
    Boot files/dirs:  

sda6: _________________________________________________________________________

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

sda7: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub 2
    Boot sector info:  Grub 2 is installed in the boot sector of sda7 and
                       looks at sector 78203319 of the same hard drive for
                       core.img, but core.img can not be found at this
                       location.
    Operating System:  Ubuntu 10.04 LTS
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda8: _________________________________________________________________________

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

sda9: _________________________________________________________________________

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

sda10: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows XP: Fat32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files/dirs:   /boot.ini /bootmgr /ntldr /NTDETECT.COM

sda4: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  DEll Recovery: Fat32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files/dirs:   /COMMAND.COM

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 80,0 GB, 80 026 361 856 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 9 729, celkem 156 301 488 sektorů
Jednotky = sektory po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů

Partition  Boot         Start           End          Size  Id System

/dev/sda1                  63       176,714       176,652  de Dell Utility
/dev/sda2    *        176,715    42,363,404    42,186,690   7 HPFS/NTFS
/dev/sda3          42,363,405   149,998,904   107,635,500   f W95 Ext d (LBA)
/dev/sda5          42,363,468    69,079,499    26,716,032   7 HPFS/NTFS
/dev/sda6          69,079,563    77,883,119     8,803,557  83 Linux
/dev/sda7          77,883,183   108,808,244    30,925,062  83 Linux
/dev/sda8         108,808,308   113,820,524     5,012,217  82 Linux swap / Solaris
/dev/sda9         113,820,588   145,805,939    31,985,352   7 HPFS/NTFS
/dev/sda10        145,806,003   149,998,904     4,192,902  dd Dell Media Direct
/dev/sda4         149,998,905   156,296,384     6,297,480  db CP/M / CTOS / ...


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                        

/dev/sda: PTTYPE="dos"
/dev/sda10       07D6-0C0C                              vfat       MEDIADIRECT                  
/dev/sda1        07D6-0C0C                              vfat       DellUtility                  
/dev/sda2        8C8CAFC18CAFA464                       ntfs                                    
/dev/sda3: PTTYPE="dos"
/dev/sda4                                               vfat       DellRestore                  
/dev/sda5        12E5716D75D7F159                       ntfs       Data                          
/dev/sda6        ee363036-718d-4740-b0cd-2be7ae8983b2   ext4                                    
/dev/sda7        1cc0c1e3-8621-4beb-8851-a4199b385f36   ext4                                    
/dev/sda8        fa473edc-867b-420d-8dfd-5de4aaf6c0e4   swap                                    
/dev/sda9        13024A6CC3E17231                       ntfs       compress                      

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

Device           Mount_Point              Type       Options

/dev/sda7        /                        ext4       (rw)
/dev/sda6        /home                    ext4       (rw)
/dev/sda5        /media/Data              fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda9        /media/compress          fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)


================================ sda2/boot.ini: ================================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn


=========================== sda7/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
  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
}
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
set locale_dir=($root)/boot/grub/locale
set lang=cs
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.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=1cc0c1e3-8621-4beb-8851-a4199b385f36 ro   quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=1cc0c1e3-8621-4beb-8851-a4199b385f36 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=1cc0c1e3-8621-4beb-8851-a4199b385f36 ro   quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.31-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
echo 'Loading Linux 2.6.31-21-generic ...'
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=1cc0c1e3-8621-4beb-8851-a4199b385f36 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.31-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1cc0c1e3-8621-4beb-8851-a4199b385f36
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Dell Utility Partition (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 07d6-0c0c
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Embedded (on /dev/sda10)" {
insmod fat
set root='(hd0,10)'
search --no-floppy --fs-uuid --set 07d6-0c0c
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 8c8cafc18cafa464
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
#menuentry "Dell Utility Partition" {
# set root=(hd0,1)
# search --no-floppy --fs-uuid --set 07d6-0c0c
# chainloader +1
#}

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda10
#menuentry "Microsoft Windows XP Embedded" {
# set root=(hd0,10)
# search --no-floppy --fs-uuid --set 07d6-0c0c
# drivemap -s (hd0) $root
# chainloader +1
#}

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
#menuentry "Microsoft Windows XP Professional" {
# set root=(hd0,2)
# search --no-floppy --fs-uuid --set 8c8cafc18cafa464
# drivemap -s (hd0) $root
# chainloader +1
#}
### END /etc/grub.d/30_otheros ###

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

=============================== sda7/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# Entry for /dev/sda8 :
UUID=fa473edc-867b-420d-8dfd-5de4aaf6c0e4 swap swap sw 0 0
# Entry for /dev/sda6 :
UUID=ee363036-718d-4740-b0cd-2be7ae8983b2 /home ext4 defaults 0 2
# Entry for /dev/sda7 :
UUID=1cc0c1e3-8621-4beb-8851-a4199b385f36 / ext4 defaults 0 1
/dev/sda5 /media/Data ntfs-3g defaults,locale=cs_CZ.UTF-8 0 0
/dev/sda9 /media/compress ntfs-3g defaults,locale=cs_CZ.UTF-8 0 0
/dev/sda2 /media/windows ntfs-3g defaults,locale=cs_CZ.UTF-8 0 0

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


  40.0GB: boot/grub/core.img
  40.7GB: boot/grub/grub.cfg
  52.4GB: boot/initrd.img-2.6.31-21-generic
  47.8GB: boot/initrd.img-2.6.32-22-generic
  53.9GB: boot/vmlinuz-2.6.31-21-generic
  50.4GB: boot/vmlinuz-2.6.32-22-generic
  47.8GB: initrd.img
  52.4GB: initrd.img.old
  50.4GB: vmlinuz
  53.9GB: vmlinuz.old

=============================== sda10/boot.ini: ===============================

[boot loader]

timeout=0

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Embedded" /fastdetect /KERNEL=NTOSBOOT.EXE /maxmem=768

Nevíte někdo co s tím?
Název: Re: Po aktualizaci na LL nejde dualboot (Windows XP)
Přispěvatel: arrange 02 Května 2010, 19:27:45
Mrkni se na
http://forum.ubuntu.cz/index.php/topic,46380.new.html
Název: Re: Po aktualizaci na LL nejde dualboot (Windows XP)
Přispěvatel: Iljusin 02 Května 2010, 20:22:04
Díky - vyřešeno