-
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
![ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture](/store/img/g/oXIAAOSwCn1k30lD/s-l225/ASRock-B550M-Pro-SE-AM4-DDR4-SATA-6Gb-s-1-PCIe-4-0.jpg)
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
![Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3 picture](/store/img/g/CZ4AAOSwg8pmYirU/s-l225/Asus-H81M-C-Intel-LGA1150-DDR3-Desktop-Motherboard.jpg)
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
![Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate picture](/store/img/g/1ykAAOSw1ztmawRh/s-l225/Gigabyte-GA-Q170M-D3H-GSM-LGA1151-DDR4-Desktop-Mot.jpg)
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate
$49.99
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture](/store/img/g/ld0AAOSw7q5mV2ql/s-l225/Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
![Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture](/store/img/g/QrkAAOSwMGNmLxf0/s-l225/Gigabyte-Z370P-D3-ATX-Z370-LGA1151-Motherboard-Sup.jpg)
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
![ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield picture](/store/img/g/HvEAAOSwhsBmbMOj/s-l225/ASUS-H87I-PLUS-LGA-1150-Intel-Motherboard-w-IO-Shi.jpg)
ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield
$39.00
![MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture](/store/img/g/6G8AAOSwCwFf0Vli/s-l225/MSI-B450M-PRO-VDH-MAX-AM4-AMD-B450-USB3-2-Micro-AT.jpg)
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
![MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture](/store/img/g/egYAAOSw1q5mPOza/s-l225/MSI-PRO-B650-P-WiFi-AMD-AM5-DDR5-WiFi-6E-ProSeries.jpg)
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
![Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture](/store/img/g/CCsAAOSw9mtkQuoe/s-l225/Gigabyte-M-ATX-motherboard-with-Intel-Core-i3-8100.jpg)
Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM
$84.00
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Motherboard w/ I/O Shield picture](/store/img/g/OJEAAOSwk2pmV2uJ/s-l225/Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Mother.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Motherboard w/ I/O Shield
$59.99