Duplicating drives (different sizes).
From: John Wrate (lolo8000_at_hotmail.com)
Date: 03/21/04
- Previous message: John Thompson: "Re: I want install Red Hat Linux, but I can't resize a partition in Windows XP."
- Next in thread: sean: "Re: Duplicating drives (different sizes)."
- Reply: sean: "Re: Duplicating drives (different sizes)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Mar 2004 18:30:14 -0800
Hi all,
I have a Linux system which runs on an 8 Gb. IDE hard disk. I have a
second 20 Gb drive that I want to use as the main drive.
This is how the mounting looks like right now:
/dev/hda1 on / type ext2
/proc on /proc type proc
/dev/hdb1 on /back type ext2
With hdb1 being the larger newer drive.
I have made copies (cp -au) of all files from hda1 to hdb1 and hdb1
also has a "swap" file configured. So basically I have a copy of
everything on hdb1 and I want to make it the main drive.
I have also e2fsck /dev/hdb1 and everything seems fine.
Finally, I have issued the following command to make hdb1 bootable:
lilo -r /back
Is this enough? I mean, if I shutdown the system and connect the 20
Gb drive(now /dev/hdb) so that it is the only system drive should it
boot?
I know both drives contain the exact same files, but I don't know if I
have set up the MBR correctly in the second drive by just issueing the
lilo -r command.
Any help will be very much appreciated.
- Previous message: John Thompson: "Re: I want install Red Hat Linux, but I can't resize a partition in Windows XP."
- Next in thread: sean: "Re: Duplicating drives (different sizes)."
- Reply: sean: "Re: Duplicating drives (different sizes)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|