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? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-16-2003, 07:44 PM
|
#1
|
Newbie
Registered: Aug 2003
Posts: 8
Rep:
|
How do I get new IDE drive partitioned
Hi,
I'm new to this forum and Linux. I successfully installed RedHat 9 on a PC133 with 64M RAM and 2G drive. This gives no graphical interface, just shell. I added a new 40Gig Western Digital IDE drive today. Need to get Linux to recognize the drive. How do I get that nice disk druid back to partition it? Or should I do it some other way. fdisk is scary - ouch. Then I plan to install the applications that I couldn't load on the first hard drive.
TIA,
Dave
|
|
|
08-16-2003, 08:13 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
That's kind of a tough question.
I think this has been raised before, but I am not sure if disk druid can be used independant of the installer. It is a moot point anyway, as you mentioned you do not have X installed. You will have to use fdisk, it isn't really that difficult. Another option is the (slightly) more user friendly cfdisk.
Another thing you have to keep in mind is that you can not arbitrarily start installing software on the new harddrive, as Linux expects certain things to be in certain directories.
If you have your entire system on one partition now (the 2G) then you will want to move a couple of directories to the new drive. /usr is a good one, because that is where the bulk of your software is installed. /home is another good choice. To do this you need to create the partitions on your new HD, create filesystems on them, cp your current /usr directory onto the new partition, then update /etc/fstab to point to it.
As far as linux recognizing the drive, just install it and boot. depending on the ide channel it is on it will be referred to as /dev/hd{b,c,d}
This is crap windows advice I know, but if you are just starting out with linux it may be easier for you to just reinstall after installing your new HD. Then you can use disk druid to spread linux over your 2 hd's as you please.
Doing it manually will certainly not be easy for a beginner, but if you really want to go this route I can walk you through it...
Last edited by bulliver; 08-16-2003 at 08:20 PM.
|
|
|
08-16-2003, 08:19 PM
|
#3
|
Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
OK, How would I reinstall from scratch?
Swap the hard disk master and slave jumpers and boot form the boot-floppy?
Other suggestion?
|
|
|
08-16-2003, 08:20 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Do you not still have the install CDs?
|
|
|
08-16-2003, 08:22 PM
|
#5
|
Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
Yes, I have the install CDs.
But it knows that I have installed RH9 and doesn't care about me any more. How do I tell it to reinstall.
|
|
|
08-16-2003, 08:29 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
First things first, back up any important files you may have, if you have none, fine.
Second: physically install your new HD.
Third: just put disk 1 in your cdrom and reboot. When you get to it, choose manually partition with disk druid. Erase all current partitions. Create new ones, and make sure they are spread over your two disks.
My suggestion: Put / (ie: the root filesystem) on /dev/hda (your 2G HD) and put /usr and /home and your swap partition on the new HD.
|
|
|
08-16-2003, 08:37 PM
|
#7
|
Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
When you say "install the new HD" I assume you mean to remove the old one. I will try that.
THis morning I already installed the new one in addition to the old one (old one as master, new one as slave both on primary IDE controller), but I will disconnect the old one (with RH9) and set the new one as "single".
Thanks for your help - o/of to watch a movie now.
|
|
|
08-16-2003, 08:45 PM
|
#8
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Well, there's no reason not to use both is there?
Anyway, good luck and let us know how you did...
|
|
|
All times are GMT -5. The time now is 02:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|