Bonjour, ayant installé une debian sur un windows dont j’ai gardé la partition, je voudrais conserver le boot sur la partition dans le grub installé.
Mais update-grub ne détecte pas le système windows bien que présent:
[code]root@pb:/home/kmc# grub-install
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001root@pb:/home/kmc# grub-install
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
Boot0002* debian
Installation finished. No error reported.
root@pb:/home/kmc# update-grub
Generating grub.cfg …
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-0.bpo.4-amd64
Found initrd image: /boot/initrd.img-3.16.0-0.bpo.4-amd64
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
done
root@pb:/home/kmc# ll /mnt/windows/
total 7209372
drwxrwxrwx 1 root root 4096 janv. 16 17:42 AdwCleaner
-rwxrwxrwx 2 root root 2189 avril 29 2014 AdwCleaner[R1].txt
drwxrwxrwx 1 root root 0 mars 25 2014 book
-rwxrwxrwx 1 root root 8192 mars 29 2012 BOOTSECT.BAK
drwxrwxrwx 1 root root 1048576 juin 25 21:18 Config.Msi
lrwxrwxrwx 2 root root 60 juil. 14 2009 Documents and Settings -> /mnt/windows/Users
-rwxrwxrwx 1 root root 3163365376 juil. 12 14:40 hiberfil.sys
drwxrwxrwx 1 root root 0 mars 24 17:00 inetpub
drwxrwxrwx 1 root root 0 mars 25 2014 Intel
drwxrwxrwx 1 root root 0 janv. 16 17:25 MSOCache
drwxrwxrwx 1 root root 8192 mars 25 2014 OEM
drwxrwxrwx 1 root root 0 mai 6 17:24 OneDriveTemp
-rwxrwxrwx 1 root root 4217823232 juil. 12 14:40 pagefile.sys
drwxrwxrwx 1 root root 0 juil. 14 2009 PerfLogs
drwxrwxrwx 1 root root 20480 mai 28 23:36 ProgramData
drwxrwxrwx 1 root root 8192 mai 28 23:42 Program Files
drwxrwxrwx 1 root root 24576 juil. 8 21:03 Program Files (x86)
drwxrwxrwx 1 root root 0 mars 25 2014 Recovery
drwxrwxrwx 1 root root 4096 mai 6 17:17 $Recycle.Bin
drwxrwxrwx 1 root root 32768 juil. 9 22:25 System Volume Information
drwxrwxrwx 1 root root 4096 mai 7 08:42 Users
drwxrwxrwx 1 root root 40960 juil. 9 13:32 Windows
root@pb:/home/kmc# ll /boot/efi/EFI/debian/
total 126
-rwxr-xr-x 1 root root 129024 juil. 17 13:10 grubx64.efi
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
Boot0002* debian
Installation finished. No error reported.
root@pb:/home/kmc# update-grub
Generating grub.cfg …
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-0.bpo.4-amd64
Found initrd image: /boot/initrd.img-3.16.0-0.bpo.4-amd64
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
done
root@pb:/home/kmc# ll /mnt/windows/
total 7209372
drwxrwxrwx 1 root root 4096 janv. 16 17:42 AdwCleaner
-rwxrwxrwx 2 root root 2189 avril 29 2014 AdwCleaner[R1].txt
drwxrwxrwx 1 root root 0 mars 25 2014 book
-rwxrwxrwx 1 root root 8192 mars 29 2012 BOOTSECT.BAK
drwxrwxrwx 1 root root 1048576 juin 25 21:18 Config.Msi
lrwxrwxrwx 2 root root 60 juil. 14 2009 Documents and Settings -> /mnt/windows/Users
-rwxrwxrwx 1 root root 3163365376 juil. 12 14:40 hiberfil.sys
drwxrwxrwx 1 root root 0 mars 24 17:00 inetpub
drwxrwxrwx 1 root root 0 mars 25 2014 Intel
drwxrwxrwx 1 root root root@pb:/home/kmc# grub-install
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0001
Boot0000* P1: ST3500413AS
Boot0001* P2: HL-DT-ST DVDRAM GH70N
Boot0002* debian
Installation finished. No error reported.
root@pb:/home/kmc# update-grub
Generating grub.cfg …
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-0.bpo.4-amd64
Found initrd image: /boot/initrd.img-3.16.0-0.bpo.4-amd64
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
done
root@pb:/home/kmc# ll /mnt/windows/
total 7209372
drwxrwxrwx 1 root root 4096 janv. 16 17:42 AdwCleaner
-rwxrwxrwx 2 root root 2189 avril 29 2014 AdwCleaner[R1].txt
drwxrwxrwx 1 root root 0 mars 25 2014 book
-rwxrwxrwx 1 root root 8192 mars 29 2012 BOOTSECT.BAK
drwxrwxrwx 1 root root 1048576 juin 25 21:18 Config.Msi
lrwxrwxrwx 2 root root 60 juil. 14 2009 Documents and Settings -> /mnt/windows/Users
-rwxrwxrwx 1 root root 3163365376 juil. 12 14:40 hiberfil.sys
drwxrwxrwx 1 root root 0 mars 24 17:00 inetpub
drwxrwxrwx 1 root root 0 mars 25 2014 Intel
drwxrwxrwx 1 root root 0 janv. 16 17:25 MSOCache
drwxrwxrwx 1 root root 8192 mars 25 2014 OEM
drwxrwxrwx 1 root root 0 mai 6 17:24 OneDriveTemp
-rwxrwxrwx 1 root root 4217823232 juil. 12 14:40 pagefile.sys
drwxrwxrwx 1 root root 0 juil. 14 2009 PerfLogs
drwxrwxrwx 1 root root 20480 mai 28 23:36 ProgramData
drwxrwxrwx 1 root root 8192 mai 28 23:42 Program Files
drwxrwxrwx 1 root root 24576 juil. 8 21:03 Program Files (x86)
drwxrwxrwx 1 root root 0 mars 25 2014 Recovery
drwxrwxrwx 1 root root 4096 mai 6 17:17 $Recycle.Bin
drwxrwxrwx 1 root root 32768 juil. 9 22:25 System Volume Information
drwxrwxrwx 1 root root 4096 mai 7 08:42 Users
drwxrwxrwx 1 root root 40960 juil. 9 13:32 Windows
root@pb:/home/kmc# ll /boot/efi/EFI/debian/
total 126
-rwxr-xr-x 1 root root 129024 juil. 17 13:10 grubx64.efi
0 janv. 16 17:25 MSOCache
drwxrwxrwx 1 root root 8192 mars 25 2014 OEM
drwxrwxrwx 1 root root 0 mai 6 17:24 OneDriveTemp
-rwxrwxrwx 1 root root 4217823232 juil. 12 14:40 pagefile.sys
drwxrwxrwx 1 root root 0 juil. 14 2009 PerfLogs
drwxrwxrwx 1 root root 20480 mai 28 23:36 ProgramData
drwxrwxrwx 1 root root 8192 mai 28 23:42 Program Files
drwxrwxrwx 1 root root 24576 juil. 8 21:03 Program Files (x86)
drwxrwxrwx 1 root root 0 mars 25 2014 Recovery
drwxrwxrwx 1 root root 4096 mai 6 17:17 $Recycle.Bin
drwxrwxrwx 1 root root 32768 juil. 9 22:25 System Volume Information
drwxrwxrwx 1 root root 4096 mai 7 08:42 Users
drwxrwxrwx 1 root root 40960 juil. 9 13:32 Windows
root@pb:/home/kmc# ll /boot/efi/EFI/debian/
total 126
-rwxr-xr-x 1 root root 129024 juil. 17 13:10 grubx64.efi
[/code]
Merci pour votre aide