Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th March 2005, 01:45 PM
cjohnson_uk Offline
Registered User
 
Join Date: Mar 2005
Location: UK
Posts: 6
FC3 auto mount HDD and start samba

I've got a box with the LTSP distro of FC3 on it. Since installing it I've added an 80GB drive to use as my shared data drive. I installed samba during the initial setup.
I can share the data partition via samba on the first HDD but I still have eto log in to start SMBD as it doesn't start by default.

I'd like to do the following:

clear the existing partitions off the 80GB drive (old NTFS stuff)
partition it as one partition and get it mounted at boot
start samba at boot
share the 80gb partition through samba

Firstly whats the best way of losing the existing data and partitions and createing new ones? FDISK? Whats the best way of formatting this new partition?

I've greped through /etc/ for files containing "mount" but I can't see where to add the mount command for my new partition.

And I can't work out where to start smbd either

Oh and I need all the mounting and stuff to happen automatically before user login so I just press the power button and 5 mintues later I have access to the shared folder.

Any help appreciated.

Chris
__________________
ChrisJ
Fedora Core3 (LTSP Distro v4.2)
Athlon 500, 512MB ram (ish), several HDDs

Last edited by cjohnson_uk; 11th March 2005 at 01:47 PM. Reason: whoops forgot!!!
Reply With Quote
  #2  
Old 11th March 2005, 02:55 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Quote:
Originally Posted by cjohnson_uk
clear the existing partitions off the 80GB drive (old NTFS stuff)
fdisk is quite good for it
Quote:
Originally Posted by cjohnson_uk
partition it as one partition and get it mounted at boot
it depends very much which filesystem you prefer I would take ext3 or reiserfs.
With mke2fs -j /dev/hdXX you can format a partition as ext3 (instead of the XX the name of the partition see fdisk -l)
Quote:
Originally Posted by cjohnson_uk
start samba at boot
http://www.fedorafaq.org/basics/#services

Quote:
Originally Posted by cjohnson_uk
I've greped through /etc/ for files containing "mount" but I can't see where to add the mount command for my new partition.
/etc/fstab
Quote:
Originally Posted by cjohnson_uk
Oh and I need all the mounting and stuff to happen automatically before user login so I just press the power button and 5 mintues later I have access to the shared folder.
If configured correctly it will happen at the boot. In most cases you won't reboot a linux box, if there is no need for it.
__________________
--
http://twitter.com/ik12
Reply With Quote
  #3  
Old 11th March 2005, 05:40 PM
cjohnson_uk Offline
Registered User
 
Join Date: Mar 2005
Location: UK
Posts: 6
Thnaks

I've always used reidserfs before as I've learned on Suse. I did a man-k reiser but it didn't come up with anything. Is reiserfs support built in to fc3?

I've used ext3 as for my home network I don't think thisany benefit either way. (Am I right?)

OK this is the bit I forgot last time:

My /home is currently mounted on /dev/hda2

I want to move all this to dev/hdb1

Where to I reset where /home is mounted from at boot
__________________
ChrisJ
Fedora Core3 (LTSP Distro v4.2)
Athlon 500, 512MB ram (ish), several HDDs
Reply With Quote
  #4  
Old 11th March 2005, 06:01 PM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
Moving home : a really great article can be found here http://www-106.ibm.com/developerwork...-partplan.html
Reiserfs: Sorry I never worked with reiserfs, so I don't know anything about it.
But I don't think that there is a great difference between reiserfs and ext3. (ext3 is even more "official")
__________________
--
http://twitter.com/ik12
Reply With Quote
  #5  
Old 11th March 2005, 08:22 PM
cjohnson_uk Offline
Registered User
 
Join Date: Mar 2005
Location: UK
Posts: 6
Thanks for this. It seems to work great. Now to do the hard stuff.....
__________________
ChrisJ
Fedora Core3 (LTSP Distro v4.2)
Athlon 500, 512MB ram (ish), several HDDs
Reply With Quote
Reply

Tags
auto, fc3, hdd, mount, samba, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto start a program on start up? KirkD Using Fedora 13 12th October 2009 05:29 AM
Samba 2.2.x serving Samba client 3.0.26 cifs (mount error 13 = Permission denied) nnn Servers & Networking 10 5th April 2008 09:40 AM
auto mount rpgbilder Using Fedora 0 12th February 2008 02:12 PM
Auto-Reboot + Auto-Start Certain Apps P4rD0nM3 Using Fedora 1 25th January 2008 06:03 PM
Auto mount Samba Share mellis95 Servers & Networking 17 21st June 2005 01:58 PM


Current GMT-time: 00:55 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat