[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Récupération du MBR (/boot sur un hdd ide simple, mais racine / du système sur unraid 1 logiciel !)



Oui c'est grub-install, mais pour moi c'est sur un raid, donc md0, pas hda :)

J'ai reussi à finir tout seul, voici comment j'ai fais, pour ceux que ca pourrait aider:

mdadm --create /dev/md0 -n 2 -l 1 /dev/sda1 /dev/sdb1
confirmer par 'y'
mkdir /mnt/debian
mkdir /mnt/debian/boot
mount -t ext3 /dev/md0 /mnt/debian
chroot /mnt/debian
mount -t ext3 /dev/hdc1 /boot
grub-install /dev/hdc
"Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script 'grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hdc1
(hd1) /dev/sda1
(hd2) /dev/sdb1"

exit
umount /mnt/debian/boot
umount /mnt/debian/


Ensuite j'ai rebooté, il m'a monté le système en read-only, a syncronisé le raid, puis reboot, et plusieurs fois de suite j'ai eu des erreurs d'inode trouvées par fsck, et après plusieurs reboot et fsck, tout va bien, tout refonctionne, HOURRA !

Merci à tous !!!!

>Le 07.12.2005 18:00, Guillaume Leccese a écrit :
>
>> Donc tu peux relancer les manips avec Grub (qui semble etre ton boot 
>> loader). C'est assez simple avec Grub (encore avec lilo: lilo -v). Mais 
>> je ne sais plus exactement comment faire, mais c'est 3 petites lignes 
>> ... un tit coup de google est c'est ok !
>
>grub-install /dev/hda (où hda doit être adapté à ton système) ?
>
>-- 
>Chaurin Olivier
>olivier.chaurin@free.fr
>
>
>-- 
>Pensez  lire la FAQ de la liste avant de poser une question :
>http://wiki.debian.net/?DebianFrench
>
>Pensez  rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
>
>To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

= = = = = = = = = ========= = = = = = = = = = =
			
Florent Fossard
f.fossard.pro@wanadoo.fr
07/12/2005


Reply to: