Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/09/2009, à 18:30

CeReAl KiLLeR Du 77

Grub-pc + raid 1 hardware

Attention! J'ai un petit souci qui va m'empêcher de rebooter le système.

Suite a la mise à jour de Karmic 64bits, grub-pc ne ce configure pas correctement. Déjà a l'installation, de Karmic sa été un échec avec le paquet grub2. J'ai du installer grub manuellement. Mais comme Karmic passe a la version 2 de grub sa promet...

Paramétrage de memtest86+ (2.11-3ubuntu4) ...
Installation de la nouvelle version du fichier de configuration /etc/grub.d/20_memtest86+ ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-11-generic
Found initrd image: /boot/initrd.img-2.6.31-11-generic
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
Found linux image: /boot/vmlinuz-2.6.31-11-generic
Found initrd image: /boot/initrd.img-2.6.31-11-generic
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
Found memtest86+ image: /boot/memtest86+.bin
done

Paramétrage de libgtk2.0-bin (2.18.0-1ubuntu2) ...
Paramétrage de policykit-1-gnome (0.94-1) ...
Paramétrage de libpolkit-gtk-1-0 (0.94-1) ...

Paramétrage de software-center (0.4.1) ...

Paramétrage de xdg-user-dirs (0.11-0ubuntu1) ...
Paramétrage de xserver-common (2:1.6.3-1ubuntu7) ...
Paramétrage de xserver-xorg-core (2:1.6.3-1ubuntu7) ...

Paramétrage de grub-common (1.97~beta3-1ubuntu6) ...
Installation de la nouvelle version du fichier de configuration /etc/grub.d/00_header ...
Installation de la nouvelle version du fichier de configuration /etc/grub.d/10_linux ...
   ...done.

