LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2003, 12:34 AM   #1
Kapitan
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Harken to me, for my Linux begets trouble


Though these hands fought many a battle, defeated many a foe, trounced peasants and programmers alike who stood in my way, my soul is troubled when my Linux dares to disobey my commands. I request that the learned among you help one who is better than you, and answer my question:

How do you change drives? Linux doesn't seem to have a letter system to refer to different drives, like a "c" ... or perhaps a "d" for the more adventurous. I clicked the mouse randomly several times and then Linux inquired whether I wanted to mount the other drive. As sexy as that sounds, when I was presented with FFS types, naughty options, the Super-cock-block on /dev/hdm and an error involving too many mount options, I could not choose which mount option to take, for, as it said, there were too many.

Last edited by Kapitan; 07-18-2003 at 12:48 AM.
 
Old 07-18-2003, 12:43 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Rrright... (Dr Evil Style)



In Linux there is a different style of disk access. Linux has a tree filesystem structure, everything is below / What you need to do to access different disks is simply mount them. But first, what to mount? As root type into a terminal:
fdisk -l
This will display information about your drive(s) and their partitions. From there you have to mount a partition at a mount point (a mount point is simply a directory). So first we need a directory to exist, so as root type:
mkdir /mnt/files
I use /mnt because that's the "normal" location to mount devices after boot up, but you can mount it in any empty directory you'd like. So now to mount the device..
You will need to know the filesystem that the partition contains, assuming it was a fat32 paritition, and fdisk -l reveals it to be /dev/hda5 then you'd mount it with:
mount -t vfat /dev/hda5 /mnt/files -o users,umask=022

Of course a lot of this depends on your distro, so you might wanna tell us which distro you have.

Oh, and for learned in your statement, I would have used learn-ed to pronounce it correctly

Cool
 
Old 07-18-2003, 12:58 AM   #3
Kapitan
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Damn you and your actually helpful answer. Anyway, I typed your command and it gave me the following error: "mount: wrong fs type, bad option, bad superblock on /dev/hdb1, or too many mounted file systems".

I think the problem may have started when I repartitioned the hard drive. Originally when I typed "fdisk -l" hdb1 was a linux swap. I deleted the partition and created a new one. It gave me the message: "error 16: device or resource busy", but now it's a Linux drive.

I'm using Redhat 9.

Quote:
Originally posted by MasterC
Oh, and for learned in your statement, I would have used learn-ed to pronounce it correctly
That's why you're not me.

EDIT: I sliced up the fstab like I would a mime invading my house and tried again. The drive is now mounted. Thanks for your help masked stranger.

Last edited by Kapitan; 07-18-2003 at 01:08 AM.
 
Old 07-18-2003, 01:03 AM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
Tonight I was at my computer and spilled a little wine on my shirt. And so I go, OUT! OUT! Damned Spot!


Oh, uh... and read this:

http://www.icon.co.za/~psheer/book/rute.html.gz
 
Old 07-18-2003, 01:09 AM   #5
Kapitan
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by itsjustme
Oh, uh... and read this:

http://www.icon.co.za/~psheer/book/rute.html.gz
Astounding. I couldn't find anything to make my eyes glaze over in less then 0.8 seconds and now my long, perilous search is over. I tip my hat to you sir.
 
Old 07-18-2003, 01:23 AM   #6
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45


Here. Check this out also:

http://www.tldp.org/LDP/intro-linux/...ect_03_01.html

Of course, I am probably missing the point of your post, or possibly your diatribe.
 
  


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
Trouble configuring linux Cripple Linux - Newbie 3 11-13-2005 09:39 PM
Trouble installing linux sv_nitc Linux - Hardware 1 09-26-2005 03:30 PM
Trouble installing Linux.... shagnthings Linux - Newbie 5 09-11-2005 09:05 AM
having trouble with linux korn6772 Linux - Hardware 3 07-22-2003 06:40 AM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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