Slackware - Installation This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-06-2022, 07:24 PM
|
#1
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Rep: 
|
Trouble interpreting instructions for Live Slackware usb
Hi!
I am afraid I may be asking a pretty dumb question, but unfortunately I can't avoid it, as I need a persistent Live Slackware USB. I have made a couple in the past but I never cared whether they were persistent or not, before.
Will the following command produce a persistent USB?
Code:
# ./iso2usb.sh -i ~/download/slackware64-live-daw-current.iso -o /dev/sdX
And if so how does one produce a non persistent one? (this one is just a matter of curiosity).
|
|
|
10-06-2022, 07:43 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,934
|
It might help provide some context if you were to provide a link the instructions you are trying to follow.
|
|
|
10-06-2022, 08:28 PM
|
#3
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Original Poster
Rep: 
|
My Bad ! I apologize.
I edited what had become a too long post, and in the process I eliminated the link:
https://docs.slackware.com/slackware:liveslak
and the parts I was not sure of how to interpret:
Quote:
Create a version of Slackware Live, where the stick is known to the system as '/dev/sdX. Note - the value for the output parameter is the device name of the stick and not one of its partitions!
# ./iso2usb.sh -i ~/download/slackware64-live-14.2.iso -o /dev/sdX
Create a Live with an encrypted /home (allocating 30% of the stick's free space for /home) and where the persistent data will be stored in a container file instead of a directory:
# ./iso2usb.sh -i slackware64-live-current.iso -o /dev/sdX -c 30% -P
You might have noticed that the “-P” parameter does not accept a size parameter. This is because the unencrypted container file is created as a 'sparse' file that starts at zero size and is allowed to grow dynamically to a maximum of 90% of the initial free space on the Linux partition of the stick.
-P --persistfile Use an unencrypted 'persistence' file insteadof a directory
(for use on FAT filesystem).
-p|--persistence <name> Custom name of the 'persistence' directory/file.
If it does not exist yet, create it manually.
|
Thanks for caring.
|
|
|
10-06-2022, 08:35 PM
|
#4
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Original Poster
Rep: 
|
This also is not clear to me:
Quote:
The CD/DVD versions (and the USB stick if you configure it accordingly) operate without persistence, which means that all the changes you make to the OS are lost when you reboot.
|
as how to achieve it, but as stated previously, just a matter of curiosity, as I don't remember how I did it in the past.
|
|
|
10-06-2022, 08:41 PM
|
#5
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
I think it's just the presence or absence of the -p
(like the presence or absence of -l on ls gives you a long listing or not)
You can't write on a typical CD.
I think 'accordingly' meant without the -p
I'm learning too! Slackware is amazing! You'll get there!
Last edited by !!!; 10-06-2022 at 08:42 PM.
|
|
1 members found this post helpful.
|
10-06-2022, 09:07 PM
|
#6
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,844
|
nevermind
|
|
|
10-06-2022, 09:39 PM
|
#7
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
UNclear
But I always mind!!!
Code:
-p|--persistence <name> Custom name of the 'persistence' directory/file.
If it does not exist yet, create it manually.
-P|--persistfile Use an unencrypted 'persistence' file instead
of a directory (for use on FAT filesystem).
Examples:
What/Who 'create it manually': the script,
or must the user, before running the script?
Why doesn't the -P (uppercase) take a file name?
|
|
1 members found this post helpful.
|
10-07-2022, 09:57 AM
|
#8
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,844
|
-P toggles from a persistent directory to a persistent file. -p <name> changes the name of the persistence directory/file from the default name persistence.
To disable persistence add nop to the boot loader config files on the usb or use dd/copy to put iso onto usb (will make usb read only).
Last edited by colorpurple21859; 10-07-2022 at 09:59 AM.
|
|
1 members found this post helpful.
|
10-07-2022, 12:50 PM
|
#9
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Original Poster
Rep: 
|
Thanks guys. I guess I understand it now.
Is it OK to ask here what is the concrete, practical difference between using a file and using a directory for persistence?
|
|
|
10-07-2022, 12:54 PM
|
#10
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Original Poster
Rep: 
|
...And is the nop parameter valid for different bootloaders, or is it limited to some preferred ones?
Pardon me if I am too curious.
Last edited by fredmyra; 10-07-2022 at 12:55 PM.
Reason: typo
|
|
1 members found this post helpful.
|
10-07-2022, 04:12 PM
|
#12
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,844
|
nop is one of the boot parameters for liveslak mentioned about the middle section of the liveslak documentation
Add nop as a kernel boot parameter to the linux line of the EFI/BOOT/grub.cfg file on the efi partition of the usb for uefi mode and the append line of boot/extlinux/menu/vesamenu.cfg on the liveslak partition for legacy mode
Or add nop as a boot option to the boot menu at start-up as a temporary fix.
Last edited by colorpurple21859; 10-07-2022 at 04:29 PM.
|
|
2 members found this post helpful.
|
10-07-2022, 08:38 PM
|
#13
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,844
|
Quote:
Is it OK to ask here what is the concrete, practical difference between using a file and using a directory for persistence?
|
The liveslak persistence directory is readily accessible when liveslak is auto-mounted with a file manager, whereas a persistence file requires an extra step of mounting to access the persistence files.
On a side note I think deleting the persistence directory/file will disable persistence, not sure if there is any downside to this.
|
|
1 members found this post helpful.
|
11-20-2022, 05:35 PM
|
#14
|
Member
Registered: Dec 2019
Location: Sweden
Posts: 312
Original Poster
Rep: 
|
@colorpurple21859: thanks for once again clarifying.
Marking as solved.
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|