6
votes
Automatically running an installation cli script in terminal on startup
You can run a script on boot by passing the script kernel boot parameter in the ISOs boot loader config files.
This assumes you are using the archiso package to create your ISO image.
Put your ...
5
votes
Accepted
Optical drive power settings: Wait longer before spinning down
As mentioned by sourcejedi, you can use sdparm to tweak the Power Condition page entries.
To see the current values, run sdparm -p po /dev/sr0 (or whatever your drive is). This will show the current ...
4
votes
Accepted
Load entire live system into RAM?
Use the boot option toram.
For details see -
Re: Loading persistent USB Flash to RAM - answer on Linux Mint forum.
casper - a hook for initramfs-tools to boot live systems - Ubuntu manpages.
3
votes
Accepted
Which minimum amount of RAM is needed to boot the Arch Linux live iso?
740 MiB
Trial and error in a VM with 4 MiB increments, it turns out that the minimum amount of RAM for "current" archlinux-2022.09.03-x86_64 is 740 MB
History
720 MiB of RAM is required for ...
3
votes
Accepted
Can I install software in FreeBSD live CD?
You can do that. But have you considered that you might have better options for your task?
Rather than the "Live CD" you could download the "memstick" version. So rather than booting a CD you would ...
3
votes
Accepted
What is the difference between tails and a generic live cd distro?
The software included in Tails isn’t specific to Tails, however, it is setup in a way which is specific to tails and not found in most, if not all, other “live CD” distributions. Quoting its ...
3
votes
How to setup SSH access to Arch Linux Iso (livecd) booted computer?
The simplest way is to
install Arch onto an USB stick/harddisk (you can do this from the live cd)
in the new installation
set a root password (passwd)
allow ssh root login (vi /etc/ssh/sshd_config ...
2
votes
How to make a Fedora respin that has a custom program icon on its desktop?
You will need the contents of the .desktop file that opens your program.
In the kickstart file for your spin look for the line:
cat >> /etc/rc.d/init.d/livesys << EOF
After that line you ...
2
votes
How to install Debian From Live Cd
Before Debian 10, the live session did not have an installer included. That is why you do not see the installer icon on the desktop and in the dash in GNOME (where Calamares installer in Debian 10 is) ...
2
votes
Accepted
Where is /cow for Linux booted from LiveUSB?
// Experience based on kubuntu 22 lts livecd
after chroot
the last step of ramdisk (/cdrom/casper/initrd) is
run-init {rootmnt}" "${init}" "$@"
which do something like
chroot {...
2
votes
Debian Linux live system toram: Failed to open /dev/shm device
/dev/shm is usually a tmpfs or ramdisk, so there might be an issue mounting it from your unconventional environment. systemd is correctly ignoring this as a non-issue as you do not need a ramdisk fs ...
2
votes
Accepted
How to create a ppc64 livecd?
Solution found, I start from a Debian ppc64 sid port cd, I extract it (there is a lot of tools to make it, I have simple mount the iso and run cp -av), insert my custom initrd and vmlinux image in &...
1
vote
Where is /cow for Linux booted from LiveUSB?
LiveUSB sticks use an overlay file system such as overlayfs. There are a couple of different ones so I'm not certain which it uses but the principle is pretty much the same in each.
The root file ...
1
vote
Accepted
Use systemd-home on a live cd system
Suppose you've created the user user with UID and GID 60101 and that you're running your live cd with the standard user structure in place.
Prerequisites
Users managed by systemd-home need site-...
1
vote
How to change default username/hostname for Ubuntu 22.04.1 LTS LiveCD?
Maunt the USB device and search the grub.cfg /USB/EFI/BOOT/grub.cfg, edit the following line:
linux (loop)/live/vmlinuz
and add this boot option to the Linux kenel:
config live-config.username=...
1
vote
How to change default username/hostname for Ubuntu 22.04.1 LTS LiveCD?
changing the default user seems like a daunting task since many setup variables depend on it for locality reasons.
it might be easier to append a setup script to root user to change the outcome of the ...
1
vote
Where are stored the default user and password used by the Debian live?
Live (live-only) system
You cannot save anything (make it survive shutdown and/or reboot) in a live-only system. What you can do is modify the system before or during cloning it to the drive, but it ...
1
vote
Accepted
How to update the kernel for a live CD Linux image
Issue resolved by:
Installing the new kernel in the chroot environment of the liveCD root file system itself and then moved the new kernel (vmlinuz) and the initramfs image (initrd) to the /casper ...
1
vote
Can't delete a file at an NTFS partition in Linux
The reason for the permission denied error is that the partition is mounted as ro (read-only). The reason is mostly that the Windows partition is not properly shutdown and hibernated (you can try ...
1
vote
Accepted
How to autoprobe block devices in initramfs?
You could try your luck with modalias as exposed through the sysfs interface.
See for example https://patchwork.openembedded.org/patch/148854/ which suggests:
echo "/sbin/mdev" > /proc/sys/kernel/...
1
vote
How to manually tell systemd to not wait, but abort a job, during boot?
I faced this problem as well and I worked around it by disabling the networking service and starting it manually after login. Cable not being plugged in would cause a significant increase in boot up ...
1
vote
Accepted
Condition sometimes failing to test if a specific process is running or not
Ps has -C option without need to grep
killall -0 firefox-bin will tell you if firefox-bin process exist by exit code. Without need of pipe and redirection in a raw.
Just remove your if ps and leave ...
1
vote
Accepted
Mint "cow format specified as overlayfs and no support found" error
I downloaded linuxmint-19-cinnamon-64bit.iso last July, and mkusb can make a persistent live drive from it. I tested right now (using the default settings) with a Sandisk Extreme 16 GB USB3 pendrive.
...
1
vote
Debian-Live stucked on grub
Try using the nomodeset kernel boot option. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.
Boot from the Debian live USB. ...
1
vote
Boot kernel parameter to run an executable at the end of booting, if found
I don't think the kernel would do that. It can't know how and when to start the process, since the boot-time actions like mounting all filesystems are done in userspace, and the kernel can't know when ...
1
vote
Live-Build doesn't make iso
I've had the same issue before, you need to run the lb build command under root,
At the command line type su, enter your root password, then you should be able to type lb build which will build your ...
1
vote
Looking for answers related to custom images and installers
After some trial and error, eventually I looked into /var/log/syslog and saw some odd things, such as the installer making requests to the specified mirror with the "wrong" suite/codename, I wondered ...
1
vote
CentOS 6.5 livecd ISO fails to boot in IBM x240 server
The solution for this problem is to change two things on the BIOS configuration
Boot Mode to "Legacy Mode"
Optimized Boot set to Enabled
1
vote
How to edit a kali linux custom iso?
That is not possible if you live boot it since everything will be gone after a reboot.
You could install them each time you boot the iso if the tools don't require a reboot.
You could install that ISO ...
1
vote
Is there a live linux distribution with a specific set of softwares
The RescueZilla team is planning for incorporating VeraCrypt into a upcoming version of the RescueZilla Live-DVD (Live-system). ref1: SourgeForge, ref2: Github.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
livecd × 222live-usb × 42
linux × 33
debian × 28
boot × 28
ubuntu × 19
system-installation × 19
fedora × 16
grub2 × 14
iso × 14
centos × 9
mount × 9
grub × 9
linux-mint × 7
linux-kernel × 7
kernel × 7
arch-linux × 6
kali-linux × 6
gentoo × 6
initramfs × 6
distribution-choice × 6
filesystems × 5
partition × 5
windows × 5
data-recovery × 5