LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-06-2005, 02:51 AM   #1
cerealdaemon
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5 (Bordeaux), Kubuntu Dapper Drake
Posts: 92

Rep: Reputation: 15
seperate internal hard drive


Is there a way that I can attach an internal hard drive and not have it become part of the filesystem but still accessible for both read and write?. Additionally, how can I take same hard drive and format it to ext3, I haven't ever done this before, so any help would be appreciated!
 
Old 08-06-2005, 04:51 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Re: seperate internal hard drive

Quote:
Originally posted by cerealdaemon
Is there a way that I can attach an internal hard drive and not have it become part of the filesystem but still accessible for both read and write?. Additionally, how can I take same hard drive and format it to ext3, I haven't ever done this before, so any help would be appreciated!
You can create partitions on the disk using fdisk, then format the partitions as ext3 using mkfs.ext3. As for reading and writing to your disk, you will need to mount it manually when you need to read or write to it so you need to create a mount point for it somewhere in /mnt or /media.

Last edited by reddazz; 08-06-2005 at 04:52 AM.
 
Old 08-06-2005, 12:05 PM   #3
ksc
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Re: seperate internal hard drive

Quote:
Originally posted by cerealdaemon
Is there a way that I can attach an internal hard drive and not have it become part of the filesystem but still accessible for both read and write?. Additionally, how can I take same hard drive and format it to ext3, I haven't ever done this before, so any help would be appreciated!
If you have attached a internal hard disk drive(hdd), assumed you already have a hdd installed with linux, your internal hard disk drive will not be auto-mounted and "become part of the filesystem". When your system starts up, it will read the configurations from /etc/fstab and mount from there.

So what you have to do is to manually mount everytime, unless you add the lines yourself into /etc/fstab so you do not have to worry it will "become part of the filesystem". Read more about fstab by typing man fstab, man mount.

You need to format your hard disk drive using fdisk, create a partition then you can make file system(mkfs) on it, to make ext3, just type mkfs -t ext3 <device-partition>, type man mkfs to find out more.
 
  


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
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Tips on installing Linux on a seperate hard drive? cragwolf Slackware - Installation 3 07-28-2004 05:16 AM
Installation on a seperate hard drive with win XP on the other fedoracorechris Fedora 2 04-19-2004 10:45 AM
Mandrake Install on Seperate Hard Drive mbracken Mandriva 6 09-09-2003 04:20 PM
Mandrake Install on Seperate Hard Drive mbracken Linux - General 2 09-09-2003 10:41 AM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration