LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-16-2003, 07:44 PM   #1
Boston Dave
Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
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
 
Old 08-16-2003, 08:13 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
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.
 
Old 08-16-2003, 08:19 PM   #3
Boston Dave
Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
OK, How would I reinstall from scratch?
Swap the hard disk master and slave jumpers and boot form the boot-floppy?
Other suggestion?
 
Old 08-16-2003, 08:20 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
Do you not still have the install CDs?
 
Old 08-16-2003, 08:22 PM   #5
Boston Dave
Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 08-16-2003, 08:29 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
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.
 
Old 08-16-2003, 08:37 PM   #7
Boston Dave
Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 08-16-2003, 08:45 PM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
Well, there's no reason not to use both is there?

Anyway, good luck and let us know how you did...
 
  


Reply


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
Trouble Dual Booting W2K On main drive and Linux Mandrake 10.1 on partitioned slave. Kavon89 Linux - Newbie 15 09-10-2005 04:22 PM
problems with update from 9.2 to 10.1 on partitioned drive xorb Mandriva 6 04-04-2005 04:00 AM
how to access windows folders from linux on a partitioned drive nickiv Linux - General 2 03-24-2005 04:37 AM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 08:22 PM
Software RAID - on one partitioned drive gte704p Linux - Hardware 6 11-22-2003 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:51 AM.

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