[ILUG] Adding a hard disk ....
frlinux at gmail.com
Wed Jul 14 10:13:06 IST 2004
On Wed, 14 Jul 2004 09:57:21 +0100, Declan Grady
<declan.grady at nuvotem.com> wrote:
> How can I restructure this, without losing any data.
> i.e. I want to :
> 1. Shutdown box
> 2. insert new drive (probably as hdb, as I currently have one hda drive
> and one hdc cdrom.)
> 3. power up box
> 4. somehow partition extra drive, and move data form existing structure
> to new mountpoints
> I dont know how to do this.... If i create a new /var/spool partition,
> how do I get at the data in the current /var/spool directory ?
You've got several possibilities. Depending on weither you want to
keep your existing drive or replace it. I've oftenly installed the new
drive as hda and the existing drive with data as hdb then used a
'replace_with_your_linux_flavor' liveCD then booted on it and
partition the new hda, copied all directories with preserving
ownership (rsync is your friend here) then chroot to the new hda and
run lilo/grub, remove liveCD, hdb and try to boot up.
"Step by step, penguins are taking my sanity apart ..."
More information about the ILUG