Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Installation Support

Post new topic   Reply to topic
Moving OS from PATA to SATA drive
View previous topic :: View next topic  
Author Message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Mon Jul 01, 2013 9:01 am    Post subject: Moving OS from PATA to SATA drive Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1738
Location: Greece

PostPosted: Mon Jul 01, 2013 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Mon Jul 01, 2013 9:39 am    Post subject: Reply with quote

thank, I will try it today evening
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Installation Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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