Bonjour,
Aprés une install sur XP, qui doit servir à travailler avec des logiciels privateur (adobe...), je n'arrive plus à booter Windows...
Je sais ce n'est pas bien d'installer une beta en environnement de travail...Mais je n'avais pas envie de faire une mise à niveau de Karmic vers Lucid dans trois semaines.
Je vous explique mon parcours :
L'install était fraiche de Windows et mon frère, je ne sais pas si c'etait intentionnel mais il à mis les fichiers de boot Windows sur une autre partition que la partition racine de Windows.
soit cet structure, imprimé depuis ce trés bon script :
http://forum.ubuntu-fr.org/viewtopic.php?pid=3226641#p3226641
/dev/sda1 16,065 204,796,619 204,780,555 f W95 Ext d (LBA)
/dev/sda5 * 16,128 102,398,309 102,382,182 7 HPFS/NTFS
/dev/sda6 102,398,373 122,672,339 20,273,967 83 Linux
/dev/sda7 122,672,403 204,796,619 82,124,217 b W95 FAT32
/dev/sda2 204,796,620 214,885,439 10,088,820 7 HPFS/NTFS
/dev/sda3 214,885,440 625,137,344 410,251,905 83 Linux
L'indicateur de boot je l'ai déplacé, il était sur sda2 (C:). Le fichier boot.ini pointait vers sda5 (D:) là ou est installé /WINDOWS
J'ai redimentionner sda2 qui faisait la totalité de la fin du disque soit 200Go, mais sentant le mauvais coup, et voyant les fichiers de boot windows, je ne l'ai pas suprimé.
Le problème vient peut-être de là, grub2 ou ntldr n'arrive pas à lancé windows sur une partition étendue, ou alors ntldr, n'a pas aimé le redimentionnement...
Grub2 voit deux install Windows, car j'ai copié sauvagement les fichier de boot (boot.ini, ntldr, ntdetect.com), vers sda5...
Bref tout est encore un place, donc récupérable je pense...
Vailà la sortie complète du 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 on the same drive in
partition #6 for /boot/grub.
sda1: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda6: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu lucid (development
branch)
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda7: _________________________________________________________________________
File system: vfat
Boot sector type: Fat32
Boot sector info: According to the info in the boot sector, sda7 starts
at sector 0. But according to the info from fdisk,
sda7 starts at sector 122672403.
Operating System:
Boot files/dirs:
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sda3: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disque /dev/sda: 320.1 Go, 320072933376 octets
255 têtes, 63 secteurs/piste, 38913 cylindres, total 625142448 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 16,065 204,796,619 204,780,555 f W95 Ext d (LBA)
/dev/sda5 * 16,128 102,398,309 102,382,182 7 HPFS/NTFS
/dev/sda6 102,398,373 122,672,339 20,273,967 83 Linux
/dev/sda7 122,672,403 204,796,619 82,124,217 b W95 FAT32
/dev/sda2 204,796,620 214,885,439 10,088,820 7 HPFS/NTFS
/dev/sda3 214,885,440 625,137,344 410,251,905 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1: PTTYPE="dos"
/dev/sda2 6EACCA11ACC9D3AD ntfs
/dev/sda3 ac5d9606-c904-4ad5-9c44-79057e95d8c2 ext4
/dev/sda5 3ED44E80D44E3B03 ntfs
/dev/sda6 cc3a9835-a3b1-4a2f-a9d4-1688319ea05b ext4
/dev/sda7 458D-663A vfat
/dev/sda: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda6 / ext4 (rw,errors=remount-ro)
/dev/sda3 /home ext4 (rw)
================================ sda5/boot.ini: ================================
[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
=========================== sda6/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='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
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='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
set locale_dir=($root)/boot/grub/locale
set lang=fr
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, avec Linux 2.6.32-19-generic" --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
linux /boot/vmlinuz-2.6.32-19-generic root=UUID=cc3a9835-a3b1-4a2f-a9d4-1688319ea05b ro quiet splash
initrd /boot/initrd.img-2.6.32-19-generic
}
menuentry "Ubuntu, avec Linux 2.6.32-19-generic (mode de récupération)" --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
echo Chargement de Linux 2.6.32-19-generic ...
linux /boot/vmlinuz-2.6.32-19-generic root=UUID=cc3a9835-a3b1-4a2f-a9d4-1688319ea05b ro single
echo Chargement du disque mémoire initial...
initrd /boot/initrd.img-2.6.32-19-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(/dev/sda,6)'
search --no-floppy --fs-uuid --set cc3a9835-a3b1-4a2f-a9d4-1688319ea05b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/sda2)" {
insmod ntfs
set root='(/dev/sda,2)'
search --no-floppy --fs-uuid --set 6eacca11acc9d3ad
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professionnel (on /dev/sda5)" {
insmod ntfs
set root='(/dev/sda,5)'
search --no-floppy --fs-uuid --set 3ed44e80d44e3b03
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 ###
=============================== sda6/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/sda6 during installation
UUID=cc3a9835-a3b1-4a2f-a9d4-1688319ea05b / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=ac5d9606-c904-4ad5-9c44-79057e95d8c2 /home ext4 defaults 0 2
=================== sda6: Location of files loaded by Grub: ===================
55.2GB: boot/grub/core.img
55.3GB: boot/grub/grub.cfg
55.7GB: boot/initrd.img-2.6.32-19-generic
55.7GB: boot/vmlinuz-2.6.32-19-generic
55.7GB: initrd.img
55.7GB: vmlinuz
================================ sda2/boot.ini: ================================
[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda1
00000000 89 0c 24 8d 0d 89 27 4e 00 8d 89 9e 08 00 00 89 |..$...'N........|
00000010 4c 24 04 8d 0d 8e d1 50 00 8d 89 03 0f 00 00 51 |L$.....P.......Q|
00000020 8b 4c 24 04 c2 04 00 c8 44 52 8d 64 24 fc 89 14 |.L$.....DR.d$...|
00000030 24 8d 15 9d 20 4e 00 8d 92 b8 0f 00 00 89 54 24 |$... N........T$|
00000040 04 8d 15 48 d2 50 00 8d 92 49 0e 00 00 52 8b 54 |...H.P...I...R.T|
00000050 24 04 c2 04 00 be f4 8d 64 24 fc 89 0c 24 8d 64 |$.......d$...$.d|
00000060 24 fc 89 0c 24 8d 0d 87 25 4e 00 8d 89 08 0b 00 |$...$...%N......|
00000070 00 89 4c 24 04 8d 0d da d5 50 00 8d 89 b7 0a 00 |..L$.....P......|
00000080 00 8d 64 24 fc 89 0c 24 8b 4c 24 04 c2 04 00 97 |..d$...$.L$.....|
00000090 26 8d 64 24 fc 89 1c 24 8d 64 24 fc 89 1c 24 8d |&.d$...$.d$...$.|
000000a0 1d f7 2a 4e 00 8d 9b cc 05 00 00 89 5c 24 04 8d |..*N........\$..|
000000b0 1d 58 d2 50 00 8d 9b 39 0e 00 00 53 8b 5c 24 04 |.X.P...9...S.\$.|
000000c0 c2 04 00 3c e3 57 8d 64 24 fc 89 3c 24 8d 3d 35 |...<.W.d$..<$.=5|
000000d0 24 4e 00 8d bf c2 0c 00 00 89 7c 24 04 8d 3d 2a |$N........|$..=*|
000000e0 df 50 00 8d bf 67 01 00 00 8d 64 24 fc 89 3c 24 |.P...g....d$..<$|
000000f0 8b 7c 24 04 c2 04 00 02 1f 8d 64 24 fc 89 04 24 |.|$.......d$...$|
00000100 50 8d 05 3e 23 4e 00 8d 80 e7 0d 00 00 89 44 24 |P..>#N........D$|
00000110 04 8d 05 d7 de 50 00 8d 80 ba 01 00 00 50 8b 44 |.....P.......P.D|
00000120 24 04 c2 04 00 05 e6 57 8d 64 24 fc 89 3c 24 8d |$......W.d$..<$.|
00000130 3d 5e 2a 4e 00 8d bf fb 06 00 00 89 7c 24 04 8d |=^*N........|$..|
00000140 3d 95 dd 50 00 8d bf fc 02 00 00 8d 64 24 fc 89 |=..P........d$..|
00000150 3c 24 8b 7c 24 04 c2 04 00 a7 34 50 50 8d 05 72 |<$.|$.....4PP..r|
00000160 28 4e 00 8d 80 0b 09 00 00 89 44 24 04 8d 05 ea |(N........D$....|
00000170 dd 50 00 8d 80 a7 02 00 00 87 04 24 c3 c7 dd 8d |.P.........$....|
00000180 64 24 fc 89 2c 24 55 8d 2d 89 29 4e 00 8d ad 22 |d$..,$U.-.)N..."|
00000190 08 00 00 89 6c 24 04 8d 2d f5 d3 50 00 8d ad 9c |....l$..-..P....|
000001a0 0c 00 00 55 8b 6c 24 04 c2 04 00 1c 64 56 56 8d |...U.l$.....dVV.|
000001b0 35 03 26 4e 00 8d b6 d6 0b 00 00 89 74 24 80 01 |5.&N........t$..|
000001c0 01 01 07 fe ff ff 3f 00 00 00 66 3a 1a 06 00 fe |......?...f:....|
000001d0 ff ff 05 fe ff ff a5 3a 1a 06 6e 5b 35 01 00 00 |.......:..n[5...|
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
Merci