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 05-16-2004, 08:51 PM   #1
celticX
Member
 
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Rep: Reputation: 15
Newbie mount ?


Another mount ? sorry all..

I'm running to HD's one scsi and one ide. Xp is on scsi with two partitions one for xp and one 5g fat32 to swap files inbetween linux and xp.

when in linux i goto the hardware manager and it notices the two partitions on the scsi but when i goto terminal and type mount. it only locates the ide drive partitions.

my knowledge is very limited in linux ive only been in it for about 3days now.

how do i get linux to locate that partition? i have some drivers on it i need to update linux with.
 
Old 05-16-2004, 09:00 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,929

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
To see the partitions on the SCSI drive. log in as root and use the fdisk command:
fdisk -l /dev/sda ( that is a small L)

If the partitions where created with XP I would guess the FAT32 partition is /dev/sda5.

BTW what linux distribution are you running? Typing the mount command without options only shows mounted filesystems (not including swap).
 
Old 05-16-2004, 09:00 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
read 'man mount'

the command mount with no parameters prints out the currently mounted partitons.
the scsi partitons are not printed because they are not mounted.

have you added the scsi partitons to '/etc/fstab' ?
if not you will need to be root to mount them.

mount /dev/scsi_partiton_number /mnt/mount_location

i dont have scsi myself, but im sure scsi device's are

/dev/sda0 /dev/sda1 /dev/sda2 s/dev/da3 etc etc etc
 
Old 05-16-2004, 09:14 PM   #4
celticX
Member
 
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Original Poster
Rep: Reputation: 15
yes its sda5. ty ill take a look at that... im running RH9.0

ok fdisk -l locates it as sda5

i then do mount/dev/sda5/mnt/usr/share/swapper

swapper is the folder where i would like everything to be kept.. am I doing this correctly or am I way off? cause that comes up saying file or directory does not exist but the file does.

Last edited by celticX; 05-16-2004 at 09:46 PM.
 
Old 05-16-2004, 10:30 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i assume the missed space between the parameters is a typing error lol.

from the error message, it sounds like you forgot to make the /mnt/usr/share/swapper directory.

mkdir /mnt/usr
mkdir /mnt/usr/share
mkdir /mnt/usr/share/swapper

should do the trick.
 
Old 05-17-2004, 04:17 PM   #6
celticX
Member
 
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Original Poster
Rep: Reputation: 15
ok the mkdir worked great ty

now when i do mount /dev/sda5/mnt/usr/share/swapper i get: can't find in
/etc/fstab or /etc/mtab

did i go about doing something else wrong? very new to linux sorry all... im sure this is really easy
 
Old 05-17-2004, 07:37 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
mount /dev/sda5/mnt/usr/share/swapper
thats the second time you have posted that....
you ARE putting a space between "/dev/sda5" and "/mnt/usr/share/swapper" when you type it inot a command line arnt you ?

the file /etc/fstab is a list of all the disks you are allowed to mount without root access.
run the command line as root... after you know it works, THEN you add it to fstab.

if you can mount /de/vsda5 as root, then open up /etc/fstab as root with a text editor, and add the line.....

Quote:
/dev/sda5 /mnt/usr/share/swapper auto noauto,user,umask=0 0 0
make sure the file ends with a new blank line, then save it.

from now on you should be able to mount without root access with the command line
'mount /dev/sda5'
or
'mount /mnt/usr/share/swapper'
OR.. you can change the word "noauto" to read "auto" and the disk will be automatically mounted dureing boot up.
 
Old 05-20-2004, 04:44 PM   #8
celticX
Member
 
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Original Poster
Rep: Reputation: 15
AHHH the space goes there...

thankyou for the help qwij ill give that a try
 
Old 05-20-2004, 05:14 PM   #9
Farseer3
LQ Newbie
 
Registered: May 2004
Posts: 15

Rep: Reputation: 0
Yup - 99.9% of the time commands you input on the command line will have the form of
Code:
command parameter1 parameter2   and etc...
In other words, you always follow a command with a space and separate the parameters with spaces. And that's bassically on any operating system - not only linux or unix. DOS works the same way...
 
Old 05-20-2004, 05:41 PM   #10
celticX
Member
 
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Original Poster
Rep: Reputation: 15
thankyou all for the help i now have my drive, and my drivers from that drive from realtek to install my wiresless lan 8180L... off to the forums to learn how to do that... hopefully in a couple of days i will be able to finaly use the internet on linux and not have to boot back a forth from XP...
 
  


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
newbie mount problems ruzle0 Mandriva 6 09-16-2005 03:09 PM
newbie on debian trying to mount cdrom javier_ccs Linux - Hardware 18 09-08-2005 05:02 PM
mount questions (newbie question) roc Linux - Software 6 07-25-2005 06:50 PM
newbie problems with mount Harp00 Slackware 19 01-29-2004 10:00 AM
mount Windows...from a newbie ashesh Linux - General 4 02-04-2003 07:17 PM


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