-
Senior Member
registered user
64-bit LXDE Debian.LiveUSB
Code:
Partitioned 2 Gb SanDisk to 1200 Mb fat32, 800 Mb ext2; labeled ext2
as persistence; echoed "/ union" >> /media/persistence/persistence.conf.
Desktop time was already set to local; changed format to %l:%M %P.
Used external wifi to add b43, GParted & ttf-mscorefonts via Synaptic;
borrowed Knoppix's repositories for b43 & ttfs.
Added LibreOffice, Leafpad & Terminal to panel; set panel to auto-hide.
Removed Lock Screen & Minimize Windows from panel; added volume control.
Reduced browser cache limit to 25 Mb; adjusted fonts & underlines.
Added ChezHoye, changed homepage & added bookmarks.
Changed desktop image to Japanese print, adjusted background color;
removed Install Icon from desktop.
Added synclient TouchpadOff=1 to /etc/X11/Xsession.d/45x11-Synaptic
& ok to /etc/rc.local
Added Count & Channel apps to ~/.bashrc not /etc/profile.
Adjusted terminal font & foreground.
To do list:
Needs boot time parameter 'persistence' added for each boot.
May need terminate:ctrl_alt_bksp to restart screen.
With some effort the Debian.Live iso makes a fine LiveUSB with persistence.
The Debian.Live product's persistence approach, although elegantly simple, is
keenly obscured by its documentation. The iso carries Debian's disdain for 'non-free'
wifi drivers to an excruciating extreme. This may be overcome by temporarily applying
Knoppix's 'non-free' repository definitions to Debian.Live's Synaptic. Included
applications are not the very latest: Linux 3.2, LibreOffice 3.5, IceWeasel 17,
PCManFM 0.9.10, but that may contribute to the very stable and smooth feel of the system.
The basic system is contained in a normally ro compressed form on a squash
filestem in a fat32 partition; persistence is provided by a non-compacted rw overlay
in a second ext-formatted partition. There are adequate device assignments such that
numerous non-compact overlays might conceivably be compacted and transferred to
squashfs devices on the fat32 partition, but that's not currently advertised or developed
in any way that I know-of.
The trick to Debian.Live is as follows: make a second partition of est2, 3 or 4;
label that partition 'persistence'; provide a 'persistence.conf' file on the root (/)
directory of the ext partition; the conf file needs only one line '/ union';
finally, when you boot up with the other partition, include the parameter 'persistence'.
Forget all these quote marks as you apply this elegant process.
-
Senior Member
registered user
A small refinement:
.
If you get tired of adding 'persistence' at boot with your Debian.LiveUSB, you can tweak
the initial choice menu a little. Add a persistent mode stanza, to live.cfg,
and let this be the new default. You need to do this with another Linux, MOUNTING
the Debian.Live unit inertly as a bunch of files, rather than executing it as a live system.
Mine showed up at /media/sdc1/isolinux/live.cfg. YMMV.
Code:
label live-amd64-persistent
menu label ^Live (amd64-persistent)
menu default
linux /live/vmlinuz
initrd /live/initrd.img
append noprompt cdrom-detect/try-usb=true boot=live config quiet splash persistence
label live-amd64
menu label ^Live (amd64)
linux /live/vmlinuz
initrd /live/initrd.img
append noprompt cdrom-detect/try-usb=true boot=live config quiet splash
label live-amd64-failsafe
menu label ^Live (amd64 failsafe)
linux /live/vmlinuz
initrd /live/initrd.img
append noprompt cdrom-detect/try-usb=true boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E
$84.99

SanDisk 1TB Ultra 3D SSD NAND Internal SDSSDH3-1T00-G25 (REFURB)
$35.99

Kingchuxing 512GB 1TB 2TB SSD 2.5"SATA III Internal Solid State Drive 500MB/s
$76.49

Netac 1TB 2TB 512GB 120G Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$89.99

fanxiang M.2 2280 2TB 1TB 512GB SATA III 6Gb/s Internal Solid State Drive Lot
$17.99

Samsung - T7 Shield 1TB External USB 3.2 Gen 2 Rugged SSD IP65 Water Resistan...
$79.99

SAMSUNG 2TB 1TB 500/250GB SSD 870 EVO 2.5" SATA III Solid State Drive for pc lot
$217.49

Netac M.2 2280 1TB PCIe3.0 NVMe 1.3 3D NAND Internal Solid State Drive
$39.99

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$29.55

1TB SATA 3.5" Desktop Hard Drive With Windows 11 Pro 64 bit Installed
$30.25