LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   / and swap partitions (but want more) How to? (https://www.linuxquestions.org/questions/slackware-14/and-swap-partitions-but-want-more-how-to-206103/)

acummings 07-16-2004 10:42 PM

/ and swap partitions (but want more) How to?
 
Hi,

So far, with Slackware 10, I've opted for easiest which is just two partitions, / and swap.

I've done that because I don't know how to order or add a

/boot

or a

/home

partition.

I know how to create partitions.

But I'm afraid it won't get added in the right place so that it all works. (what to do with them after they're created, say, on a new install?)

Also, with a 20 to 30 GB HD on my solo user desktop I install all Slack 10 packages, I wonder how big to make the /home partition.

I seek a separate home partition just so's ease of hanging onto the data if need arise to work elsewhere on the disk.

And, I would guess that a /boot be nice too, to hold the critical boot files.

--
Thanks. Alan.

rgiggs 07-16-2004 11:56 PM

you can add the following two lines to /etc/fstab:

/dev/hda6 /home ext2 defaults 1 2
/dev/hda7 /boot ext2 defaults 1 2

of course, you have to use device files and filesystems appropriate to your system. the other 3 columns, "defaults," "1," and "2" should be fine because both these lines are generated for me by slack.

i use a home partition of ~ 5 GB, but it's your own preference.

gnu noob 07-17-2004 12:07 AM

Yes it can be done, here's how:

http://www.linuxquestions.org/questi...ing+partitions

as far as how much space to allocate to your /home directory, I use about 4 gigs and have a separate partiton for music, docs movies etc. ( I dual boot win2k so this partiton fat32 and is visible in both slack and windoze)You might want to start small, and leave some open space at the end to expand it if you need to.

320mb 07-17-2004 12:33 AM

IF you decide to run a Server, it's best to put /var
on it's own partition, that way the logs that are generated
DON't fill up the / partition............and make /var plenty big if
you do..........


All times are GMT -5. The time now is 06:38 PM.