#1 Le 17/07/2011, à 16:05
- jilucorg
os-prober (Grub-pc) : erreur d'identification de partitions Windows
Salut,
Remarque préliminaire : il n'y a pas ici de problème pour moi, vu que je connais ma table de partitions, mais je crois qu'il peut y avoir un risque pour l'utilisateur inexpérimenté et non prévenu, d'où ce post au titre explicite pour le cas où une solution soit apportée.
Voili : Je conserve sur un PC de bureau Acer une install initiale de M$-Win (Vista) pour y faire tourner de temps en temps un prog de boulot propriétaire, et aussi pour permettre à un mien rejeton, windows-gamer exclusif , d'utiliser en cas de besoin mon propre ordi en mon absence. J'avais désactivé pour ce dernier cas os-prober et fait en sorte avec 40_custom d'avoir un message de choix bien visible en pied de menu de boot pour permettre à quiconque de ne pas se tromper en choisissant Windows sur /dev/sda2. (Il n'y avait donc plus de mention de la partition de restauration sur /dev/sda1 Acer 'PQService').
Là, après une install fraîche de Debian avec son Gub2 installé sur sa partition-racine /sda8, je réactive sous Lucid (/sda5) os-prober (+ 'update-grub') sans utiliser chainloader, puisque j'avais vu que c'était maintenant (avec grub-pc) inutile. En effet, le nouveau Debian est bien vu et présent dans le menu et boote impec, mais les mentions pour Windows dans ce nouveau menu inversent la partition-système et celle de restauration, comme un 'sudo os-prober' le fait comprendre :
/dev/sda1:Windows Vista (loader):Windows:chain
/dev/sda2:Windows Recovery Environment (loader):Windows1:chain
Je vais bien sûr virer ça en désactivant à nouveau os-prober et en ajoutant ce qui va bien pour ma Debian dans 40_custom, mais, si on suivait ce menu "au pif" sans savoir rien en matière de partitions, on choisirait à coup sûr /dev/sda1 "Windows Vista" alors que c'est le 'Recovery Environment' : catas en perspective face aux choix proposés à l'utilisateur occasionnel qui voulait juste « chercher un truc avec l'ordi » et ne comprend rien à ce qui lui arrive !
On peut voir dans les deux 'grub.cfg' que l'os-prober de mon Grub-maître "ancien" sur /sda5 fait cette erreur :
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 041C54411C543042
chainloader +1
}
menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 0856123C56122B48
drivemap -s (hd0) ${root}
chainloader +1
alors que l'os-prober de mon Grub nouveau sur /sda8 voit les choses comme elles sont :
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 041c54411c543042
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 0856123c56122b48
chainloader +1
Et c'est la même version de Grub2 : v1.97-1.98
Ci-dessous une sortie de boot_info_script toute fraîche pour qui saurait y voir de l'info utile – N.B. : pas crier, je sais, il faudrait remettre un peu (!) d'ordre dans ce HDD et recalibrer-déplacer certaines partoches qui ne correspondent plus à leur usage, c'est un 'todo' pour un de ces jours :
Boot Info Script 0.60 from 17 May 2011
EXÉCUTÉ LE 17/07/2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.97-1.98) 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 in partition 5 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb.
=> Windows is installed in the MBR of /dev/sdc.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /BOOTMGR /boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda8: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.97-1.98)
Boot sector info: Grub2 (v1.97-1.98) is installed in the boot sector of
sda8 and looks at sector 1436020328 of the same hard
drive for core.img. core.img is at this location and
looks in partition 8 for (,msdos8)/boot/grub.
Operating System: Debian GNU/Linux 6.0
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda9: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Boot file info: Grub2 (v1.97-1.98) in the file /mbr_2011-05-05.img
looks at sector 1 of the same hard drive for core.img.
core.img is at this location and looks in partition 5
for /boot/grub.
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 63 30,732,344 30,732,282 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 30,734,336 411,649,559 380,915,224 7 NTFS / exFAT / HPFS
/dev/sda3 1,603,415,520 1,953,520,064 350,104,545 7 NTFS / exFAT / HPFS
/dev/sda4 411,649,621 1,603,415,519 1,191,765,899 5 Extended
/dev/sda5 411,649,623 684,706,364 273,056,742 83 Linux
/dev/sda6 1,391,036,283 1,397,799,584 6,763,302 82 Linux swap / Solaris
/dev/sda7 684,706,428 1,391,036,219 706,329,792 83 Linux
/dev/sda8 1,397,799,648 1,445,496,569 47,696,922 83 Linux
/dev/sda9 1,445,496,633 1,603,415,519 157,918,887 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 63 1,953,520,064 1,953,520,002 c W95 FAT32 (LBA)
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders, total 1953519616 sectors
Units = sectors of 1 * 512 = 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 2,048 1,953,519,615 1,953,517,568 83 Linux
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 041C54411C543042 ntfs PQSERVICE
/dev/sda2 0856123C56122B48 ntfs ACER
/dev/sda3 4452326A523260BA ntfs MOI
/dev/sda5 d76be85e-76e0-4b4e-bb4f-708dffca7624 ext4 Ubu
/dev/sda6 2a3a5cb9-8363-4d82-96b1-6f8d6007ac81 swap
/dev/sda7 336b91dc-d184-4371-81c0-e49048f18924 ext4 HomeUbu
/dev/sda8 c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 ext4 Deb
/dev/sda9 c2173601-34db-47ad-a3fd-5d70b24e7230 ext4 HomeDeb
/dev/sdb1 3F1B-1904 vfat My Book
/dev/sdc1 c4fc1367-fe09-46e0-8c9a-cdddb595c2f2 ext4 Backup_Linux
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /initrd/pup_ro2 squashfs (ro,noatime)
/dev/sda7 /mnt/sda7 ext4 (rw,relatime,barrier=1,data=ordered)
=========================== sda5/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,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
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,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=30
fi
insmod play
play 480 440 1
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu 10.04 lucid, avec Linux 2.6.32-33-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=1024x768
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu 10.04 lucid, avec Linux 2.6.32-33-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=1024x768
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
echo 'Chargement de Linux 2.6.32-33-generic ...'
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro single vga=792
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry 'Ubuntu 10.04 lucid, avec Linux 2.6.32-32-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=1024x768
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry 'Ubuntu 10.04 lucid, avec Linux 2.6.32-32-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=1024x768
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
echo 'Chargement de Linux 2.6.32-32-generic ...'
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro single vga=792
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-2.6.32-32-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 041C54411C543042
chainloader +1
}
menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 0856123C56122B48
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Debian GNU/Linux, avec Linux 2.6.32-5-amd64 (on /dev/sda8)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 ro quiet
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry "Debian GNU/Linux, avec Linux 2.6.32-5-amd64 (mode de dépannage) (on /dev/sda8)" {
insmod ext2
set root='(hd0,8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 ro single
initrd /boot/initrd.img-2.6.32-5-amd64
}
### 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.
menuentry "==> ICI DÉMARRER WINDOWS VISTA <== (/dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set 0856123c56122b48
chainloader +1
}
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------
=============================== sda5/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#Entry for /dev/sda5 :
UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 / ext4 errors=remount-ro 0 1
#Entry for /dev/sda7 :
UUID=336b91dc-d184-4371-81c0-e49048f18924 /home ext4 defaults 0 2
#Entry for /dev/sda3 :
UUID=4452326A523260BA /media/MOI ntfs-3g nls=iso8859-1,auto,users,umask=0 0 0
#Entry for /dev/sda2 :
UUID=0856123C56122B48 /media/sda2 ntfs nls=iso8859-1,ro,auto,umask=002 0 0
#Entry for /dev/sda6 :
UUID=f08cee82-eb92-46a7-81c1-177a04cb3012 none swap sw 0 0
#Entry for cdrom
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
#Entry for /dev/sdc1
UUID=c4fc1367-fe09-46e0-8c9a-cdddb595c2f2 /media/backup ext4 defaults 0 2
--------------------------------------------------------------------------------
=================== sda5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
196.421081066 = 210.905529856 boot/grub/core.img 1
224.934493542 = 241.521573376 boot/grub/grub.cfg 2
225.241340160 = 241.851047424 boot/initrd.img-2.6.32-32-generic 2
225.298655987 = 241.912589824 boot/initrd.img-2.6.32-33-generic 2
207.196090221 = 222.475107840 boot/vmlinuz-2.6.32-32-generic 1
205.960311413 = 221.148200448 boot/vmlinuz-2.6.32-33-generic 1
225.298655987 = 241.912589824 initrd.img 2
225.241340160 = 241.851047424 initrd.img.old 2
205.960311413 = 221.148200448 vmlinuz 1
207.196090221 = 222.475107840 vmlinuz.old 1
=========================== sda8/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
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 load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
echo 'Chargement de Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 ro quiet
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, avec Linux 2.6.32-5-amd64 (mode de dépannage)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set c54d83ca-f6c9-4b4b-b392-b2dab3885fe5
echo 'Chargement de Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 ro single
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 041c54411c543042
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows Vista (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 0856123c56122b48
chainloader +1
}
menuentry "Ubuntu 10.04 lucid, avec Linux 2.6.32-33-generic (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry "Ubuntu 10.04 lucid, avec Linux 2.6.32-33-generic (mode de dépannage) (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro single vga=792
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry "Ubuntu 10.04 lucid, avec Linux 2.6.32-32-generic (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro vga=792 quiet splash
initrd /boot/initrd.img-2.6.32-32-generic
}
menuentry "Ubuntu 10.04 lucid, avec Linux 2.6.32-32-generic (mode de dépannage) (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set d76be85e-76e0-4b4e-bb4f-708dffca7624
linux /boot/vmlinuz-2.6.32-32-generic root=UUID=d76be85e-76e0-4b4e-bb4f-708dffca7624 ro single vga=792
initrd /boot/initrd.img-2.6.32-32-generic
}
### 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 ###
--------------------------------------------------------------------------------
=============================== sda8/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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 defaults 0 0
# / was on /dev/sda8 during installation
UUID=c54d83ca-f6c9-4b4b-b392-b2dab3885fe5 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda9 during installation
UUID=c2173601-34db-47ad-a3fd-5d70b24e7230 /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=2a3a5cb9-8363-4d82-96b1-6f8d6007ac81 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
/dev/sdc1 /media/usb1 auto rw,user,noauto 0 0
--------------------------------------------------------------------------------
=================== sda8: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
684.747875214 = 735.242432512 boot/grub/core.img 1
669.775871277 = 719.166365696 boot/grub/grub.cfg 2
669.936874390 = 719.339241472 boot/initrd.img-2.6.32-5-amd64 2
666.784832001 = 715.954761728 boot/vmlinuz-2.6.32-5-amd64 2
669.936874390 = 719.339241472 initrd.img 2
666.784832001 = 715.954761728 vmlinuz 2
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sdb1
00000000 eb 5a 90 4d 53 57 49 4e 34 2e 31 00 02 40 26 00 |.Z.MSWIN4.1..@&.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 3f 00 00 00 |........?...?...|
00000020 78 59 70 74 49 a3 03 00 00 00 00 00 02 00 00 00 |xYptI...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 04 19 1b 3f 4d 79 20 42 6f 6f 6b 20 20 |..)...?My Book |
00000050 20 20 46 41 54 33 32 20 20 20 f1 7d fa 33 c9 8e | FAT32 .}.3..|
00000060 d1 bc f8 7b 8e c1 bd 78 00 c5 76 00 1e 56 16 55 |...{...x..v..V.U|
00000070 bf 22 05 89 7e 00 89 4e 02 b1 0b fc f3 a4 8e d9 |."..~..N........|
00000080 bd 00 7c c6 45 fe 0f 8b 46 18 88 45 f9 fb 38 66 |..|.E...F..E..8f|
00000090 40 7c 04 cd 13 72 4e bf 02 00 83 7e 16 00 75 71 |@|...rN....~..uq|
000000a0 66 83 7e 24 00 74 6a 8b 46 1c 8b 56 1e b9 03 00 |f.~$.tj.F..V....|
000000b0 49 40 75 01 42 bb 00 7e e8 90 00 73 2a b0 f8 4f |I@u.B..~...s*..O|
000000c0 74 21 8b 46 32 33 d2 b9 03 00 3b c8 77 43 8b 76 |t!.F23....;.wC.v|
000000d0 0e 3b ce 73 3c 2b f1 3b c6 77 36 03 46 1c 13 56 |.;.s<+.;.w6.F..V|
000000e0 1e eb cd 73 2c eb 49 66 81 be 00 02 52 52 61 41 |...s,.If....RRaA|
000000f0 75 cc 66 81 be fc 03 00 00 55 aa 75 c1 66 81 be |u.f......U.u.f..|
00000100 fc 05 00 00 55 aa 75 b6 83 7e 2a 00 77 03 e9 ef |....U.u..~*.w...|
00000110 02 be 80 7d fb ac 98 03 f0 ac 84 c0 74 17 3c ff |...}........t.<.|
00000120 74 09 b4 0e bb 07 00 cd 10 eb ee be 83 7d eb e4 |t............}..|
00000130 be 81 7d eb df 33 c0 cd 16 5e 1f 8f 04 8f 44 02 |..}..3...^....D.|
00000140 cd 19 00 00 00 00 00 00 00 00 00 50 52 51 91 92 |...........PRQ..|
00000150 33 d2 f7 76 18 91 f7 76 18 42 87 ca f7 76 1a 8a |3..v...v.B...v..|
00000160 f2 8a 56 40 8a e8 d0 cc d0 cc 0a cc b8 01 02 cd |..V@............|
00000170 13 59 5a 58 72 09 40 75 01 42 03 5e 0b e2 cc c3 |.YZXr.@u.B.^....|
00000180 03 18 01 27 0d 0a 49 6e 76 61 6c 69 64 20 73 79 |...'..Invalid sy|
00000190 73 74 65 6d 20 64 69 73 6b ff 0d 0a 44 69 73 6b |stem disk...Disk|
000001a0 20 49 2f 4f 20 65 72 72 6f 72 ff 0d 0a 52 65 70 | I/O error...Rep|
000001b0 6c 61 63 65 20 74 68 65 20 64 69 73 6b 2c 20 61 |lace the disk, a|
000001c0 6e 64 20 74 68 65 6e 20 70 72 65 73 73 20 61 6e |nd then press an|
000001d0 79 20 6b 65 79 0d 0a 00 49 4f 20 20 20 20 20 20 |y key...IO |
000001e0 53 59 53 4d 53 44 4f 53 20 20 20 53 59 53 80 01 |SYSMSDOS SYS..|
000001f0 00 57 49 4e 42 4f 4f 54 20 53 59 53 00 00 55 aa |.WINBOOT SYS..U.|
00000200
========= Devices which don't seem to have a corresponding hard drive: =========
hda hdb hdc hdd sdd sde sdf sdg sdh sdi
Dernière modification par jilucorg (Le 17/07/2011, à 16:09)
jiluc.
––
Pour soutenir concrètement le logiciel libre : l'April ! http://www.april.org
Hors ligne