Alvin Oga wrote:
hi ya mike
On Fri, 30 Sep 2005, Mike McCarty wrote:
dd if=/dev/hda of=/dev/hde bs=446 count=1
This works if /dev/hda is the exact same size and partitioning
as /dev/hde.
nah.... it leaves the br alone
Umm, yes it leave the BRs alone. But the BRs don't contain
the PT. It does clobber the MBR, but does not (*) clobber
the PT portion of the MBR.
system, or somebody? Otherwise, I'd fear possibly clobbering the
PT information
if that's the case:
fdisk -l /dev/hda
save the start and end cylinders and partition type info
on a piece of paper taped to your disk
I prefer to use sfdisk, since it can be instructed to produce
output it can use as input later to recreate the PT.
- by default, all "good" admins already do that to begin
with ...
Natch.
(*) At least, it shouldn't. I tried it with a floppy and
it left the last several bytes as they were on the floppy.
It *should* work the same on a hd. YMMV
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]