Bonjour, je reviens après un bon week-end.
Le week-end n'a pas été profitable à mon GRUB qui se bloque toujours avant stage 1-5.
J'ai essayéun rescue + 'grub-install --recheck /dev/sda' mais celui-ci me dit qu'il ne trouve pas de 'dev/sdb1'.
Au moment du boot avec le dvd rescue je n'ai qu'un seul disque qui est vu comme 'dev/sda'
Je ne comprends pas pourquoi il essaie dev/sdb
Avez vous des idées :
Voici la trace du grub-install.
+ prefix=/usr
+ exec_prefix=/usr
+ sbindir=/sbin
+ datadir=/usr/share
+ PACKAGE=grub
+ VERSION=0.97
+ host_cpu=i386
+ host_os=linux-gnu
+ host_vendor=redhat
+ pkgdatadir=/usr/share/grub/i386-redhat
+ grub_shell=/sbin/grub
+ mdadm=/sbin/mdadm
+ log_file=/tmp/grub-install.log.1170
+ img_file=/tmp/grub-install.img.1170
+ rootdir=
+ grub_prefix=/boot/grub
+ install_drives=
+ install_device=
+ no_floppy=
+ force_lba=
+ recheck=no
+ debug=no
+ justcopy=no
+ test -x /bin/tempfile
+ mklog='/bin/tempfile --prefix=grub'
+ mkimg='/bin/tempfile --prefix=grub'
+ for option in '"$@"'
+ case "$option" in
+ recheck=yes
+ for option in '"$@"'
+ case "$option" in
+ test x '!=' x
+ install_device=/dev/sda
+ test no = yes
+ case "$host_os" in
+ bootdir=/boot
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ '[' yes == yes ']'
+ grep mapper /boot/grub/device.map
+ test no = yes
+ test x/dev/sda = x
+ set /sbin/grub dummy
+ test -f /sbin/grub
+ :
+ test -f /usr/share/grub/i386-redhat/stage1
+ :
+ test -f /usr/share/grub/i386-redhat/stage2
+ :
+ test -d /boot
+ test -d /boot/grub
+ copy_images
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/stage1
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/stage2
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/e2fs_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/fat_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/ffs_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/iso9660_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/jfs_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/minix_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/reiserfs_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/ufs2_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/vstafs_stage1_5
+ for file in '${grubdir}/stage1' '${grubdir}/stage2' '${grubdir}/*stage1_5'
+ rm -f /boot/grub/xfs_stage1_5
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/stage1 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/stage2 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/e2fs_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/fat_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/ffs_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/iso9660_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/jfs_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/minix_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/reiserfs_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/ufs2_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/vstafs_stage1_5 /boot/grub
+ for file in '${pkgdatadir}/stage1' '${pkgdatadir}/stage2' '${pkgdatadir}/*stage1_5'
+ cp -f /usr/share/grub/i386-redhat/xfs_stage1_5 /boot/grub
+ test yes = yes
+ mv /boot/grub/device.map /boot/grub/device.map.backup
+ test -f /boot/grub/device.map
+ test -n '/bin/tempfile --prefix=grub'
++ /bin/tempfile --prefix=grub
+ log_file=/tmp/grubaqMmL8
+ sync
+ /sbin/grub --batch --device-map=/boot/grub/device.map
Probing devices to guess BIOS drives. This may take a long time.
+ grep 'Error [0-9]*: ' /tmp/grubaqMmL8
+ rm -f /tmp/grubaqMmL8
++ sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' /boot/grub/device.map
++ sort
++ uniq -d
++ sed -n 1p
+ tmp=
+ test -n ''
+ grep -q '^(hd[0-9]\+)' /boot/grub/device.map
+ '[' x0 '!=' x0 ']'
+ case "$install_device" in
++ resolve_symlink /dev/sda
++ tmp_fname=/dev/sda
++ test -L /dev/sda
++ echo /dev/sda
+ install_device=/dev/sda
++ find_real_devs /dev/sda
++ source_device=/dev/sda
++ case "$host_os" in
++ is_raid1_device /dev/sda
++ case "$host_os" in
+++ /sbin/mdadm --query --detail /dev/sda
+++ awk '/Raid Level :/ {print $4}'
++ level=
++ '[' '' = raid1 ']'
++ return 1
++ echo /dev/sda
++ return 0
+ for install_drive in '`find_real_devs $install_device`'
++ convert /dev/sda
++ test -e /dev/sda
++ :
++ case "$host_os" in
+++ echo /dev/sda
+++ grep -v '/mapper/control$'
+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$'
+++ uniq
+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(d[0-9]*\)p[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 's%/part[0-9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%' -e 's%\(/mapper/[[:alpha:]]\+[[:digit:]]\+\)p[[:digit:]]\+$%\1%' -e 's%\(/mapper/[[:alpha:]]\+_[[:alpha:]]\+\)[[:digit:]]\+$%\1%'
++ tmp_disk=/dev/sda
+++ echo /dev/sda
+++ grep -v '/mapper/control$'
+++ grep -v '/mapper/[[:alnum:]]\+-[[:alnum:]]\+$'
+++ uniq
+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*d[0-9]*p%%' -e 's%.*/fd[0-9]*$%%' -e 's%.*/floppy/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 's%.*c[0-7]d[0-9]*p%%' -e 's%.*/mapper/[[:alpha:]]\+[[:digit:]]\+p\([[:digit:]]\+\)$%\1%' -e 's%.*/mapper/[[:alpha:]]\+_[[:alpha:]]\+\([[:digit:]]\+\)$%\1%'
+++ grep -v '.*/mapper/.*'
++ tmp_part=
+++ grep -v '^#' /boot/grub/device.map
+++ grep '/dev/sda *$'
+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%'
++ tmp_drive='(hd0)'
++ test 'x(hd0)' = x
++ test x '!=' x
++ echo '(hd0)'
+ install_drive='(hd0)'
+ is_raid1_device /dev/sda
+ case "$host_os" in
++ /sbin/mdadm --query --detail /dev/sda
++ awk '/Raid Level :/ {print $4}'
+ level=
+ '[' '' = raid1 ']'
+ return 1
+ '[' 'x(hd0)' = x ']'
+ install_drives=' (hd0)'
+ unset install_drive
+ test 'x (hd0)' = x
+ unset install_device
++ find_device
+++ df /
+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'
++ tmp_fname=/dev/sdb1
++ test -z /dev/sdb1
+++ resolve_symlink /dev/sdb1
+++ tmp_fname=/dev/sdb1
+++ test -L /dev/sdb1
+++ echo /dev/sdb1
++ ret_fname=/dev/sdb1
+++ find_mapper_device /dev/sdb1
+++ '[' -b /dev/sdb1 ']'
++++ echo /dev/sdb1
++++ sed 's,/,\\/,g'
+++ mntpnt='\/dev\/sdb1'
++++ awk '($2 ~ /\/dev\/sdb1/) { print $1 }' /etc/mtab
+++ dev=
+++ test -z ''
+++ echo 'Could not find device for /dev/sdb1'
Could not find device for /dev/sdb1
+++ exit 1
++ tmp_fname=
++ test -n ''
++ echo /dev/sdb1
++ return 0
+ root_device=/dev/sdb1
++ find_device /boot
+++ df /boot/
+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'
++ tmp_fname=/dev/sdb1
++ test -z /dev/sdb1
+++ resolve_symlink /dev/sdb1
+++ tmp_fname=/dev/sdb1
+++ test -L /dev/sdb1
+++ echo /dev/sdb1
++ ret_fname=/dev/sdb1
+++ find_mapper_device /dev/sdb1
+++ '[' -b /dev/sdb1 ']'
++++ echo /dev/sdb1
++++ sed 's,/,\\/,g'
+++ mntpnt='\/dev\/sdb1'
++++ awk '($2 ~ /\/dev\/sdb1/) { print $1 }' /etc/mtab
+++ dev=
+++ test -z ''
+++ echo 'Could not find device for /dev/sdb1'
Could not find device for /dev/sdb1
+++ exit 1
++ tmp_fname=
++ test -n ''
++ echo /dev/sdb1
++ return 0
+ bootdir_device=/dev/sdb1
+ test x/dev/sdb1 '!=' x/dev/sdb1
++ find_device /boot/grub
+++ df /boot/grub/
+++ sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'
++ tmp_fname=/dev/sdb1
++ test -z /dev/sdb1
+++ resolve_symlink /dev/sdb1
+++ tmp_fname=/dev/sdb1
+++ test -L /dev/sdb1
+++ echo /dev/sdb1
++ ret_fname=/dev/sdb1
+++ find_mapper_device /dev/sdb1
+++ '[' -b /dev/sdb1 ']'
++++ echo /dev/sdb1
++++ sed 's,/,\\/,g'
+++ mntpnt='\/dev\/sdb1'
++++ awk '($2 ~ /\/dev\/sdb1/) { print $1 }' /etc/mtab
+++ dev=
+++ test -z ''
+++ echo 'Could not find device for /dev/sdb1'
Could not find device for /dev/sdb1
+++ exit 1
++ tmp_fname=
++ test -n ''
++ echo /dev/sdb1
++ return 0
+ grubdir_device=/dev/sdb1
+ test x/dev/sdb1 '!=' x/dev/sdb1
+ test -n '/bin/tempfile --prefix=grub'
++ /bin/tempfile --prefix=grub
+ img_file=/tmp/grubF4T5Nf
+ test -n '/bin/tempfile --prefix=grub'
++ /bin/tempfile --prefix=grub
+ log_file=/tmp/grubHggLwj
+ is_raid1_device /dev/sdb1
+ case "$host_os" in
++ /sbin/mdadm --query --detail /dev/sdb1
++ awk '/Raid Level :/ {print $4}'
+ level=
+ '[' '' = raid1 ']'
+ return 1
++ convert /dev/sdb1
++ test -e /dev/sdb1
++ echo '/dev/sdb1: Not found or not a block device.'
/dev/sdb1: Not found or not a block device.
++ exit 1
+ root_drive=
+ exit 1