Re: Pb de table de partition
"R00t-in.net" <mailing@r00t-in.net> writes:
> Moi je pense que pour tous ceux qui font des sauvegardes il faudrait par
> la meme faire aussi celle du MBR. c'est plus rapide pour refaire tout un
> disque.
Bonne idée.
Extrait du man de gpart :
To save the master boot record (MBR) including the primary partition
table to a file type
dd if=/dev/hda of=mbr bs=512 count=1
exchanging /dev/hda with the block device name of the disk in
question. This should be done for all disks in the system. To restore
the primary partition table without overwriting the MBR type
dd if=mbr of=/dev/hda bs=1 count=64 skip=446 seek=446
Ça pourrait peut-être figurer dans la FAQ de debian-user-french.
--
Julien Gilles
Reply to: