LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-01-2017, 06:32 PM   #1
TheDude76
LQ Newbie
 
Registered: Apr 2017
Location: Albany, NY
Distribution: Slackware and Trisquel
Posts: 7

Rep: Reputation: Disabled
Persistent LiveSlak USB install won't boot


Hi,

Has anyone else had issues with creating a persistent LiveSlak USB stick? I can use "dd" to make a bootable USB stick that boots just fine (and retains no user data), but when I use "iso2usb.sh" to make a fully functional installation, the stick won't boot... it just goes right into the normal system boot. I do specify USB at boot time. I've tried the prebuilt Plasma64 and xfce64 ISOs with this.

Thanks for any advice!

TheDude76
 
Old 09-01-2017, 07:02 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Have you tried another usb flash drive?

If you don't have to don't use "iso2usb.sh" to perform the installation. Use the Live USB drive that you make with the dd command and go through the install process.

Here's what I do:

Code:
1. First run fdisk -l to find out the device. /dev/sdx?

2. Than unmount
#umount /dev/sdx

3. #mkfs.vfat /dev/sdx -I

4. #umount /dev/sdg

5. Than write .iso to flash drive
#dd bs=4M if=path/to iso/name of .iso of=/dev/sdx && sync
That normally works right away for me and boots w/0 fail.

Quote:
You can use the ‘iso2usb.sh’ script to transfer the content of the ISO to a USB stick, thereby adding persistence to the Live OS on the stick. The stick will remain writable and you can add new modules later on if you want.
You can find extensive documentation on the usage of that script on the Slackware Documentation Wiki.
https://docs.slackware.com/slackware:liveslak

Here's more documentation on the usage of that script with examples.
https://docs.slackware.com/slackware...t_to_usb_stick

I've never tried using the slackware live.sh so wait and see what other members have to say on that. There might be another way to go about it.
 
Old 09-02-2017, 08:02 AM   #3
TheDude76
LQ Newbie
 
Registered: Apr 2017
Location: Albany, NY
Distribution: Slackware and Trisquel
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat,

Thanks! As far as those steps 1-5 that you posted... that creates a USB flash drive that retains persistent data?
 
Old 09-02-2017, 03:54 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by TheDude76 View Post
Hi Ztcoracat,

Thanks! As far as those steps 1-5 that you posted... that creates a USB flash drive that retains persistent data?
No, steps 1-5 makes the .iso of the os loaded onto the usb flash drive and forces it to boot up Live so that you can install the os.

That iso script to usb seems a little tricky. I was reading through the examples last night.
 
Old 09-03-2017, 01:25 AM   #5
tazza
Member
 
Registered: Jul 2005
Distribution: Slackware64 -current
Posts: 114

Rep: Reputation: 31
Yeah but he's already familiar with dd, he wants a USB with persistence.

As an aside, with dd I've never bothered with mkfs - even after dd'ing a BSD distro which Linux then won't read the USB from. I use the same stick, with "dd if=Path_of_linux_distro of=/dev/sdx BS=1M" and as soon as it's finished I can read it again.
 
Old 09-03-2017, 03:33 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If the documentation in that link I posted in post #2 doesn't help with that script I don't know what else there is to try.

Any idea's tazza?
 
Old 09-03-2017, 07:12 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
any errors when you ran the script and what options did you use? efi or msdos system?

Last edited by colorpurple21859; 09-03-2017 at 07:30 PM.
 
Old 09-04-2017, 02:22 AM   #8
tazza
Member
 
Registered: Jul 2005
Distribution: Slackware64 -current
Posts: 114

Rep: Reputation: 31
Quote:
Originally Posted by Ztcoracat View Post
If the documentation in that link I posted in post #2 doesn't help with that script I don't know what else there is to try.

Any idea's tazza?
Unfortunately no - and I didn't mean to sound contrary in my previous post so sorry if I did so (I don't have the best way with words) just pointing out dd isn't his problem.
 
Old 09-04-2017, 05:18 AM   #9
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by TheDude76 View Post
Has anyone else had issues with creating a persistent LiveSlak USB stick?
Hi, yes I have had problems booting live-plasma5 since it exceeded all my good old 4G USBs capacities. Sorry I was too lazy to speak up until now, didn't want to bug AlienBob 'cause it seemed to be working everywhere else just fine.

