How to install slackware to two partitions (One for Slackware and one for swap)
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to install slackware to two partitions (One for Slackware and one for swap)
Hello today I installed slackware so i could do lfs easier and i installed slack ware but you can have only four primary partitions and those are all taken up by Slackware (Btw i have free space i just cannot use it)
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
You can have slackware in different partitions one for root, one for home and one for swap, and you can even create a small one just for boot.
During installation the script usually prompt you to select where you one to mount the partitions you have previously create and even ask you the type of format you want to create. Usually select ext4 is a good idea.
your hard drive will only allow 4 primary partitions but you can sub partition a primary partition on to logical partition.
fdisk is what you type to create partition during Slackware installation.
So instead of outing /home /root and /usr in separate partitions I can put them in one right oh and I think I'll do a swap partition because LFS only needs two primary partitions
IMHO it's better to allocate as much space as possible in an extended, and install there with all partitions as logicals. Saves getting into the "wasted space" scenario. Linux doesn't require a primary partition at all - not root, not boot, not 'nuthin.
If you have to put up with something that is so brain dead as to require a primary partition for the boot-code, leave some space for that at the front of the disk, and use all the rest as an extended.
KISS.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Having a separate /root partition is not necessary but sure it is nice for when you have re install the OS. That way all the config files under your home partition are saved, along with all the data you have been accumulate over the years
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.