LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-29-2006, 02:01 AM   #1
GadgetWiz
LQ Newbie
 
Registered: Feb 2006
Location: In a Secret Lab
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
Migrating FC5 Default Install to Larger Hard Drive


Greetings,

I've outgrown my 30gig IDE drive and wish to migrate my fully updated FC5 install to a 120gig drive, which would give me an additional 90gig.

I used the FC5 default installation so there's no custom part's or windows part's to worry about.

I was thinking this should be a simple matter but apparently not.

My first attempt involved installing FC5 (minimum install) from the install DVD to the 120gig. I then tried using Ghost for Linux (g4l) but the clone option (hdc-hda) resulted in the same size partitions that I started with. After cloning, I looked at the system under with the LVM (clear as mud) tool and it showed the remaining 90gig as unpartitioned and it included /root.

My 2nd attemp involved installing FC5 (minimum install) from the install DVD to the 120gig. I then tried using Ghost for Linux (g4l) and cloning only the 2 partitions (hdc1-hda1 & hdc2-hda2) but again, the clone option resulted in the same size partitions that I started with. After cloning, I looked at the system under with the LVM tool and I don't see the additional 90gig at all.

Frustration has set in.

This is what I ended up with after 2nd attempt...

Code:
[root@localhost ~]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14       14593   117113850   8e  Linux LVM

Disk /dev/dm-0: 29.3 GB, 29326573568 bytes
255 heads, 63 sectors/track, 3565 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 536 MB, 536870912 bytes
255 heads, 63 sectors/track, 65 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table
I simply want to clone my drive and extend the partitions to include the extra capacity of the new drive.

I'm sure you FC5 peeps must do this kind of thing all the time and would appreciate any assistance, hints or a link to a how-to.

Thanks!!
 
Old 09-29-2006, 05:12 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
before other good suggestion

Quote:
I simply want to clone my drive and extend the partitions to include the extra capacity of the new drive.
i know what u need but why not just add the second drive become hdb or hdc and label it and u will have 2 drive can work together

or if you cant do that option,

backup the whole thing from you 30gb disk with tar and
set new drive and install minimal then untar the whole thing u backup from your old drive to this new drive

so u will have everything same as old drive with new size of hdd

 
Old 09-29-2006, 05:22 AM   #3
narendra.pant
Member
 
Registered: Mar 2006
Posts: 86

Rep: Reputation: 15
???? sry to hack ... but

ok
if we tar tha whole thing from the previous installation .
n put it there in the new one thn dun yu think that partition tables wud go wrong and a alot of other entries which included the references to the hard drive wud not function as it wud not get the correct drive address ,,??
 
Old 09-29-2006, 05:53 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
--exclude proc --exclude dev

so far no problem with me but once up i simply yum update to check if any else need

erm... forgot to tell, i am primitive linux user , not or never use lvm

i dont see any good with this lvm
 
Old 10-03-2006, 08:25 AM   #5
coontie
Member
 
Registered: Jun 2003
Distribution: Fedora Core 5
Posts: 100

Rep: Reputation: 15
what is that you need from the old system to be on the new system? your home directory?

- set the new 120g as a master & the other HD as a slave (in IDE world)
- do a fresh install of fc5 onto the 120g HD
- copy data as needed from the old hd onto the new HD

voila.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating configuration onto a Windows hard drive? cautious Ubuntu 2 08-26-2006 11:30 AM
Fedora Core 4 External Hard drive on FC5 mrground Linux - Hardware 1 03-24-2006 04:25 PM
smaller drive to larger drive duplication mystery midlifecrisis Solaris / OpenSolaris 6 02-01-2006 07:23 AM
Migrating To Larger HD Terje Linux - General 3 07-21-2004 11:53 AM
Migrating gentoo install to new hard drive. Joe_Bogarde Linux - General 5 09-09-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration