LinuxQuestions.org
Visit Jeremy's Blog.
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 11-08-2002, 12:53 PM   #1
Luythen
LQ Newbie
 
Registered: Oct 2002
Location: Denmark
Distribution: RH 8.0
Posts: 4

Rep: Reputation: 0
Installing n extra hdd in rh 8.0


I run RH 8.0 on my secondary machine. It runs on a 6 gb hd, partitioned in two partitions, one 800 mb swap file, and the rest in the main partition. This is the partition I have installed rh on.

As I said I have just installed a 800 mb hdd, I need to partition this disk, format it, and mount it so I can use it as a secondary disk. But I have no idea of where to begin. I cannot se the disk in /etc/fstab, so I dont know where to start looking for it. I cannot run fdisk on hda3, and I assume that hda1 is my largest partition, and that hda2 is the swap partition.

Can anyone guide me through this??

Just a sidenote
I Had no problems partitioning and formatting when I installed RH, the partition manager were great, easy to use and just as user friendley as partition magic.
 
Old 11-08-2002, 01:11 PM   #2
Widge
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
Talking

I don't pretend to be an expert, so I hope I don't get shot down for this :-/

You're almost right with fdisk - type just

> fdisk /dev/hda

rather than

> fdisk /dev/hda1

since you partition a hard drive, not a partition. There's a help menu once you're in.

To format the partition, quit fdisk (saving changes if required), and use mkfs. Running mkfs.reiserfs should format a partition as reiser, mkfs.msdos as FAT, mk.ext2 etc.... Make sure partition type and format type match - although it should complain if they don't. My distro has these tools (SuSE) - not sure about RedHat...

You can now add the partition to fstab and mount as usual.

Hope that's of some help - let me know how you get on and if any of that's not correct?

Cheers!
 
Old 11-08-2002, 01:21 PM   #3
Luythen
LQ Newbie
 
Registered: Oct 2002
Location: Denmark
Distribution: RH 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks I'il try that, But I am a little confused, if RH can see the new hdd wouldn't it write something in the fstab, or shall I do that myself like when permanently mounting a windowspartition??
 
Old 11-08-2002, 02:02 PM   #4
Widge
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
No linux doesn't add things automagically like that - although there is probably a graphical tool for your distro to add it without having to edit fstab by hand. So basically to the best of my knowledge, yes, you'll have to add it yourself! You can have it automount (if supported by your kernel) by using the appropriate settings in fstab.

Howzat?
 
Old 11-08-2002, 03:12 PM   #5
Smitty-rh
Member
 
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
here is a tutorial:

http://www.linuxplanet.com/linuxpla...torials/4232/1/
 
Old 11-09-2002, 02:53 AM   #6
Luythen
LQ Newbie
 
Registered: Oct 2002
Location: Denmark
Distribution: RH 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Smitty-rh

Worked like a charm
 
  


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
Ubuntu - Installing extra software criminal Linux - Software 4 12-02-2005 10:51 AM
installing with extra windows space Patters Linux - Newbie 2 01-31-2005 03:33 PM
Installing extra software from disk NomadABC Linux - Software 3 01-30-2005 04:29 PM
GRUB + inserting extra HDD = unable to boot bbking Linux - General 4 11-23-2004 08:09 PM
installing FC from hdd. tiger7007 Fedora 1 09-03-2004 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 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