LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2006, 01:04 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Mounting another linux partition


Hi Everyone,

I am trying to add an entry to my fstab file to mount the FC4 linux partion on a separate drive (SATA, shown as sdb). I made the entry as follows:

/dev/sdb1 /dev/FC4 noauto defaults 0 0

However, when I attempt to mount the partition, I get the error that it is not found in fstab. What am I missing? I have the NTFS driver installed and the Windows partition mounts fine.

Any thoughts?

Thank you in advance for your help.

Bob
 
Old 03-22-2006, 01:35 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Fstab only exists for automounting. You can also mount your partition manually. And why are you mounting at /dev/FC4? I think, it should be /mnt/FC4 (FC4 directory must be created). Try this:
#mount -t filesystem_type /dev/sdb1 /mnt/FC4
 
Old 03-22-2006, 01:49 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you for your reply. Your suggestion does indeed mount the filesystem, but it contains nothing. What I want to be able to do mount the Fedora partitions in Slack and vice versa to open and edit files. Isn't this possible. After mounting:

ls -l FC4
Total 0

Thank you for your help.

Bob
 
Old 03-22-2006, 01:54 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Did you put correct filesystem type?
 
Old 03-22-2006, 02:15 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Yes, ext3. Looked like a normal operation, but no files in the directory. Same result from FC4 trying to mount the Slack partition:

#mount -t filesystem_ext3/dev/sda2 /mnt/slack

The directories exist (I created them). I am sure I am just missing some part of the process.

Thank you for your help.

Bob
 
Old 03-22-2006, 02:22 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Stupid question but nobody else came to my head. Did you compile ext3 support in your Slackware kernel (if you are not using ext3 in Slackware)?
 
Old 03-22-2006, 02:29 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you're not literally typing " mount -t filesystem_ext3/dev/sda2 /mnt/slack" are you? use "mount -t ext3 /dev/sda2 /mnt/slack". You don't actually need the -t option, mount will nearly always detect the right fs type.
 
Old 03-22-2006, 02:33 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Good suggestion But I believe that after specifying incorrect filesystem type mount shows error. BobNutfield could you show us what mount prints into the screen after your command?

Last edited by Alien_Hominid; 03-22-2006 at 02:35 PM.
 
Old 03-22-2006, 02:38 PM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you for the replies. But to answer the question, yes, I am running 10.2 with ext3 filesystem (at least that is what it reports at boot sda2 ext3). The mount commands you suggest appear to be working, but the resulting mounted directory has no files. Again, I am sure I am just doing something wrong. I will read up on it further. By the way, is the directory /slack OK, because when I attempt create mkdir /mnt/slack it reports the /mnt directory already exists and will not create it.

Thanks for your help.

Bob
 
Old 03-22-2006, 02:57 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
once you think you have mounted the device, run "mount" or "df -h" to see that 1) the device IS mounted and 2) there is space there
 
Old 03-22-2006, 03:06 PM   #11
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you very much. I will try that. Everytime I think I am becoming an "intermediate" user, my noobness shows up again.

Thanks

Bob
 
  


Reply



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
Mounting a linux partition in window Baka no Kami Linux - General 1 06-21-2005 10:50 PM
Mounting partition on Linux drive with XP. moistTowelette Linux - Hardware 6 04-24-2005 11:30 PM
Mounting the NTFS Partition in Linux flamesrock Linux - Hardware 3 09-06-2003 12:12 AM
Mounting FAT32 partition in Linux correro Linux - General 18 03-10-2003 01:30 AM
Mounting Linux partition in Windows? hitesh_linux Linux - General 7 10-29-2002 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:55 AM.

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