I finally bought a new 16G thumb drive and still can't boot from USB. What does work consistently are Willy's MSB builds, dd or iso2usb.sh. Setup2hd ran great on my netbook and I ran MSB for a bit, but the 600px high screen is a bummer. I like stock fluxbox on there now.

[snipped irrelevant info]

Oops right after I hit Save realized that command did not include Persistence, but I did try that option too, it is my preference. Honest. I don't have a log.

And now I am posting from same Sandisk Cruzer 16G Plasma5-live, my PEBCAK probably. I had installed from MATE live to second partition on this PC and so iso2usb.sh failed? Not sure. I used a simple dd to copy iso to USB the second time, that is what's working right now. In the meantime testing stuff I also messed up lilo on my first drive containing 14.2 and so 99 99 99 here I am rescuing myself from myself. I do need to read the fine Liveslak docs again before commenting. Thanks.

Last edited by EYo; 09-04-2017 at 10:54 AM. Reason: persistence, success
 
Old 09-04-2017, 09:19 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by tazza View Post
Unfortunately no - and I didn't mean to sound contrary in my previous post so sorry if I did so (I don't have the best way with words) just pointing out dd isn't his problem.
Yeah, no worries:-

I figured dd isn't the problem either.

If you have any errors TheDude76 please post them for colorpurple.

We could look up the errors and see if that leads us to a solution.
 
Old 09-04-2017, 09:24 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EYo View Post
Hi, yes I have had problems booting live-plasma5 since it exceeded all my good old 4G USBs capacities. Sorry I was too lazy to speak up until now, didn't want to bug AlienBob 'cause it seemed to be working everywhere else just fine.

I finally bought a new 16G thumb drive and still can't boot from USB. What does work consistently are Willy's MSB builds, dd or iso2usb.sh. Setup2hd ran great on my netbook and I ran MSB for a bit, but the 600px high screen is a bummer. I like stock fluxbox on there now.

[snipped irrelevant info]

Oops right after I hit Save realized that command did not include Persistence, but I did try that option too, it is my preference. Honest. I don't have a log.

And now I am posting from same Sandisk Cruzer 16G Plasma5-live, my PEBCAK probably. I had installed from MATE live to second partition on this PC and so iso2usb.sh failed? Not sure. I used a simple dd to copy iso to USB the second time, that is what's working right now. In the meantime testing stuff I also messed up lilo on my first drive containing 14.2 and so 99 99 99 here I am rescuing myself from myself. I do need to read the fine Liveslak docs again before commenting. Thanks.

Thanks for the informatio EYo:-

Could you post a link to Willys Builds?
 
Old 09-05-2017, 05:38 AM   #12
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by Ztcoracat View Post
Thanks for the informatio EYo:-

Could you post a link to Willys Builds?
Sure, but it is on the wiki too so this is redundant. All the builds are available from there ...

https://docs.slackware.com/slackware:liveslak

Quote:
Common download locations are:
My problem was definitely due to having installed a previous liveslak to another drive, mounted by fstab under /mnt/sdb3, but I don't quite understand yet why iso2usb.sh fails to create a bootable USB with that, haven't had time to read through the script and docs. Thanks for giving me something to do when it cools off Cheers.
 
Old 09-05-2017, 04:59 PM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by EYo View Post
Sure, but it is on the wiki too so this is redundant. All the builds are available from there ...

https://docs.slackware.com/slackware:liveslak

My problem was definitely due to having installed a previous liveslak to another drive, mounted by fstab under /mnt/sdb3, but I don't quite understand yet why iso2usb.sh fails to create a bootable USB with that, haven't had time to read through the script and docs. Thanks for giving me something to do when it cools off Cheers.
Thanks!
 
  


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
Persistent, unsolved problem with USB wifi & Android (won't connect to hotspot) Crotalid Linux - Networking 5 08-29-2017 12:26 AM
Linux won't boot from USB/DVD or install davidtrickett Linux - Newbie 22 10-20-2015 03:43 PM
[SOLVED] New Install Won't Boot Unless Drive is in USB Enclosure doctorcisco Linux Mint 2 06-04-2012 09:32 PM
Created USB bootable Ubuntu persistent install Cant install Java murph98 Linux - Newbie 3 05-26-2008 07:09 AM
Ubuntu 6.06 install on USB drive won't boot gudum35 Linux - Laptop and Netbook 2 10-08-2006 01:23 AM

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

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