[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Theoretical drive swapidge.



On Sat, Mar 20, 2010 at 8:30 AM, Sjoerd Hardeman
<sjoerd@lorentz.leidenuniv.nl> wrote:
> Probably the easiest way is to get yourself a usb 2.5'' sata case. Get
> the old drive out of your laptop and put the new one in. Boot with a
> live cd (knoppix, debian) and make the partitions to your liking on the
> new drive. Then, mount both drives and do a cp -a /media/olddrive
> /media/newdrive.
> Finally, chroot to /media/newdrive, do a grub-install /dev/sda (or
> whatever other device your new drive is mounted on), and check that if
> you have a swap partition the pointers in /etc are still okay. When
> done, reboot. If things fail, you'll always have your old drive as a
> safe backup.

thanks for that idea as well. that one seems quite doable and foolproof.


Reply to: