home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] hard drive replacement how to,



From: "Andres Paglayan" <andres@paglayan.com>
Sent: Friday, June 02, 2006 12:24 PM

> no, they are not identical,
> if I use the tar untar method,
> how do I get the new one to be bootable?

  Once you tar/untar your stuff, you can chroot to your new drive and run 
the boot loader.

  For example, your new drive is hdb and you've mounted it on /mnt/new, you 
might 'chroot /mnt/new /bin/bash', then, assuming you have grub and your 
boot partition is first, you would run 'grub' and use 'root (hd0,0)' and 
'setup (hd1)', then 'quit'.  This assumes your next step is to move your new 
drive to hda.


  Otherwise, install your new drive as primary, your old drive as whatever, 
boot from rescue CD, tar/untar as desired, chroot to new drive and run boot 
loader as needed.  This method has the advantage that you don't have to 
think around corners when you install the boot loader.  Then you just remove 
old drive.

  Are you loving the number of responses/ways to do this?





Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache