New hard disk
Tom Buskey
tom at buskey.name
Tue Nov 28 15:45:11 EST 2006
On 11/28/06, Ben Scott <dragonhawk at gmail.com> wrote:
What Ben said in the previous message
> First: Always, *ALWAYS* make a backup of everything before messing
> with partitions, filesystems, and/or disks.
Yep.
>
> PartitionMagic can handle FAT, NTFS, Linux partitions, so you're in
> good shape there.
QTparted is on Knoppix and also works well. And it's free.
> Quick procedure:
>
0) defrag the windows partition. It will shrink the ammount of data
that needs to be moved around.
> 1. Make a backup.
> 2. Partition the new drive however you like. Include a Linux partition.
> 3. Boot your current Linux install.
> 4. Switch to single user mode (run "init 1" as root). This makes sure
> there are no files open under the /home directory.
> 5. Mount the soon-to-be home partition on the new drive on /mnt/tmp or
> something like that. (Yell if you need help with the mount commands.)
> 6. cp -a /home/* /mnt/tmp/
> 7. mv /home /oldhome
> 8. umount /mnt/tmp
> 9. Edit /etc/fstab and add or change a line for the new drive's new
> /home partition. Yell if you need help with this.
> 10. mount /home
> 11. Make sure it mounted okay.
> 12. Switch back to multiuser mode. Login. Make sure everything looks good.
> 13. After you're confident everything moved over okay, do "rm -rf
> /oldhome" to free up the disk space.
> 14. Use Partition Magic to shrink the Linux partition(s) on the first
> disk and then grow the 'doze partitions.
Or QTparted :-)
>
> Did I mention that backups are important?
Never hurts to say it again. Backup before proceeding.
More information about the gnhlug-discuss
mailing list