Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-03-2006, 09:03 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 2, Fedora Core 6, UNBUNTU
Posts: 22

Rep: Reputation: 15
Hard drive upgrading

I have an old 10gb hard drive and I wanted to upgrade and put in a 30gb drive. I put the 30gb drive in the machine as a slave. My Drives are /dev/hda = 10gb original, /dev/hdb = CD-Rom, and /dev/hdc = 30gb.

hda partitions: hda1 = 1gb /boot, hda2 = 8.8gb free space, hda3 = linux-swap 200mb (I think they were around these values)

I used the command: dd if=/dev/hda of=/dev/hdc

Now my 30gb drive has an exact copy of hda.

hdc1 = 1gb /boot, hdc2 = 8.8gb free space, hdc3 = linux-swap 200mb, hdc4 = 20gb free space.

I took out the 10gb drive and put in the 30 and the computer is exactly the same as before, but I want to use the extra 20gb of space. Iím not sure what type of partition to make hda4 (was hdc4). Just experimenting I made hda4 the standard ext3 and then mounted it. It worked, but I have to mount the drive every time I reboot.

Would be nice to have a little more of an explanation if someone would be so oblgiged. I did read and looked around the internet for more help, but most of it is over my head yet.
Old 08-03-2006, 09:20 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
What do you want to do, have hda4 mount automatically when you boot? That's what is sounds like to me.

First, create a mount point.
# mkdir /new_20GB_mount_point
Second, edit /etc/fstab to tell the system where to mount it.
# gedit /etc/fstab
Add a line to fstab such as
/dev/hda4  /new_20GB_mount_point   ext3   defaults   0 0
Third, reboot and your new 20GB volume should be mounted at /new_20GB_mount_point.

Here is a short primer on editing fstab.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
upgrading laptop hard-drive microsoft/linux Linux - Laptop and Netbook 28 03-01-2006 09:34 AM
Upgrading to 9.1 Professional via same hard drive drunkardhu SUSE / openSUSE 2 03-31-2005 09:17 PM
upgrading hard drive pi_squared Linux - Hardware 5 12-21-2004 07:12 PM
Upgrading Hard Drive Comatose51 Linux - General 1 09-06-2003 12:42 AM
Upgrading from Redhat 8.0 to 9.0 from hard drive koiphish Linux - General 5 07-05-2003 01:47 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:36 AM.

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