|
[SMS] - Superb Mini Server Project Support Forum |
 |
|
 |
View previous topic :: View next topic |
Author |
Message |
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Mon Jul 01, 2013 9:01 am Post subject: Moving OS from PATA to SATA drive |
|
|
Hi, my old 5gb Seagate drive with system is almost dead, i need to move system to new drive so I bought cf_to_sata converter and 8gb CF card
i know that address for the drive will change from hda to sda, how to handle this ?
generally: how to move structure from one drive to another ? i mean in linuks, or maybe i can simply use ghost ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Jul 01, 2013 9:31 am Post subject: |
|
|
If you run a very old version of SMS with old libata and your disk recognized as /dev/hda you need to change /etc/fstab and /etc/lilo.conf entries before booting you new disk...
To clone your disk, plug both disks, boot from SMS live cd, partition your new disk and mount disks with partitions like boot e.g.
Code: | mount /dev/hda2 /mnt/hda
mount /dev/hda1 /mnt/hda/boot |
and do simple a
Code: | cp -a /mnt/hda/* /mnt/sda/ |
and when it finishes run lilo after edit it with your new sda devices like
Code: | lilo -C /mnt/sda/etc/lilo.conf |
shutodown, unplug your old disk and you are done...
If you need any help let me know..
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Mon Jul 01, 2013 9:39 am Post subject: |
|
|
thank, I will try it today evening |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
 |
 |
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
 |
|
|