Paramétrage de grub-pc (1.97~beta3-1ubuntu6) ...
Generating core.img
grub-probe: error: no mapping exists for `isw_becedbbfcj_UbuntuEXT41'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg : erreur de traitement de grub-pc (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Paramétrage de libgweather-common (2.28.0-1ubuntu1) ...

Paramétrage de libgweather1 (2.28.0-1ubuntu1) ...

Paramétrage de firefox-3.5-branding (3.5.3+build1+nobinonly-0ubuntu3) ...
Paramétrage de firefox-3.5 (3.5.3+build1+nobinonly-0ubuntu3) ...
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox-3.5
Please restart all running instances of firefox-3.5, or you will experience problems.

Paramétrage de firefox-3.5-gnome-support (3.5.3+build1+nobinonly-0ubuntu3) ...

Paramétrage de firefox (3.5.3+build1+nobinonly-0ubuntu3) ...
Paramétrage de firefox-gnome-support (3.5.3+build1+nobinonly-0ubuntu3) ...
Traitement des actions différées (« triggers ») pour « libc-bin »...
ldconfig deferred processing now taking place
Des erreurs ont été rencontrées pendant l'exécution :
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)


SuperBox = Serveur (FreeBSD 7.2) (DEAD) | H²O = Serveur (FreeBSD 8.1) | Nephrotique = Desktop (Ubuntu Lucid Lynx 64 bits) | Skizophrene = Laptop (DesktopBSD 1.7/WinXP SP3) | Epileptik = Desktop (Diskless) | WRT54GL 1.1 (Openwrt Backfire 10.3 noyau 2.4) | WRT54GL 1.1 (DDWRT V24 SP1)

Hors ligne

#2 Le 12/09/2011, à 11:23

loxnet

Re : Grub-pc + raid 1 hardware

Bonjour à toutes et tous !

J'ai un petit problème sans solution évidente :

L'installation en dualboot Xp d'une 11.04 x64 sur une machine équipée d'un RAID1 matériel s'est bien passé MAIS le redémarrage m'apportait un bien triste message :

error: no such disk
grub rescue>

Pas de panique me dis-je ! faisons un 'ls' ! Et de stupeur, m'aperçois-je, que le résultat n'était autre que ... rien

Du coup après maintes recherches et à tour de boot-repair qui dit que tout s'est bien passé et de modification de /etc/default/grub à base de GRUB_PRELOAD_MODULES="raid"
et de reconfiguration, réinstallation... rien y fait. J'ai toujours un grub rescue> avec un ls vide.

voici mon boot info

                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Syslinux MBR (3.61-4.03) is installed in the MBR of 
    /dev/mapper/pdc_bafgcfa.

pdc_bafgcfa1: __________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

pdc_bafgcfa2: __________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

pdc_bafgcfa3: __________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

pdc_bafgcfa4: __________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info:  

pdc_bafgcfa5: __________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

pdc_bafgcfa6: __________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

pdc_bafgcfa7: __________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 11.04
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

============================ Drive/Partition Info: =============================

Drive: pdc_bafgcfa _____________________________________________________________________

Disque /dev/mapper/pdc_bafgcfa: 160.0 Go, 159974752256 octets
255 têtes, 63 secteurs/piste, 19449 cylindres, total 312450688 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/mapper/pdc_bafgcfa1   *          2,048    99,993,599    99,991,552  fd Linux raid autodetect
/dev/mapper/pdc_bafgcfa2         99,993,600   162,908,159    62,914,560  fd Linux raid autodetect
/dev/mapper/pdc_bafgcfa3        259,354,624   312,449,023    53,094,400  fd Linux raid autodetect
/dev/mapper/pdc_bafgcfa4        162,914,302   259,354,623    96,440,322   5 Extended
/dev/mapper/pdc_bafgcfa5        196,472,832   257,255,423    60,782,592  fd Linux raid autodetect
/dev/mapper/pdc_bafgcfa6        257,257,472   259,354,623     2,097,152  fd Linux raid autodetect
/dev/mapper/pdc_bafgcfa7        162,914,304   196,470,783    33,556,480  fd Linux raid autodetect


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mapper/pdc_bafgcfa1 3276F75B76F71DF3                       ntfs       Systeme
/dev/mapper/pdc_bafgcfa2 80D4F8ADD4F8A696                       ntfs       Documents
/dev/mapper/pdc_bafgcfa3 C264FA5C64FA5321                       ntfs       Reserve
/dev/mapper/pdc_bafgcfa5 33df2381-f924-4114-bf8e-ddf25e7bd65e   ext4       
/dev/mapper/pdc_bafgcfa6 2237cc46-4086-417a-8137-c92eeecc0dbe   swap       
/dev/mapper/pdc_bafgcfa7 2c4c093f-992a-4405-8cdd-8cf3ce2413dc   ext4       
/dev/sda                                                promise_fasttrack_raid_member 
/dev/sdb                                                promise_fasttrack_raid_member 

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
pdc_bafgcfa
pdc_bafgcfa1
pdc_bafgcfa2
pdc_bafgcfa3
pdc_bafgcfa5
pdc_bafgcfa6
pdc_bafgcfa7

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


============================ pdc_bafgcfa1/boot.ini: ============================

--------------------------------------------------------------------------------
[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /usepmtimer

--------------------------------------------------------------------------------

======================= pdc_bafgcfa7/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 ###
insmod raid
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  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
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd2,msdos7)'
search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd2,msdos7)'
search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=10
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
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, avec Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd2,msdos7)'
    search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
    linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=2c4c093f-992a-4405-8cdd-8cf3ce2413dc ro   quiet splash vt.handoff=7
    initrd    /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, avec Linux 2.6.38-8-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(hd2,msdos7)'
    search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
    echo    'Loading Linux 2.6.38-8-generic ...'
    linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=2c4c093f-992a-4405-8cdd-8cf3ce2413dc ro single 
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='(hd2,msdos7)'
    search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd2,msdos7)'
    search --no-floppy --fs-uuid --set=root 2c4c093f-992a-4405-8cdd-8cf3ce2413dc
    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/mapper/pdc_bafgcfa1)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(hd2,msdos1)'
    search --no-floppy --fs-uuid --set=root 3276F75B76F71DF3
    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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=========================== pdc_bafgcfa7/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
/dev/mapper/pdc_bafgcfa7 /               ext4    errors=remount-ro 0       1
/dev/mapper/pdc_bafgcfa5 /home           ext4    defaults        0       2
/dev/mapper/pdc_bafgcfa2 /windows        ntfs    defaults,umask=007,gid=46 0       0
/dev/mapper/pdc_bafgcfa6 none            swap    sw              0       0
--------------------------------------------------------------------------------

=============== pdc_bafgcfa7: Location of files loaded by Grub: ================

           GiB - GB             File                                 Fragment(s)

  81.928146362 = 87.969677312   boot/grub/core.img                             1
  81.928153992 = 87.969685504   boot/grub/grub.cfg                             1
  91.128906250 = 97.848918016   boot/initrd.img-2.6.38-8-generic               2
  82.194786072 = 88.255979520   boot/vmlinuz-2.6.38-8-generic                  1
  91.128906250 = 97.848918016   initrd.img                                     2
  82.194786072 = 88.255979520   vmlinuz                                        1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on pdc_bafgcfa4



=============================== StdErr Messages: ===============================

hexdump: /dev/mapper/pdc_bafgcfa4: Aucun fichier ou dossier de ce type
hexdump: /dev/mapper/pdc_bafgcfa4: Aucun fichier ou dossier de ce type
mdadm: No arrays found in config file or automatically

Alors... bon, je suis bien embêté... sachant que c'est ma plate-forme de travail hmm

Auriez-vous une idée ?
Siouplé

Hors ligne