LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-19-2014, 04:53 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Flash drive for Slackware


Want to use flash drive(s) to install Slack. Am presuming will want to install new version on another flash drive before the original one is worn out (circa 1 year).
Is the process to use fdisk to format to ext4 on flash drive then mark it as bootable then install it there? This PC uses UEFI.
 
Old 07-19-2014, 08:19 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,113

Rep: Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638Reputation: 3638
Almost any newer usb should work. You'd want to look for one that has good speed. No one can guarantee that a model will work. I had a well rated in windows one that just didn't like ext4 format.

For the most part you consider this usb just as if it were a real internal hard drive. I'd suggest that you remove the internal drive's power before you attempt this.

There are plenty of web pages that tell how some linux distro's can be installed to uefi.

I haven't seen any installer use mark bootable in a long time.

How did you get the other work working? It should be exact same methods.
 
Old 07-19-2014, 09:17 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,546
Blog Entries: 28

Rep: Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205Reputation: 6205
I've had good luck with unetbootin. I haven't specifically used it with Slackware, but I have used it with several other distros.
 
Old 07-21-2014, 08:01 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,948
Blog Entries: 46

Rep: Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182Reputation: 3182
Member Response

Hi,

Quote:
Originally Posted by nix84 View Post
Want to use flash drive(s) to install Slack. Am presuming will want to install new version on another flash drive before the original one is worn out (circa 1 year).
Is the process to use fdisk to format to ext4 on flash drive then mark it as bootable then install it there? This PC uses UEFI.
Look at: Slackware Doc Project
Hope this helps.
Have fun & enjoy!

 
Old 07-21-2014, 02:08 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,157

Rep: Reputation: Disabled
This is how I'd do it on Slackware-14.1:
Code:
isohybrid -u slackware64-14.1-install-dvd.iso
# plug in the USB stick
lsblk -o NAME,MODEL,SIZE,TYPE|grep disk # Check carefully the results
dd if=slackware64-14.1-install-dvd.iso of=/dev/sdx bs=4M; sync
Warnings:
  • isohybrid -u makes the ISO image EFI bootable. Won't work for big ISO images if Slackware version is less than 14.1
  • replace sdx in /dev/sdx by the relevant device name read in output of the lsblk command. Be careful not to chose a hard disk, that would wipe it out.
  • save all data on your USB stick before proceeding as all will be erased.
Other methods are proposed e.g. on this page. On Windows I recommend using Rufus.

PS Sorry, I think that I misunderstood your question. You want to install Slackware on the USB drive itself, not use it as a bootable media to install Slackware elsewhere, right?

Then, just plug in the USB stick before or just after you boot the installer (Slackware64-14.1 only).

Just follow the instructions. You'll have to make an EFI partition of 100M in addition to the ext4 one on the USB stick. I suggest that you designate the / (and/or EFI?) partition by LABEL or UUID in /etc/elilo.conf and /etc/fstab as the device name can change upon the order in which removable devices are plugged in. Unfortunately I never did that with elilo as I don't have an EFI firmware, just guessing that's similar as doing it with lilo.

Last edited by Didier Spaier; 07-22-2014 at 01:03 AM. Reason: PS added.
 
3 members found this post helpful.
Old 07-22-2014, 12:32 AM   #6
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Tried to explain my logic but this GD Windows 8.1 can't keep the cursor stable long enough. So this attempt is short. Which is why my desire to get back to Linux. Thanks to all and to Didier for the update on the extra area for UEFI.
 
Old 07-23-2014, 10:10 AM   #7
KeithE
Member
 
Registered: Jan 2003
Location: Mesa, AZ
Distribution: Linux Mint
Posts: 155

Rep: Reputation: 35
Unetbootin and Slackware

Quote:
Originally Posted by frankbell View Post
I've had good luck with unetbootin. I haven't specifically used it with Slackware, but I have used it with several other distros.
Unetbootin works perfectly fine with Slackware. Just download the desired image first, click the Diskimage button, then select the desired Slackware (or other) image. Use a blank USB, 4Gb or greater for DVD images, and make sure it's mounted before running unetbootin.
 
  


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
Slackware on usb flash drive rng Slackware 2 06-28-2013 11:39 AM
I need a 1.5 version of slackware for a flash drive rob.rice Slackware 3 11-02-2007 03:26 AM
Slackware on USB flash drive adds2one Slackware 5 03-19-2006 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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