LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-01-2008, 05:01 PM   #1
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Rep: Reputation: 17
Fresh install without killing mount point??


I have one 500 GB drive in my box with a partition and mount point named /ftp


I want to do a fresh install of fedora 8 without killing this directory or its contents. Is this possible?
 
Old 01-01-2008, 05:55 PM   #2
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
Yes. :-)
 
Old 01-01-2008, 05:57 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
To be more specific, you need to figure out what partition is being mounted on /ftp (df can help) and when you install Fedora 8 simply choose not to format that partition (you'll need to go into manual partition set up to set up your other partitions that you do qwant formatted -- don't choose the auto-partitioner). I like to make a back-up anyway just in case I get sticky fingers and format the wrong thing, but it is doable.
 
Old 01-02-2008, 06:46 AM   #4
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by btmiller View Post
To be more specific, you need to figure out what partition is being mounted on /ftp (df can help) and when you install Fedora 8 simply choose not to format that partition (you'll need to go into manual partition set up to set up your other partitions that you do qwant formatted -- don't choose the auto-partitioner). I like to make a back-up anyway just in case I get sticky fingers and format the wrong thing, but it is doable.

Thank You BT. I tried this last night (I did make a backup thank god) and when I rebooted the partition was still there but not mounted. I created a mount point (mkdir /mnt/ftp then did mount /dev/sda4 /mnt/ftp) and I got it mounted. The problem was I had to do that every time I rebooted and even then none of the user account could mount the partition without root access.

I have only been using linux for a couple months so I do not know too much. Can you explain or point me to some good info on how I would have accomplished this correctly?
 
Old 01-02-2008, 02:23 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
In the installer, you should have clicked on the partition and told it to mount it as /mnt/ftp -- sorry, I should have mentioned this to you in my previous reply. Now that you have it though, just add the partition to /etc/fstab so it gets mounted automatically on boot. Assuming the filesystem is ext3, the line would look something like:

Code:
/dev/sda4      /mnt/ftp        ext3  defaults         0     2
 
  


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
Set up rsync to mirror mount on Windows Server to mount point on 2nd internal drive MoMule Linux - Server 4 04-13-2007 09:34 PM
Can I mount a local NTFS disc as SAMBA mount point? alek66 Linux - Networking 15 10-01-2006 10:02 AM
Can't mount NFS on fresh install Sugarat SUSE / openSUSE 1 09-26-2006 08:45 AM

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

All times are GMT -5. The time now is 10:36 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
Open Source Consulting | Domain Registration