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 27/11/2006, à 10:54

manatlan

[RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

Ce week-end, j'ai fait un DISK-upgrade, j'ai pris un nouveau disque et j'y ai copié mes partoches / et /home ...
Tout c'est bien passé, j'ai juste énormément de mal à remettre GRUB en place (je n'arrive plus à booter sur mon "/")...
Bien que j'ai suivi ce tuto : http://doc.ubuntu-fr.org/installation/grub#restauration

Quand je reboot j'ai systématiquement le bios qui m'affiche :

"Searching for Boot Record from IDE-0 ... OK"

puis rien ne se passe ...

Alors voilà mon nouveau disque (vu d'un livecd):
capturedevhdagpartediq3.th.png

Voilà ma session grub lorsque je tente de le remettre en place d'après le tuto:

root@ubuntu:~/new/boot/grub# grub --batch
Probing devices to guess BIOS drives. This may take a long time.

      [ Minimal BASH-like line editing is supported.  For
        the  first  word,  TAB  lists  possible  command
        completions.  Anywhere else TAB lists the possible
        completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,1)
(hd1,0)
grub> root (hd0,1)
root (hd0,1)
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>

voilà l'UUID de mon nouvel "/" ...

ubuntu@ubuntu:~$ sudo vol_id /dev/hda2
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68
ID_FS_LABEL=/
ID_FS_LABEL_SAFE=

Mon fstab ... (dans les commentaires, on lit que ça venait de /dev/hdb, car mon "/" et "/home" était avant sur hdb)

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hdb1 -- converted during upgrade to edgy
UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 / ext3 defaults,errors=remount-ro 0 1
# /dev/hdb3 -- converted during upgrade to edgy
UUID=3af8d063-c29d-4df1-b10a-8f81e66031ba /home ext3 user_xattr,defaults 0 2
# /dev/hdb2 -- converted during upgrade to edgy
UUID=9fba444e-24e3-4a5b-9438-67ee4e697b7c none swap sw 0 0
/dev/hdc        /media/cdrom0   udf,iso9660 ro,user,noauto,iocharset=utf8  0       0
/dev/hdd        /media/cdrom1   udf,iso9660 ro,user,noauto,iocharset=utf8  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
...

et la config de mon grub (/boot/grub/menu.lst)

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default		0
#splashimage (hd0,1)/boot/grub/images/robin.xpm.gz

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		5

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue
foreground = 000000
background = ffffff

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title		Ubuntu, kernel 2.6.17-10-386
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-386 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 quiet splash
initrd		/boot/initrd.img-2.6.17-10-386
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-386 (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-386 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 single
initrd		/boot/initrd.img-2.6.17-10-386
boot

title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-generic root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 quiet splash
initrd		/boot/initrd.img-2.6.17-10-generic
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.17-10-generic root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 single
initrd		/boot/initrd.img-2.6.17-10-generic
boot

title		Ubuntu, kernel 2.6.15-27-686
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-27-686 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 quiet splash
initrd		/boot/initrd.img-2.6.15-27-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-27-686 (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-27-686 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 single
initrd		/boot/initrd.img-2.6.15-27-686
boot

title		Ubuntu, kernel 2.6.15-26-686
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-26-686 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 quiet splash
initrd		/boot/initrd.img-2.6.15-26-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-26-686 (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-26-686 root=UUID=03b976fe-4a9a-4bfd-baca-c239aa79ed68 ro vga=792 single
initrd		/boot/initrd.img-2.6.15-26-686
boot

title		Ubuntu, memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
#title		Microsoft Windows 2000 Professionnel
#root		(hd0,0)
#savedefault
#makeactive
#chainloader	+1

J'ai vraiment besoin d'aide ... car là ça me dépasse vraiment ...
Merci déjà d'avoir lu jusqu'ici ...

Dernière modification par manatlan (Le 27/11/2006, à 21:34)


"Oui, oui."
                -- Shakespeare (Richard III, Acte I, Scène IV)

Hors ligne

#2 Le 27/11/2006, à 16:26

manatlan

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

Je précise également que c'était un disque vierge, et qui n'a donc connu ni de windows, ni de "MBR" ...


"Oui, oui."
                -- Shakespeare (Richard III, Acte I, Scène IV)

Hors ligne

#3 Le 27/11/2006, à 19:32

manatlan

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

on me fait remarquer ...
que comme j'ai copié mes partoches avec gparted ...
mon /dev/hdb1 (mon ancien "/") a le même UUID que mon nouveau "/" (/dev/hda2)

est-ce que ça peut jouer ?

J'ai vraiment besoin d'aide sur ce coup là ...


"Oui, oui."
                -- Shakespeare (Richard III, Acte I, Scène IV)

Hors ligne

#4 Le 27/11/2006, à 19:38

goodluck

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

/dev/hdb1 (mon ancien "/") a le même UUID que mon nouveau "/" (/dev/hda2)

j'ai pris un nouveau disque et j'y ai copié mes partoches / et /home ...

Soit deux extraits de tes messages où tu sembles joyeusement confondre disque et partition smile

Quand au disk-upgrade ????????????


Amicalement, Gerard ;)
http://counter.li.org/cgi-bin/certificate.cgi/302199
http://www.worldcommunitygrid.org/

Hors ligne

#5 Le 27/11/2006, à 20:10

tellmewhy

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

Bonjour manatian et goodluck,
De plus il y a des erreurs dans ton menu.lst
Pense à modifier ceci :
avant
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)
après
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
pour que ce soit cohérent avec le reste de ton menu.lst.
Et sinon tu devrais visiter la mine d'or de cep:
http://www.cepcasa.info/divers/
il y a un chapitre nommé "quelques procédures de réparation" et notamment en bout de page
5) Grub
c'est très facile à comprendre.:)

#6 Le 27/11/2006, à 21:01

manatlan_

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

merci, je comprends ;-)
mais ça marche pas mieux

#7 Le 27/11/2006, à 21:06

manatlan_

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

goodluck a écrit :

/dev/hdb1 (mon ancien "/") a le même UUID que mon nouveau "/" (/dev/hda2)

j'ai pris un nouveau disque et j'y ai copié mes partoches / et /home ...

Soit deux extraits de tes messages où tu sembles joyeusement confondre disque et partition smile

Quand au disk-upgrade ????????????

merci pour ton aide ;-) ...

j'ai bien marqué DISK-upgrade, je crois même l'avoir mis en gras !
ça décrit exactement ce que j'ai fait, et c'est comme ça qu'on dit ;-)
(action de changer de HDD pour un plus gros ... sans perdre ses données)

#8 Le 27/11/2006, à 21:34

manatlan

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

de retour ... sujet clos

j'ai fini par trouver ...
J'ai remplacé tous les UUID par des chemins en dur (/dev/hdxx) dans mon fstab et grub/menu.lst
et j'ai suivi la procédure du tuto ubuntu : et ça a marché ;-)


MORALITE : avec edgy, mieux vaut éviter de copier ses partitions avec gparted, car ça copie également le UUID ... et ça met une belle pagaille dans l'OS

PS : goodluck m'a bien enervé aussi sur ce coup là (je ne vois toujours pas où je mélange disque et partition)

Dernière modification par manatlan (Le 27/11/2006, à 21:36)


"Oui, oui."
                -- Shakespeare (Richard III, Acte I, Scène IV)

Hors ligne

#9 Le 27/11/2006, à 21:52

tellmewhy

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

Par pure curiosité, avec quoi utilises-tu la commande disk-upgrade car elle ne marche pas dans une console:
j'ai essayé disk-upgrade --help qui ne trouve rien et j'ai essayé man disk-upgrade qui ne trouve rien non plus.
Peux-tu m'indiquer la procédure à suivre ainsi que l'endroit où je dois chercher la doc ? D'avance merci.

#10 Le 27/11/2006, à 22:51

manatlan

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

décidément ce terme pose problème ... ;-)

Ce n'est pas une commande ... C'est juste le fait de changer de HDD pour en prendre un plus gros ... migrer ses partoches linux sur un nouveau disque ...
Un changement de disque dur principal, tout en conservant ses données ...

j'ai repris l'expression d'ici : mini how-to disk upgrade ....
http://www.docmirror.net/fr/linux/howto/hardware/Hard-Disk-Upgrade/Hard-Disk-Upgrade.html#toc4


"Oui, oui."
                -- Shakespeare (Richard III, Acte I, Scène IV)

Hors ligne

#11 Le 27/11/2006, à 23:28

tellmewhy

Re : [RESOLU] "Searching for boot record from IDE-0 ... OK" et puis rien

Merci manatlan, je ne connaissais pas et le site à l'air intéressant.:)