LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   why i dont see any other HD of my comp? (https://www.linuxquestions.org/questions/linux-hardware-18/why-i-dont-see-any-other-hd-of-my-comp-164578/)

gujuboy 03-31-2004 11:45 AM

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

320mb 03-31-2004 11:53 AM

did you add the drive to /etc/fstab??

aaa 03-31-2004 12:00 PM

'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

gujuboy 03-31-2004 03:24 PM

waht...........?
 
sorry i m newbie 2 linux.. so i dont know all coding.. n stuff...
so u got guyz tell me in baby steps ... :(

geesh 03-31-2004 06:40 PM

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

aaa 04-01-2004 06:55 AM

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.

gujuboy 04-01-2004 06:33 PM

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

MS3FGX 04-01-2004 08:52 PM

What is there to explain? Use some sort of text editor, and make the changes aaa talked about.

gujuboy 04-01-2004 09:35 PM

wehre...?
 
make changes where.. n wat file...?

JerryMcFarts 04-01-2004 09:57 PM

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

aaa 04-02-2004 07:10 AM

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.

gujuboy 04-02-2004 05:50 PM

o k soo...
 
i go into terminal type : fdisk -l ?
second... i open any text editor... and type: /etc/fstab ?

J.W. 04-02-2004 07:30 PM

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.

gujuboy 04-02-2004 09:13 PM

:( :( :( :(
 
OMG........ thiz iz killing. me :( :( :(

aaa 04-05-2004 06:57 AM

'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.


All times are GMT -5. The time now is 06:50 PM.