LinuxQuestions.org
Help answer threads with 0 replies.
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, 05:53 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 68

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, 09:19 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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, 10:17 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,109

Rep: Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540Reputation: 1540
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, 09:01 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,400
Blog Entries: 3

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
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, 03:08 PM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,545

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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 02:03 AM. Reason: PS added.
 
3 members found this post helpful.
Old 07-22-2014, 01:32 AM   #6
nix84
Member
 
Registered: Apr 2014
Posts: 68

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, 11:10 AM   #7
KeithE
Member
 
Registered: Jan 2003
Location: Phoenix, AZ
Distribution: Mint, Slackware
Posts: 88

Rep: Reputation: 19
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 12:39 PM
I need a 1.5 version of slackware for a flash drive rob.rice Slackware 3 11-02-2007 04:26 AM
Slackware on USB flash drive adds2one Slackware 5 03-19-2006 07:20 AM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration