Re: Creating clone of a HDD including boot partition
- From: keramida@xxxxxxxxxxx (Giorgos Keramidas)
- Date: Thu, 16 Dec 2010 12:01:43 +0100
On Wed, 15 Dec 2010 18:57:33 +0100, bsd <bsd@xxxxxxxxx> wrote:
Le 15 déc. 2010 à 16:45, Giorgos Keramidas a écrit :
On Wed, 15 Dec 2010 16:11:45 +0100, bsd <bsd@xxxxxxxxx> wrote:
Is there a way to dd to a file to create an iso image and then restore
(still using dd from this image). I only have one IDE <--> USB cable
so this is the reason why It'd more simple for me to create an iso
image of the disk and then restore.
Using dump won't be very useful because I won't be able to get the
first 63 segments where boot info are written, I need something of
lower level (obviously dd will be my friend).
Thanks everyone. I'll try to post the line code once I got It up and
running.
No dd(1) cannot do that.
What you _can_ do is boot into single-user mode, and then use mkisofs
with burncd or growisofs from dvd+rw-tools to burn an image while still
in single-user mode. The only user mode process is your root shell at
that point, so you can be relatively sure there are no major changes
happening somewhere at the filesystem while you are still dumping it to
a CD-ROM or DVD-ROM disk.
Just to be precise, I am not trying to do an ISO image of a running
root FS, but of a USB attached disk.
Then it's much easier. Just mount the disk as read-only and use
growisofs to dump its contents to a CD-ROM or DVD disk :)
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Re: Creating clone of a HDD including boot partition
- From: Robert Bonomi
- Re: Creating clone of a HDD including boot partition
- From: bsd
- Re: Creating clone of a HDD including boot partition
- From: Giorgos Keramidas
- Re: Creating clone of a HDD including boot partition
- From: bsd
- Re: Creating clone of a HDD including boot partition
- Prev by Date: Re: Creating clone of a HDD including boot partition
- Next by Date: Spam with fake address from the list?
- Previous by thread: Re: Creating clone of a HDD including boot partition
- Next by thread: Re: Creating clone of a HDD including boot partition
- Index(es):
Relevant Pages
|