-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alle 17:06, sabato 1 marzo 2003, Mirko ha scritto: > cari amici linuxiani > avrei il problema di fare un back up del mbr degli hard disk > linux offre qualche tool o comando utile allo scopo > ciao e grazie > mirko
Per salvare il MBR inclusa partition table: dd if=/dev/hda bs=512 count=1 of=/mnt/floppy/MBR+PT Per salvare il MBR senza partition table.. dd if=/dev/hda bs=446 count=1 of=/mnt/floppy/MBR Per riscriverlo : dd if=/mnt/floppy/MBR(+PT) of=/dev/hda Per salvare soltanto la partition table: dd if=/dev/hda bs=1 count=66 skip=446 of=/mnt/floppy/partition_table Per riscriverla: dd if=/mnt/floppy/partition_table bs=1 seek=446 of=/dev/hda bye miKe - -- ________________________________________ Slackware 8.1 GNU/Linux 2.4.20 @ hp Xe3 R.U.#219755 -- S.R.U.#705 -- R.M.#110932 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+YUF1F/9fksDJ4y0RAsglAJ9/9RKpxrq+NqreR40mFTArRVeVswCeNPEz hw5qtGsBo+NZ7Otv9GAbRPQ= =iaPl -----END PGP SIGNATURE-----