LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-07-2016, 06:09 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Installing Slackware onto a flash (stick) drive.


Have diligently followed the instructions but they confuse me regarding using "mount" command, which may be my problem. First I created just swap and root. get a panic halt (-6) when is run following an apparent good install.
Second time I created an EF00 partition before the swap and root's Linux filesystem partitions. Same result.
Is the problem with my not using the mount with swap and root. If so I need an example of how to use it with pkgtool. BTW I have installed to HD and multibooted slack before but the instructions re: pkgtool and mount have me confused badly as I usually do stuff like that after the install.
Hope next attempt doesn't repeat blowing up M$ again.
Thanks in advance
 
Old 11-07-2016, 07:17 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Not knowing to what instructions you refer, and understanding that you probably want something "different", have you tried Alien Bob's Slackware Live?
http://alien.slackbook.org/blog/slackware-live-edition/

A link to the instructions you're attempting to follow would also help.

As far as "blowing up" Microsoft, please do do it again. Repeat as needed.
You have my blessing ;-)
 
Old 11-08-2016, 05:14 PM   #3
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
Installing Slackware onto a flash (stick) drive

The instructions I refer to are the ones which accompany the download of 14.1. They explain to create a swap and Linux filesystem partition.
Don't want or need other instructions unless they amplify these. Also a listing of partitions created on a flash drive which is being used to boot Slack on different machines from the flash drive would probably help.
 
Old 11-08-2016, 11:03 PM   #4
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
I'm sorry for not being too helpful so far, but I can't find any place in 14.1 where installing to a USB stick is described. Installing from, yes.
Maybe you could link to the page you're looking at?
All the stuff on the 14.1 disk is here:
ftp://ftp.osuosl.org/pub/slackware/slackware-14.1/
 
Old 11-09-2016, 06:22 AM   #5
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 376

Rep: Reputation: Disabled
I ran Slackware 14.1 exclusively from a thumbdrive for about 3 years at work. It made my system administration duties easier without violating the "no installing software" rule.

HOW I DID IT:
I plugged in my thumbdrive into a machine and did a vanilla Slackware install except my target drive was /dev/sdb (the thumb) and NOT the /dev/sda (internal hd). The thumb had a swap partition also. I had ZERO problems.
Then I set my desktop to boot from USB devices first.


If you're getting weird errors, I'd suspect it's the thumbdrive itself. SD cards and thumbdrives are notoriously flaky,
 
Old 11-09-2016, 08:23 AM   #6
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
Are you installing under UEFI or under traditional BIOS?

For thumb drives, it might be easier to make a traditional legacy installation and configure the motherboard to boot external media in legacy mode.
 
Old 11-09-2016, 09:27 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,364

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
did you run
Code:
 setup
after creating the swap and filesystem partitions?
 
Old 11-09-2016, 06:15 PM   #8
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
OK guys - BIOS does not use EF00 so yes I am installing on uefi.
Like I said I first created /swap and / (=root) for the first attempt.
Second time I tried I installed /EF00 in first partition and the other two in order after that.
Those are basically the instructions that are given but I tried /EF00 in desperation thinking UEFI needs it.
Couldn't see why pkgtool and mount command were needed and did not use them.
And yes I used gdisk /dev/sdb to create the partitions. After install starts (setup entered) both times it recognized swap and root.
Setup is how one gets into the dialog boxes which Slack uses for installing.
Don't think that thumb drive is the problem as I have checked it by writing text to it.
@arfon: would you use gdisk /dev/sdb and then p to list the partitions on your thumb drive and post them here?
 
Old 11-09-2016, 09:30 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,364

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
during the selection of partitions, setup at some point should have asked if you wanted to format the ef00 partition as vfat for efi and mounted it to /mnt/boot/efi and said it was updating your fstab. You are using slackware64-14.1 for efi mode?

Last edited by colorpurple21859; 11-09-2016 at 09:50 PM.
 
Old 12-04-2016, 03:13 PM   #10
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
@colorpurple21859: When EF00 and the other partitions are written by gdisk, its response suggests it has created the EFI partition correctly which says to me it formatted it. I did not directly format any of the partitions prior to setup. Wondering if this is my problem!? Thought the EF00 was FAT32 not vfat which is it?
I did format swap and root after setup as it is in the installation. Does it matter and I do not recall at the moment if the partitioning sequence even allows for formatting after setting up the partition prior to writting the partitions.
I do not get where to mount timewise the partitions, before or after writting/setup??
I tried before with 14.2 and received error.
 
Old 12-04-2016, 05:01 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,364

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
gdisk doesn't format the partition, you have to do that yourself with the mkfs command before running setup. Then setup should pickup and mount the efi partition after formating and mounting the target partition

Last edited by colorpurple21859; 12-04-2016 at 05:06 PM.
 
  


Reply



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
Need to copy old hard drive to a flash drive (memory stick), or to what-ever. hearthstone Linux - Hardware 3 01-20-2013 09:29 PM
Live CD on USB Flash Drive - Changes Do Not Stick on Reboot rrrssssss Linux - Hardware 8 04-11-2010 02:48 PM
low level copy an USB flash drive / memory stick mr.v. Linux - Software 1 02-26-2007 04:05 PM
Installing slackware from a usb flash drive? blacklabelrum Linux - Software 1 12-13-2005 12:42 AM
Help - USB flash memory stick and hard drive munkus.agb SUSE / openSUSE 3 12-15-2004 05:51 AM

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

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