Moving Ubuntu to a new hard drive

Russell Cook bike_oz at yahoo.com.au
Fri Dec 23 05:55:51 UTC 2005


Hi all,
I've got a small home server with an old disk as the boot drive
(/dev/hdh) and a newer but ltd capacity disck as home (/dev/hda) and
I've just bought a new 300GB hdd for it. 

What I want to know is if there's a simple technique to move the root
and boot partitions to the new drive? I'm, happy enough to edit the grub
installation, but I'm not sure what's involved in maintaining
permissions when copying etc, dev, proc, sbin and other important and
special folders. Is there a tool or technique for this? 

I've fitted the new hdd as /dev/hdc, the old boot drive is /dev/hdh -
don't ask :-). Grub is on the MBR of /dev/hda but boot (and
therefore /boot/grub/...) is on /dev/hdh5. I'm moving root and boot
from /dev/hdh to /dev/hdc1. The tmp and swap partitions are ok and I'll
move them in fstab. /dev/hda is home as lvm and I'm copying that
to /dev/hdc5 which is also an lvm partition. I know I can swap home in
fstab no problems. 

It's just making sure "/" works and I've copied my current breezy
implementation across that I'm not sure of how to do.

Any advice appreciated.
Thanks

Kind Regards Russell
==================
www.windsorcycles.com.au
sales at windsorcycles.com.au
ph. 02 4577 3209
bikes.no-ip.info
Linux user #369094
================== 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051223/b727564a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051223/b727564a/attachment.png>


More information about the ubuntu-users mailing list