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 03-31-2004, 11:45 AM   #1
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Rep: Reputation: 15
why i dont see any other HD of my comp?


i dont see my other Hard Drive that i have in my comp... i went to /mnt directory but still its not there...? is there any way i can go in my HD?

i m useing Red Hat 9!

Thx
 
Old 03-31-2004, 11:53 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
did you add the drive to /etc/fstab??
 
Old 03-31-2004, 12:00 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'fdisk -l' will list all your partitions.
To access the partitions, you need to mount them (as root):
mkdir /mnt/newpartition
mount /dev/[parititon you saw in fdisk] /mnt/newpartition
To do this automatically at boot and/or let regular users access the partition, you put a line in the /etc/fstab file (this line is for a FAT32 partition and lets all users access):
Code:
/dev/[parititon you saw in fdisk] /mnt/newpartition vfat defaults,umask=0 0 0
 
Old 03-31-2004, 03:24 PM   #4
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
waht...........?

sorry i m newbie 2 linux.. so i dont know all coding.. n stuff...
so u got guyz tell me in baby steps ...
 
Old 03-31-2004, 06:40 PM   #5
geesh
Member
 
Registered: Feb 2004
Posts: 53

Rep: Reputation: 16
I was at the plce you are now not so long ago, the easiest and fastest way to find a solution is to use the search...It's been my saving grace and trust me the answer your seeking is there.. I've found I learn more and learn faster by finding solutions than by being held by the hand...Good luck

Greg
 
Old 04-01-2004, 06:55 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
At a command line, type 'fdisk -l'. This will give you the names of your partitions. Then use a text editor to add an appropriate line to the /etc/fstab file (ie the line I provided with the partition you want inserted).
'mkdir' makes a new folder. You will need a folder to mount your partition to. Then, after the partition is mounted, the stuff in it will appear at that folder.
 
Old 04-01-2004, 06:33 PM   #7
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
ummm... kinda...

umm i didnt get thiz part...

"Then use a text editor to add an appropriate line to the /etc/fstab file (ie the line I provided with the partition you want inserted)."

explaine me again :-D
thx
 
Old 04-01-2004, 08:52 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
What is there to explain? Use some sort of text editor, and make the changes aaa talked about.
 
Old 04-01-2004, 09:35 PM   #9
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
wehre...?

make changes where.. n wat file...?
 
Old 04-01-2004, 09:57 PM   #10
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Rep: Reputation: 15
Go to the terminal its your command line. then you will want to use a text editor like vi or pico or emacs and you want to go into the directory
/etc
then type:
"your editor" fstab

this will get you to the file, then go from there
 
Old 04-02-2004, 07:10 AM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Editors you can use:
pico
nano
vi
For example, switching to root and editing with pico:
su -
pico /etc/fstab

Then just add the line.
 
Old 04-02-2004, 05:50 PM   #12
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
o k soo...

i go into terminal type : fdisk -l ?
second... i open any text editor... and type: /etc/fstab ?
 
Old 04-02-2004, 07:30 PM   #13
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Dude - if you have never actually used a text editor before, I would not advise attempting to update your fstab file, as the chances would be pretty high that you could mess something up and injure your system. (It's not exactly a good idea to use fstab as a guinea pig to learn about how to use an editor.) You need to spend some time doing some reading, and working with a few tutorials first. This is a good place to start: http://www.faqs.org/docs/linux_intro/chap_06.html

As has already been suggested several times before, the command to view your partitions is "fdisk -l". Updating your fstab to include a line for a new partition will cause that specified partition to be mounted automatically, however, you can always manually mount a partition by entering the command: mount /dev/<partition> /<mountpoint>

where <partition> is the partition name, and <mountpoint> is the directory you want to use (for instance, /mnt/backup_drive or whatever you might have called it). Based on your posts thus far, I would suggest you stick with manually mounts until you are comfortable with that action, and then you can add those entries to your fstab. Good luck with it -- J.W.
 
Old 04-02-2004, 09:13 PM   #14
gujuboy
Member
 
Registered: Feb 2004
Posts: 52

Original Poster
Rep: Reputation: 15
:( :( :( :(

OMG........ thiz iz killing. me
 
Old 04-05-2004, 06:57 AM   #15
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'su -' switches you to root. 'fdisk -l' will list your partitions so you know what the partition you want is called. 'mkdir' makes a directory. 'mount' makes the partition accesible. So type this:

su -
fdisk -l
mkdir /mnt/windows_c
mount /dev/hda1 /mnt/windows_c

The Windows stuff should now appear in the /mnt/windows_c directory. I'm guessing your Windows partition is called hda1. You can try the other names 'fdisk -l' gives you.
 
  


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
how to do: using a linux comp to act as router for a windows comp grimhammer Linux - Networking 8 02-10-2005 09:56 PM
Put MDK 10 on friends comp, want to install ATI drivers. Dont want to FooBar it up! RHLinuxGUY Mandriva 8 07-20-2004 06:38 AM
new to linux dont what distro to use dont no much command xman2007 Linux - Newbie 3 01-02-2004 05:32 PM
New comp v's old comp SirLaughAlot General 12 12-21-2003 11:39 AM
couldn't ping a WinXp comp from Fedora Comp tanbetien Fedora 5 12-04-2003 06:03 AM

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

All times are GMT -5. The time now is 12:34 PM.

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