From: Vincent Cunniffe (vcunniff at domain arbgroup.com)
Date: Fri 04 Feb 2000 - 13:22:34 GMT
> My next step is to re-arrange my first hard drive. I can use the same trick to
> back-up /home to a sub-directory of /var for the moment. I am just concerned
> about / and swap.
swapon /dev/hda3 (or whatever is relevant)
swapoff /dev/hda3
Runtime, of course ;-)
So, just switch it off, move it, and switch it back on again.
> Is swap initialised in single-user mode? Even if it is, I should be able to just
> un-initialise it, right? The most worrying point is messing with /. I do have
> two 800M partitions set aside for CD images, so I should be able to copy / to
> there, and then burn it to CD. But how do I copy / without including /home,
> /var, /usr and /opt? I just want an exact copy of the partition. is there a
> command I can use to copy a partition directly, rather than having to work with
> the entire file system? That way I could just say copy /dev/hda2 and be done
> with it. I think I'll also copy my kernel to floppy, and change the floppy to
> boot from CD for the time being. What was the command for changing the root
> device?
>
> Thanks again for all your help and understanding. Little by little, this UNIX
> stuff is sinking in. I am hoping to get some training courses in UNIX soon, then
> I can start helping others and stop bothering everyone on this list.
No, then you can lurk on the listy and let others bother you ;-)
Vin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:21 GMT