You are not logged in.

#1 2007-06-25 02:01:49

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

move installation from ide to sata disk

Hi.

I have Arch installed on an IDE disk and I am using kernel 2.6.21.5
My fstab refers to the partitions as hda1, hda5…

I want to move the installation to a SATA disk with the following steps
1) boot into Arch and change fstab hda1->sda1....
2) shutdown the pc
3) replace the ide disk with the sata disk
4) clone the ide disk to the sata with ghost from ghost live cd
5) boot arch

Is this enough? I think grub still uses hd and not sd so there is no need for changing something in menu.lst, right?

Is it better to do it with dd and not with ghost?

any other suggestion?

Offline

#2 2007-06-25 04:42:45

sash
Member
Registered: 2005-10-16
Posts: 155

Re: move installation from ide to sata disk

Looks good. For copying the install I usually just use cp while booted into rescue mode with the install cd:

cp -a /mnt/hda1/* /mnt/sda1/

If you run into problems the install cd can provide you with a rescue system to correct things.

Offline

#3 2007-06-25 07:46:34

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: move installation from ide to sata disk

Grub's menu.lst needs to be changed yeah. Last time When I moved my install I was using Gparted (live cd), worked just fine for me.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#4 2007-07-05 07:20:04

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: move installation from ide to sata disk

thanks.

I had also to change menu.lst

everything went fine.

Offline

Board footer

Powered by FluxBB