Upgrading the hard drive on your Linux Laptop
Following are general steps to take when upgrading the hard drive in your laptop.
Connect the new HD, either via a USB or PCMCIA connector
Partition the new HD as you would like and mount the new partitions
Copy individual partitions from your existing HD to the new HD. Don't worry about copying the /proc and /tmp directories.
cp -ax /boot/* /mnt/hde2/
Edit /boot/grub/grub.conf and /etc/fstab on the new partitions to reflect the new partitioning scheme
Install grub onto the bootloader of your desired drive. In this example, the new boot partition is currently /dev/hde2
grub
device (hd0) /dev/hde
root (hd0,1)
setup (hd0)
quit
Shutdown system, replace hard drive, cross fingers, and boot!
If you made a mistake and are unable to boot, you should be able to boot into rescue mode off an installation disk and correct what's needed.
--
DevinBougie
- 06 Oct 2004
This topic: Computing
>
WebHome
>
LinuxLaptop
>
UpgradeHD
Topic revision:
06 Oct 2004,
DevinBougie
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki?
Send feedback