Копирование дисков по сети

Nov 04, 2009 17:21

Перед переустановкой ubuntu решил сделать на всякий случай резервные копии дисков. Нашел описание:This is very helpfull to backup you cd and dvd into iso images:

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. (ubuntu automount so you need to unmount, that's quite easy, just choose the option unmount from the shell).

dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi

To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.

mkisofs -o /tmp/cd.iso /tmp/directory/

This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.

For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at http://www.tldp.org.
А дальше дело техники: подмапить диск на другом компе и сделать на него эту самую резервную копию. Правда, грузился я с загрузочного диска parted magic. И ещё и на флешку себе этот parted magic загрузочный сделал. Вообще красота получается. Правда, восстанавливать ничего не пришлось - всё и так хорошо.

mount, partition, dd, backup, iso, disk

Previous post Next post
Up