LinuxQuestions.org
Register a domain and help support LQ
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 02-20-2004, 03:40 PM   #16
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30

Quote:
Originally posted by santasballz
oh what the heck, i type in:
fdisk -l /dev/hdc

and it works... hmm funny isnt it? when the answer was infront of me all this time... do u know why though? whats dif between hdc and hda


edit: hmm. after adding in the line
/dev/hdc5 /mnt/movies vfat defaults

all of my stuff in /mnt/ is gone.
liek before i had floppy, cdrom and windows in the folder, but they are gone now for some reason
 
Old 02-20-2004, 03:42 PM   #17
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
first drive=hda
second drive=hdb
third drive=hdc
etc.

so if /dev/hdc5 is your new partition....

code:
mkdir /mnt/movies



edit /etc/fstab and add the following line


/dev/hdc5 /mnt/movies vfat defaults 0 0



then run:

mount /dev/hdc5 /mnt/movies
 
Old 02-20-2004, 03:45 PM   #18
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
that's disturbing... what does

ls /mnt

show?
 
Old 02-20-2004, 03:47 PM   #19
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
i did add the line. but now i have a even greater problem. all of the folders under /mnt/ (like floppy, cdrom and windows) and gone, and are replaced with a file with a icon of a foot (GNOME) and when ever i click my mouse on one, it disappears, until i refresh and it comes back again. but the file isnt a folder and after using the mount command i still dun got anything in the folder.

also when i mkdir /mnt/something a file is created, not a folder (the file with the GNOME foot icon) and when i click on it, it disappears
 
Old 02-20-2004, 03:48 PM   #20
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
ls /mnt shows


d/ recycler/ system v/ windows/



(i dunno what recylcer and system v are, before they were floppy and cdrom i believe)
 
Old 02-20-2004, 03:51 PM   #21
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
when you edited /etc/fstab, you didn't accidentally nuke part of the file did you?

how about ls -l /mnt
 
Old 02-20-2004, 03:53 PM   #22
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
it shows:
drwxr--r-- 6 root root 4096 Feb 20 12:44 d/
drwxr--r-- 3 root root 4096 Feb 19 20:16 recycler/
drwxr--r-- 3 root root 4096 Feb 19 20:16 system v/
drwxr--r-- 2 root root 4096 Feb 20 12:44 windows/

i dun think i nuked the file, i even backed it up before editing it, and i replaced the edit one with the original one, and i still get the same problem
 
Old 02-20-2004, 03:58 PM   #23
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
looks like it mounted /dev/hdc under /mnt instead of /mnt/movies...

didja do the mkdir /mnt/movies?

what's in /etc/mtab

BTW fstab == filesystem table mtab == mounted filesystem table
 
Old 02-20-2004, 04:21 PM   #24
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
i restarted my computer, and the folders came back, i'll retry mounting the partition
 
Old 02-20-2004, 04:35 PM   #25
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
any luck?
 
Old 02-20-2004, 04:48 PM   #26
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
yep, thx it works now
under root, i can put files onto my newly created fat32 hard drive, but i can't seem to be able to copy any files from it... even under root.
 
  


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
Unsure of process blakeless Linux - Software 3 03-21-2005 09:57 PM
Partitioning Question gamedev86 Linux - General 5 03-01-2005 08:13 PM
Upgraded, now unsure andrakos Fedora - Installation 2 04-24-2004 10:28 PM
Unsure ISO Aktionman Linux - Newbie 2 11-17-2003 06:44 PM
Partitioning Question MrJBot Linux - Newbie 12 10-21-2003 08:36 PM


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