LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-16-2005, 03:34 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
Mounting hard Disk (Slave)


I have 80 GB Hard Disk (40 Linux and 40 Windows).

Linux loads up windows partitions fine, I do have a second hard disk which has my windows and other files, I need to mount my slave HD at system startup or at any time I need.

How can I do that (what is the command)? Which file is responsible for loading system files at startup?


Thanks.
 
Old 02-16-2005, 03:40 AM   #2
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
You first need a mount point i.e /mn/slave
Then add an entry in /etc/fstab
You might need to mount it with a umask that gives
everyone who uses the system access and not just root.

man fstab
 
Old 03-17-2005, 05:35 PM   #3
samel_tvom
Member
 
Registered: Aug 2004
Posts: 133

Rep: Reputation: 15
if it is the first partition on your primary slave you have your files on, it will probably be
/dev/hdb1

if not try "cfdisk /dev/hdb" and you will see if its /dev/hdb1 or /dev/hdb2 or whatever

type "mkdir /mnt/slave"

then in your /etc/fstab put an entry something like

/dev/hdb1 /mnt/slave ntfs defaults 0 0

if it's not ntfs file system try with vfat instead.

however if you want all users to have access to it and you don't want to mount it
at boot time but whenever you feel like it try something like

/dev/hdb1 /mnt/slave ntfs user,umask=000,noauto 0 0

then whenever you want to mount it just type
"mount /mnt/slave"
and when you want to unmount it type
"umount /mnt/slave"

you have to figure out how you want to set the permissions with umask


good luck
 
  


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
How to boot from Slave hard disk? TigerLinux Linux - General 10 10-08-2005 01:44 AM
mounting hard disk Olle Linux - Newbie 8 01-22-2005 11:31 AM
Having trouble mounting a vfat partition on my slave hard drive eyebrowsoffire Linux - General 27 10-10-2004 08:45 PM
slave hard disk no longer detected by bios mikeybsae Linux - Hardware 1 10-22-2003 09:11 PM
Mounting another hard disk Bluebottle Linux - General 3 02-08-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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