LWN.net Logo

Grub From the Ground Up (Troubleshooters.com)

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 15, 2005 0:02 UTC (Tue) by roskegg (subscriber, #105)
In reply to: Grub From the Ground Up (Troubleshooters.com) by JoeBuck
Parent article: Grub From the Ground Up (Troubleshooters.com)

Look closer; the example disk migration in the article assumed there were three different partitions that needed copying. At one filesystem per partition, that is hardly a candidate for use of the --one-filesystem option to tar.

Back in the old days, we used separate partitions for stuff; we didn't have one huge gigantic root partition.


(Log in to post comments)

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 15, 2005 0:39 UTC (Tue) by JoeBuck (subscriber, #2330) [Link]

I don't understand your criticism. You want to copy each source partition to a different destination partition. To do this, you can use one tar command for each partition copy.

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 15, 2005 0:49 UTC (Tue) by roskegg (subscriber, #105) [Link]

Sure. You can do multiple tar commands. Or you make up the list of excludes once, then reuse it each time you upgrade your harddrive. Fewer commands to type means fewer commands to mess up.

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 15, 2005 1:46 UTC (Tue) by brouhaha (subscriber, #1698) [Link]

Sure, but if you want to do a single tar of three filesystems, it's even easier to just say something like "tar -clf - /etc /usr /var".

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds