LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simple question seeking simple answer (https://www.linuxquestions.org/questions/linux-newbie-8/simple-question-seeking-simple-answer-8008/)

enzo250gto 10-27-2001 02:37 AM

simple question seeking simple answer
 
I have 2 hard drives in my box. I want one of the 2 to be only for files and mounted at /files in the fstab. I will be installing slackware 8 from the CD. When I do cfdisk what parameters should the second drive(the one for files only...no system stuff)have? Should it be bootable and a primary drive? I tried this earlier and had problems because I think some of the /sbin files were being put on the 2nd drive(key work I think). Thanks for all the help.

unSpawn 10-27-2001 04:08 AM

Your second disk doesnt need the bootable flag. Only the partition to boot from on a disk will have that flag. If its gonna be a primary or logical partition is up to you. A disk can have 4 primary ones max, if an extended partition is needed to hold logical partitions it counts as a primary one.

If you're adding the partitions at install time, having em marked for (/bin, /sbin, /boot, /lib, /root, /usr, /etc, /var etc etc) will add files under that, and you don't want that. Adding this disk can be easily done after installing your OS as well.
Install OS. Partition 2nd HD.
Run "mke2fs /dev/nameOfPartitionOn2ndHD"
Add line to /etc/fstab:
/dev/nameOfPartitionOn2ndHD(tab)ext2(tab)/files(tab)defaults 0 0


All times are GMT -5. The time now is 12:52 AM.