LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-22-2009, 07:27 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
I want to make a few changes to my /etc/fstab file


I run Slackware 13.0. I currently run it on a 300 GB partition with an 8 GB swap partition. Anyhow, I just bought a 1 TB hard drive and would like to mount it to my /home. I currently already have stuff in /home on my 300 GB partition. I was thinking of formatting the 1 TB with ext4 filesystem. However, would this be ok if I want my friends to be able to ftp in and download stuff and run them on their windows xp ntfs partitions?

1. What steps would I have to take to move that stuff over to my new 1 TB hard drive and make my 1 TB hard drive mounted to /home?

2. What kind of line should I add in the /etc/fstab file?

Last edited by trist007; 11-22-2009 at 07:31 PM.
 
Old 11-22-2009, 07:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
The underlying FS makes no difference to your friends access via ftp.

To achieve what you're up to I'd suggest booting the machine with the
new HDD physically installed. Go to runlevel 1. Create a partition and
file-system on the new device. Mount it to a temporary mountpoint.
mv all subdirectories from /home to the newly mounted mountpoint.
umount the new mountpoint and/or home. Create (edit the existing?)
fstab entry for home. (re-)mount home. Change to runlevel 3( 4, whatever
your default is).



Cheers,
Tink
 
  


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
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 02:13 AM
Edit fstab file to make USB disk writable. AGazzaz Linux - General 2 07-10-2008 05:18 PM
can' t see sdb or hdb 'cat /etc/fstab' , want to make partitions accessible firedancer Ubuntu 5 06-20-2007 07:37 AM
use of /etc/fstab file ankurcse Linux - Newbie 6 04-17-2006 10:34 PM
How to make changes to fstab permanent on FC4? Hungry ghost Fedora 7 07-01-2005 08:52 AM

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

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