You are not logged in.

#1 2009-04-18 13:42:40

Breakage
Member
From: London
Registered: 2008-02-12
Posts: 198
Website

Moving slave HDD with Arch install over to master. Grub.. UUID's?

I'd like to remove my current master hdd which has windows & grub running on it and swap over my slave hdd thats running arch over to master and install grub to that. Basically get rid of the hdd running windows.

I'm a bit confused, and don't want to mess up my arch install.

Could someone help me out please.

The current master drive is on sda1 and I think that arch is running on sdb, but i'm confused by the new UUID system.

Here's my fstab:

none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 /mnt/HDD ntfs-3g users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002 0 0
UUID=3e123342-251d-4674-804c-b945e673e811 /boot ext2 defaults 0 1
UUID=64209993-d1c4-4d1c-8f0a-9ba7ac09c45b swap swap defaults 0 0
UUID=885f4547-2435-4e7c-abe7-2781f33614d4 / ext4 defaults 0 1
UUID=92327826-f4df-4b40-ae26-53a1f63a9ac4 /home ext4 defaults 0 1

And my menu.lst:

timeout   5
default   0
color light-blue/black light-cyan/blue

# (0) Linux
title Linux
root (hd1,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/885f4547-2435-4e7c-abe7-2781f33614d4 ro vga=773
initrd /kernel26.img

# (1) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

How should I go about doing this? I have the current ftp install disk ready.

Last edited by Breakage (2009-04-18 13:45:40)

Offline

#2 2009-04-18 16:22:36

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Moving slave HDD with Arch install over to master. Grub.. UUID's?

Fstab seems almost good as it is (the /dev/sda1 entry will not be valid anymore I suppose), menu.lst should be updated since the hard disk will be hd0 (instead of hd1) when you move it, the rest seems ok.
You will also need to install grub into that disk, search the wiki/google on how to install/restore grub to the hard disk and it should be all you need, if I'm not forgetting something that is.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2009-04-18 17:04:21

Breakage
Member
From: London
Registered: 2008-02-12
Posts: 198
Website

Re: Moving slave HDD with Arch install over to master. Grub.. UUID's?

Thanks, didnt think it would be as simple as that.

Will give it a shot.

Offline

Board footer

Powered by FluxBB