MaD dUCK on Thu, 11 Jan 2001 06:37:37 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] this time "copying partitions"


hey all,
thanks for the replies to yesterdays thread about copying harddrives
by dd'ing hdb to hdc. what actually happened now is that the
destination drive is about 3 times bigger than the source, so i would
like to expand partitions while copying.

i was thinking about it for a while and had to toss initial thoughts
of creating a new partition table and then dd'ing hdb{1..9} to
hdc{1..9} respectively because of the inode tables and superblocks - i
think that the ext2 filesystem, initially formatted for say 2Gb, would
not be able to use the extra 3Gb if i were to grow the partition to
5Gb. correct me if i am wrong.

but this is linux and so it should be rather trivial to mount the
respective partitions in two trees such as /hdb and /hdc, then to do
a cp -a /hdb /hdc and then to rerun lilo on the new harddrive. that's
bound to work, isn't it?

thanks for any info,
martin

[greetings from the heart of the sun]# echo madduck@!#:1:s@\@@@.net
-- 
today's an excellent day
for putting slinkies on an escalator.


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug