Re: DD not working
- From: Karl Larsen <k5di@xxxxxxxxxx>
- Date: Thu, 30 Aug 2007 17:52:01 -0600
Jacques B. wrote:
<snip>Come on for God's sake! I am way past this stage already. I am taking this F7 on a 20 GB partition and putting it on a 30 GB partition.
I will take what you said as a way to try dd again. I will take the
file system off the partition and let dd put it back on. Since this is
being typed on the current new F7 it is very close to working.
Karl F. Larsen, AKA K5DI
Won't change a thing. The end result will be identical. dd will
produce the same results as it overwrites what is there. So whether
you start with a \x00 drive, a fully formatted drive, a partially
formatted, whatever - it WON'T matter. dd overwrites (as it did when
you first tried it, and as it will when you try it again).
You can't dd a slice of a 30 gig partition (if=/dev/sda#) onto a 10
gig partition (of=/dev/sdb#) and expect it to work. IT WILL NOT.
As I stated earlier, dd copies EVERY BIT. So the partitionYES YES
information at the beginning of that 30 gig partition gets written at
the same byte offset (assuming you didn't use a seek which you would
not in this case anyhow) on the 10 gig partition which will not work.
Fragments of your files could very well be beyond the 10 gig mark on
that 30 gig drive. Those parts of files will not get copied. Again,
you clearly do not understand dd. Trust me that it will not work as
you hope it will. And if there is some messed up data on the 30 gig,
well dd will copy messed up data. It copies bit for bit. It doesn't
care about file systems, file sizes, file names, or any of that. If
the bit is \x45 then it will copy \x45 onto the other drive even if
that is a corrupt piece of data.
Again for God's sake! The F7 I am using now is fully updated and working fine. I want to put the whole thing on a new HARD DRIVE!!!!!
Even if it somehow does work because as luck would have it all yourNow with your obvious wisdom tell me if the ACTUAL thing I am trying to do will work. EVER.
allocated data is in that first 10 gig, it still will at some point
puke when it tries to write a file beyond the 10 gig mark because it
expects that it can seeing the partition info and inode table is for a
30 gig partition.
dd is a very powerful tool. But it does not work for your scenario.
Jacques B.
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: DD not working
- From: Jacques B.
- Re: DD not working
- References:
- DD not working
- From: Karl Larsen
- Re: DD not working
- From: Jacques B.
- Re: DD not working
- From: Karl Larsen
- Re: DD not working
- From: Jacques B.
- DD not working
- Prev by Date: Re: LABEL's
- Next by Date: Re: LABEL's
- Previous by thread: Re: DD not working
- Next by thread: Re: DD not working
- Index(es):
Relevant Pages
- Re: LABELs
... Jacques B. wrote: ... work fine IFF the partition your sending data to
is larger than the one ... and you do NOT put a file system in the destination ...
If the source had a file system, then the destination ... (Fedora) - Re: DD not working
... file system off the partition and let dd put it back on. ... You can't
dd a slice of a 30 gig partition onto a 10 ... Fragments of your files could very well
be beyond the 10 gig mark on ... (Fedora) - Re: Cannot create a new partition on my hard drive through Logical Disk Manager
... I am simply trying to create a new 20 gig partition on my 160gb hard ... and
restart the Logical Disk manager or reboot the machine". ... --Confirmed that my motherboard
is set to use 48 LBA ... (microsoft.public.win2000.general) - Re: FDisk
... >an 80 gig partition for video editing only), ... >partitions
over 32 gigs, but if such a partition is created with non-MS ... I just wish MS would deliver
a decent maintenance platform for NTFS, ... (microsoft.public.windowsxp.general) - Re: Using Drive Image with XP?
... D.I. requires a partition that is equal to, or larger than, the source ... You
can use Partition Magic to shrink the 40 gig partition on your new ... > facilities
under Disk Operations to 'Redistribute free space among ... Relatively risk free?
... (microsoft.public.windowsxp.general)