LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2003, 07:03 AM   #1
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Rep: Reputation: 0
Disk Drive Woes RH9/Gnome


Hi

I am a linux newbie. Installed RH9 for the first time the other day. The install program part'd the 10gb drive fine and all is working. I wanted to put in a 20gb drive for storage. But allthought RH9 recognises the drive (Hardware Browser).. I dont know how to get it formated and mounted? Disk Management just see's the CDROM drive. Any advice?

as I say.. im a total....
 
Old 09-09-2003, 07:13 AM   #2
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Re: Disk Drive Woes RH9/Gnome

Quote:
Originally posted by WiZeR
Hi

I am a linux newbie. Installed RH9 for the first time the other day. The install program part'd the 10gb drive fine and all is working. I wanted to put in a 20gb drive for storage. But allthought RH9 recognises the drive (Hardware Browser).. I dont know how to get it formated and mounted? Disk Management just see's the CDROM drive. Any advice?

as I say.. im a total....
Just first try to define what kind of device name it has. Actually when it's a second disk it might be /dev/hdb (first is usually /dev/hda. Then mount it, like:

(assume that the file-system is ext2)

mount -t ext2 /dev/hdb /mnt/seconddisk

Make a directory in your /mnt with a name and use that as a mounpoint. Replace the ext2 (if needed) with an other file-system if needed.
 
Old 09-09-2003, 07:39 AM   #3
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for your quick response. The problem is not primarily with mounting it. I need to partition and format it.

PS the second drive is on Primary Slave

Last edited by WiZeR; 09-09-2003 at 07:40 AM.
 
Old 09-09-2003, 07:58 AM   #4
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Quote:
Originally posted by WiZeR
thanks for your quick response. The problem is not primarily with mounting it. I need to partition and format it.

PS the second drive is on Primary Slave
Well in that case try (the most easy one in mine oppinion) cfdisk

Make a partition, and choos a file system-type, correct me if i'm wrong, but I thought 82 is linux-swap and 83 is linux-file-system. There's no format need, unless you'll add something like a msdos file-system.

Then, choose the file-system type you'll like to use. This depends on what you're going to to with your disk. I've written an faq about this, which might be very helpfull. It can be found at: http://www.linuxaddicted.org/index.p...e=getfaq&id=28

Then if you decide to use (for example) reiserfs then type: mkreiserfs /dev/hdb (which should be your second-disk) This will me a readable file-system and ready for data r/w actions.
 
Old 09-09-2003, 08:03 AM   #5
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Original Poster
Rep: Reputation: 0
thanks i will try this
 
Old 09-09-2003, 02:53 PM   #6
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Original Poster
Rep: Reputation: 0
I cant get this to work.. I havent got a clue what I am doing. When I type cfdisk at the prompt it says no such file?

Please can anyone help?
 
Old 09-09-2003, 03:52 PM   #7
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Original Poster
Rep: Reputation: 0
is there not a GUI way of doing it? Can I get Disk Druid up after instalation?
 
Old 09-09-2003, 04:53 PM   #8
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Quote:
Originally posted by WiZeR
I cant get this to work.. I havent got a clue what I am doing. When I type cfdisk at the prompt it says no such file?

Please can anyone help?
try fdisk then ...But if you don't know what to do, then you should get someone, who is going to support you within this story ...This is much to heavy to guess if something is ok or not....
 
Old 09-09-2003, 10:05 PM   #9
gizmogadgetus
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora Core 2
Posts: 71

Rep: Reputation: 15
did you say that your disk management only sees your cdrom drive? It should at least see your first hard drive, etc. If you need to know where your drive is physically located in the /dev tree you can also look at the hardware browser.
 
Old 09-10-2003, 04:56 AM   #10
WiZeR
LQ Newbie
 
Registered: Sep 2003
Location: London
Posts: 7

Original Poster
Rep: Reputation: 0
The hardware browser sees both drives, but only the CDROM is showed in the Disk Management screen.

Daveo: I am asking someone to help me.... here

PS.. Fdisk says invalid command at the prompt too
 
Old 09-10-2003, 05:04 AM   #11
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Quote:
Originally posted by WiZeR
The hardware browser sees both drives, but only the CDROM is showed in the Disk Management screen.

Daveo: I am asking someone to help me.... here

PS.. Fdisk says invalid command at the prompt too
Have you try this below as root ?
root@twister etc # fdisk /dev/hda

The number of cylinders for this disk is set to 3648.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):
 
  


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
Disk priviledge woes! galliar SUSE / openSUSE 6 04-09-2005 06:29 PM
pci modem woes in RH9 joyxf86 Linux - Hardware 1 07-12-2004 08:13 AM
custon boot disk woes... MR835 Linux - Software 0 03-05-2004 06:06 PM
Modem woes in RH9 claudius753 Linux - Newbie 2 01-31-2004 04:37 AM
RH9 Install Woes salvatore Red Hat 1 10-22-2003 09:29 AM


All times are GMT -5. The time now is 08:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration