Am 12.04.2012 21:49, schrieb Dale:
> Howdy,
> 
> Well, it appears we got the init thingy working.  I'm about ready to
> move things around since one of my drives is about full and I need a
> spare to move things around with.  I use cp -a to copy things while
> booted from a USB stick do hicky.  So far, that has always worked and is
> pretty fast.  I do have a question tho.
> 
> When I copy this over, do I still need to copy over null, console and
> such to /dev?  I know I don't need everything in /dev but do recall
> needing those in the past.  Has this changed since I'm using the init
> thingy?  Am I forgetting one?  I thought there was three.
> 

So, you are not just moving /usr /var and /home but also the rest of
root? In that case it is best to do something like
mount --bind / /mnt/real_root
cp -a /mnt/real_root/* /mnt/new_root

mount --bind binds only the root file system, not any other or temporary
file systems mounted on top of it (like udev, /dev/pts, etc.). That
allows you to copy your static /dev file system (as created by untaring
the stage3).

> Anything else that could be a gotcha?  I plan to move this twice.  Once
> to the spare drive, repartition the OS drive then copy things back over
> again.  It's been a while and with LVM about to be used, I hope it is
> the last time.
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to