Best way to create Debian Live USB stick.

If none of the more specific forums is the right place to ask

Best way to create Debian Live USB stick.

Postby axkibe » 2020-09-09 07:26

What is the best way to create a persistent live USB stick (where I can install packages on the fly, that saves command history etc., mostly used to fix computers, mount file systems, use gparted etc.).

Mostly like Knoppix used to be, but that is too much out of date already.

It's about an install image (where I dd it on the stick), and I don't want to use any Windows Tools to create the stick, but an existing Debian installation.
axkibe
 
Posts: 13
Joined: 2013-11-28 07:28

Re: Best way to create Debian Live USB stick.

Postby fred44nl » 2020-09-09 07:48

you might find here what you could use very well:

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/
Debian 10 - Buster on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 203
Joined: 2018-07-14 08:54

Re: Best way to create Debian Live USB stick.

Postby sickpig » 2020-09-09 08:23

axkibe wrote:What is the best way to create a persistent live USB stick

install Debian on a usb stick instead of a hard disk. The installer allows you to select the disk where Debian will be installed.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Best way to create Debian Live USB stick.

Postby axkibe » 2020-09-09 08:33

sickpig wrote:
axkibe wrote:What is the best way to create a persistent live USB stick

install Debian on a usb stick instead of a hard disk. The installer allows you to select the disk where Debian will be installed.


I suppose this is a good approach, however, /tmp should be put on a ramdisk, no?
axkibe
 
Posts: 13
Joined: 2013-11-28 07:28

Re: Best way to create Debian Live USB stick.

Postby sickpig » 2020-09-09 08:54

I suppose systemd mounts /tmp and temp files on a tmpfs. Not sure though. Personally I dont care where /tmp is. But if you do then sure you can mount /tmp on a tmpfs.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Best way to create Debian Live USB stick.

Postby Bulkley » 2020-09-09 14:45

Have a look at Antix.

The Most Extensive Live-usb on the Planet!


I can't make promises but it might be worth a look.
Bulkley
 
Posts: 6029
Joined: 2006-02-11 18:35

Re: Best way to create Debian Live USB stick.

Postby sunrat » 2020-09-09 22:14

axkibe wrote:Mostly like Knoppix used to be, but that is too much out of date already.


The most recent Knoppix 8.6.1 is based on Buster and has kernel 5.3.5. Not so old.

If you don't want to install to USB, what you are after is "Debian live USB with persistence". Search for that will give you some ideas. There's some official Debian guide to that somewhere I couldn't find quickly, but this may help - https://unix.stackexchange.com/question ... ersistence
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3335
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to General Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable