[GRUB] Ne boot plus sous win

Salut,

Je suis sous debian wheezy, et, depuis une mise à jour de grub du 20/04 je n’arrive plus à booter sous windows 7. Je suppose que ça viens de cette mise à jour. Le fichier de conf de grub a été modifier la dernière fois le 20/04. Je l’ai régénéré une fois que je me suis aperçu que windows ne bootait plus, mais sans amélioration.

Et lorsque je choisi windows dans le menu grub, j’ai un écran noir quelques secondes et le pc redémarre.

La partie de /boot/grub/grub.cfg si toutefois vous voyez une boulette:


### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb2)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(hd1,msdos2)'
	search --no-floppy --fs-uuid --set=root 12380B8E380B7051
	chainloader +1
}

Merci.

refais:

et:

[quote=“marcastro”]refais:

et:

Pas mieux.

http://www.dedoimedo.com/computers/grub-2.html#mozTocId722095

ça devrait le faire pour toi

vers la fin :windows entry tu rajoutes la ligne qui te manque

J’ai pas compris de quelle ligne tu me parle.
Et j’utilise grub2 depuis longtemps.

Microsoft est installé sur la deuxième partition (msdos2) du second disque (hd1, /dev/sdb), qu’en est-il de la première partition ?
Quelle est sa nature ? Une partition de récupération ? format ntfs ou fat32 ?
Microsoft ne se démarrerait-il pas depuis cette première partition ?
Quelle partition est flanquée de l’étiquette “boot” ? L’étiquette “boot” a-t-elle été dernièrement retouchée ?

Copie-nous le retour de

fdisk -l

Test : éditer /etc/grub.d/40_custom en forçant le démarrage de la première partition, lui ajouter ces lignes sur le canevas de l’existant en remplaçant l’UUID 12380xxx par l’UUID de la première et msdos2 par msdos1, mettre grub à jour.

menuentry “Windows 7 (loader) (on /dev/sdb2)” --class windows --class os {
insmod part_msdos
insmod ntfs
set root=’(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root xxxxxxxxxx
chainloader +1
}

Tu as tenté une réparation par Rescatux ?

http://www.supergrubdisk.org/

@etxeberrizahar

Sur la première partitions c’est mon volume LVM de Linux

fdisk -l:

[code]fdisk -l

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
153 heads, 34 sectors/track, 375533 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00084c64

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 781250559 390624256 8e Linux LVM
/dev/sdb2 781257015 1953503999 586123492+ 7 HPFS/NTFS/exFAT

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe8070000

Disk /dev/sdc doesn’t contain a valid partition table

Disk /dev/sda: 185.3 GB, 185283624960 bytes
255 heads, 63 sectors/track, 22526 cylinders, total 361882080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3a784526

Device Boot Start End Blocks Id System
/dev/sda1 63 361880189 180940063+ 83 Linux

Disk /dev/mapper/rootvg-rootlv: 64.7 GB, 64692944896 bytes
255 heads, 63 sectors/track, 7865 cylinders, total 126353408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-rootlv doesn’t contain a valid partition table

Disk /dev/mapper/cryptedDatas: 2000.4 GB, 2000396865536 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907025128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/cryptedDatas doesn’t contain a valid partition table

Disk /dev/mapper/rootvg-bootlv: 260 MB, 260046848 bytes
255 heads, 63 sectors/track, 31 cylinders, total 507904 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-bootlv doesn’t contain a valid partition table

Disk /dev/mapper/rootvg-swaplv: 1023 MB, 1023410176 bytes
255 heads, 63 sectors/track, 124 cylinders, total 1998848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-swaplv doesn’t contain a valid partition table

Disk /dev/mapper/rootvg-tmplv: 2889 MB, 2889875456 bytes
255 heads, 63 sectors/track, 351 cylinders, total 5644288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-tmplv doesn’t contain a valid partition table

Disk /dev/mapper/rootvg-homeroot: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-homeroot doesn’t contain a valid partition table

Disk /dev/mapper/rootvg-vartmp: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/rootvg-vartmp doesn’t contain a valid partition table

Disk /dev/mapper/vgdatas-dataslv: 686.1 GB, 686121025536 bytes
255 heads, 63 sectors/track, 83416 cylinders, total 1340080128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vgdatas-dataslv doesn’t contain a valid partition table

Disk /dev/mapper/vgdatas-homelv: 75.2 GB, 75161927680 bytes
255 heads, 63 sectors/track, 9137 cylinders, total 146800640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/vgdatas-homelv doesn’t contain a valid partition table
[/code]

@Tristan.T

Pas testé. Et ca ne marchera pas supergrub ne reconnait pas le LVM.

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 781250559 390624256 8e Linux LVM
/dev/sdb2 781257015 1953503999 586123492+ 7 HPFS/NTFS/exFAT

*=boot sur la partition LVM linux, si tu veux démarrer Microsoft, remets l’étiquette “boot” sur la partition ntfs.

Comment remettre l’étiquette “boot” ? cfdisk, parted, testdisk… ou même fixmbr sous Microsoft.
Remettre l’étiquette “boot” risque de ne pas suffire pour remettre d’aplomb Microsoft, cette question ne regardant pas debian, restons en là …

Ok merci, je vais tester encore ça, sinon je réinstalle.