Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
My searches always end up with how to install FROM a Flash drive.
My initial efforts ended up blowing up M$ (like a big loss) on my HD.
Need to be able to move slak onto M$ machines with my software so they can run my stuff.
Need to install 14.2 on SDB! not sda. Instructions for 14.1 said need / (root) and swap. OK if on a BIOS machine I guess. Do I need something before that on my flash drive (like FAT32 EFI stuff??) before those?
What are the partitions to be and get me to the setup it is easy after that.
I think you'd be highly interested in Eric's Slackware Live. It's not the exact same as "installing" Slackware onto a USB drive, but it's pretty dang close. You can use dd to copy it the iso onto the drive, but this does not have persistence, so anything you do in a session won't be saved after rebooting. Or you can use his iso2usb.sh script to "install" it to the USB drive and enable persistence. This essentially becomes a full blown Slackware install on a USB drive. You can enable full or partial encryption using the script as well.
@Ztcoracat: FWIW I am intending to use the flash drive on UEFI machines so I also need a /EFI partition to preceed the swap and filesystems partitions. Try gdisk it is faster and cleaner than cgdisk IMHO. Also swap must at leas equal and IMHO double the memory size if U ever have major problems.
@bassmadrigal: Looked at it. Did not find out if that method allows for storage on the flash drive, hope it does but for me the setup approach to installation is what I am used to as it gives me the (via Menu) option to exclude what for me is useless like typesetting, most KDE games, editors (except vi) and EMACS for space purposes on a 32GB drive.
You'd want to look at the iso2usb.sh script that Eric has available. See the wiki for more info on that. You can either use dd to copy the iso to the drive in a read-only mode, or use the iso2usb.sh script to enable persistence. You can even have that space encrypted.
To simply create a Slackware Live usb drive, grab the script and run the following (make sure you replace /dev/sdb with your actual device... and you may need to make the script executable):
If you want a trimmed version of Slackware, you can use his make_slackware_live.sh to remove packages from the final iso. That's what he uses to build his xfce, plasma5, mate, etc variants. Check out the "Generate the ISO" section in the same wiki document (there doesn't seem to be a direct link to it).
He does have 4 additional ISOs already prepped:
a slimmed-down XFCE ISO (700 MB) with XDM as the graphical login manager. It fits on a CDROM medium or a 1 GB USB stick;
a ISO image (3.1 GB) of Slackware64-current containing Plasma 5 instead of KDE 4, with an addition of several other packages from the alienBOB repositories: vlc, libreoffice, calibre, qbittorrent, ffmpeg, chromium, openjdk, veracrypt.
a Mate variant (1.7 GB) where KDE 4 has been replaced by Mate (a Gnome 2 fork);
a Cinnamon flavour (a fork of the Gnome 3 Shell replacing Slackware's KDE 4).
If you want a basic install, you could use the xfce variant and then just use slackpkg to install any required packages you need that aren't included (rather than building your own ISO and removing packages from it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.