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

Re: How to move debian from one drive to another and keep it working?



> bash#  mount /dev/hdg5 /mnt; mount /dev/hdg2 /mnt/boot/ .... and so on                                                                                                                           
> then..
> 
> bash#  tar cvf - / | (cd /mnt/; tar xvf -) 
> 
> Change the root of the system.
> 
> chroot /mnt                                                                                                                                    
> 
> And then modify grub config files in order to boot from your new hdg drive [ don't
> use grub so I can't help you ]. And execute grub? [ ok I would execute
> lilo to save the changes in the MBR of your new /dev/hdg drive ]
> 
> p.s: Be sure of having a swap partition in your new drive.
> 

p.s#2: Edit your new /etc/fstab and I think that would be enough.

-- 
  Matías Rollán
  <cygar@safesource.com.ar>



Reply to: