Moving to a new disk on Debian with root filesystem on LVM over encryption mini-HOWTO

2007-08-11 Thread Babstar
Moving to a new disk on Debian system with root Filesystem on LVM over encryption mini-HOWTO Babstar August 2007, Thanks to the Debian team for all your hard work & great software. Current setup I used the standard Etch installer to setup and encrypted disk for my laptop. However, I now

Re: moving '/' to a new disk

2001-09-11 Thread George Karaolides
On Tue, 11 Sep 2001, Rino Mardo wrote: > i see. i've been using the "--exclude-from FILE" option of tar to avoid > copying /proc and /mnt itself. No, way too much trouble and too easy to get wrong. The "l" option is what you want. > > With /boot on one disk and everything else on RAID1, your

Re: moving '/' to a new disk

2001-09-11 Thread Rino Mardo
On Tue, Sep 11, 2001 at 12:16:52PM +0300 or thereabouts, George Karaolides wrote: > > Easy. First mount /dev/md0 somewhere remporary like /mnt, then do > > root# tar cplf - -C / . | tar xvpf - -C /mnt > > the "l" option will make sure tar only archives the local root filesystem, > not mounted

Re: moving '/' to a new disk

2001-09-11 Thread George Karaolides
Easy. First mount /dev/md0 somewhere remporary like /mnt, then do root# tar cplf - -C / . | tar xvpf - -C /mnt the "l" option will make sure tar only archives the local root filesystem, not mounted filesystems. This takes care of /proc as well. Check that the /tmp permissions are 1777, which

moving '/' to a new disk

2001-09-10 Thread tim
I currently Have: Filesystem 1k-blocks Used Available Use% Mounted on /dev/sdc1 2064144 16892 1942372 1% / /dev/sda115522 2943 11778 20% /boot /dev/md1 4001600965072 3036528 25% /usr /dev/md2 33561