Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- Date: Tue, 17 Jul 2007 13:58:46 +0200
- From: Sigurd Urdahl <sigurdur@example.com>
- Subject: Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- References: <d8fcc0800707162334w4c694ba2yd2b9b296e7964f94@mail.gmail.com> <200707172001.36863.tlug@extellisys.net> <20070717132915.e455fb49.gstewart@bonivet.net>
- User-agent: Icedove 1.5.0.12 (X11/20070607)
Godwin Stewart wrote:[...]On Tue, 17 Jul 2007 20:01:36 +0900, tlug@example.com wrote:
Note that the command above runs the fdisk program, which lets you type
in fdisk commands, so it does not give the partition information
immediately. You will get a prompt such as "Command (m for help):" where
you can type "p" to print the partition table (like above) and then "q"
to exit fdisk.
The "-l" (that's a lowercase "L") option does the same as the "p" command in the interactive version but just spits the information out and quits immediately.
If you want to partion the second disk exactly like the source sfdisk makes this slightly easier:
-d Dump the partitions of a device in a format useful as input to
sfdisk. For example,
% sfdisk -d /dev/hda > hda.out
% sfdisk /dev/hda < hda.out
this can of course be combined with a little ssh or nc magic.
kind regards, -sig
-- Sigurd Urdahl Linux, goofing, cooking, making fire, computer security, having a beer. Give me good music.
- References:
- [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- From: Josh Glover
- Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- From: tlug
- Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- From: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- Next by Date: Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- Previous by thread: Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- Next by thread: Re: [tlug] Tip of the Day: "ghosting" a machine with nc and dd
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links