date int64 1,220B 1,719B | question_description stringlengths 28 29.9k | accepted_answer stringlengths 12 26.4k | question_title stringlengths 14 159 |
|---|---|---|---|
1,428,257,586,000 |
Is it possible to limit a specific user's processes to always run with a niceness of at least 15, say?
|
You can set per-user or per-group nice values using pam_limits and the /etc/security/limits.conf file.
e.g.
username hard priority 15
This only affects PAM services which are configured to use the pam_limits module. Depending on your distribution, this is probably already enabled for services like login, cr... | Is it possible to impose a minimum niceness on a specific user? |
1,428,257,586,000 |
How would one go about determining the amount of space allocated to their system for command lines. Is there anything else I need to be concerned with?
|
xargs
One method that I'm aware of is to use xargs to find this information out.
$ xargs --show-limits --no-run-if-empty < /dev/null
Your environment variables take up 4791 bytes
POSIX upper limit on argument length (this system): 2090313
POSIX smallest allowable upper limit on argument length (all systems): 4096
Max... | How does one determine the amount of space allocated to their command line? |
1,428,257,586,000 |
GoogleBot is hitting my server hard - and even though I have set the CrawlRate in Webmaster Tools it is still hiking up the load on my server and slowing down Apache for the rest of the normal web traffic.
Is it possible to limit / rate-limit connections per second / minute using UFW based on a user agent string?
If n... |
You cannot do this with ufw directly, but you need to add the right iptables rules to /etc/ufw/before.rules.
I suggest you to learn iptables. As a (not optimized) starting point something like
-A ufw-before-input -p tcp --syn -dport 80 -m recent --name LIMIT_BOTS --update --seconds 60 --hitcount 4 --rcheck -j DROP
-A... | Can I limit connections per second for certain UserAgents using UFW? |
1,428,257,586,000 |
I am running Debian wheezy. File limits are increased to 100000 for every user.
ulimit -a and ulimit -Hn / -Sn show me the right amounts of maximum open file limits even in screen.
But for some reason I am not able to to have more than ~4000 connections / open files.
from sysctl.conf:
net.ipv4.tcp_fin_timeout = 1
net.... |
There are two settings that limit the number of open files: a per-process limit, and a system-wide limit. The system-wide limit is set by the fs.file-max sysctl, which can be configured in /etc/sysctl.conf (read at boot time) or set on the fly with the sysctl command or by writing to /proc/sys/fs/file-max. The per-pro... | Daemon's open file limit is reached even though the system limits have been increased |
1,428,257,586,000 |
As an experiment on a test system, I tried to limit my own number of processes using /etc/security/limits.conf. When logged on the system I had 16 processes to my name running (all had ruid, euid and suid to my uid).
I tried first setting the hard and soft limit to 20. I logged out and I could not log back in again be... |
As per man 2 setrlimit:
RLIMIT_NPROC
This is a limit on the number of extant process (or, more precisely on Linux, threads)
Which is, arguably, somewhat counter-intuitive. In any case, it might be that the login process spawns a number of threads that trips the limit when it is set to the order of 20 ... | Linux not enforcing limits correctly? |
1,428,257,586,000 |
I'm trying to set up an older version of ocaml, and I'm getting an error message that says that I need to increase my stack size. The only way I've found to do this in cygwin involves running an additional argument with gcc, but the instructions I'm following have me using a makefile to compile the program. Since I'm ... |
Run ./configure -cc "gcc -Wl,--stack,16777216" (plus any other option you want) if you want to always run gcc with the argument -Wl,--stack,16777216 during the compilation process. After that, run make clean, then make world.opt again. You need to clean all previously generated binaries (not the byte compiled files, b... | Increasing stack size in 64 bit Cygwin? (installing ocaml) |
1,428,257,586,000 |
Is there a way to restrict CPU time (duration) for all processes which are invoked by executables that are located in a certain directory?
I would like to be able to auto-kill all applications which certain users start in their home directories after a certain amount of time (for example after 10 minutes).
|
What you want is in this answer and this answer
The only thing I'll add is the -u user option for ps eg:
ps -u <username>
to search processes started by a user.
| Restricting CPU time of processes by executable path |
1,428,257,586,000 |
So per POSIX specification we have the following definition for *:
Expands to the positional parameters, starting from one, initially
producing one field for each positional parameter that is set. When
the expansion occurs in a context where field splitting will be
performed, any empty fields may be discarded a... |
The limitation is not in the shell but in the exec() family of functions.
The POSIX standard says in relation to this:
The number of bytes available for the new process' combined argument and environment lists is {ARG_MAX}. It is implementation-defined whether null terminators, pointers, and/or any alignment bytes ar... | Command line length limit: built-in vs executable |
1,428,257,586,000 |
When i initially login to a server, I see the following error message.
ullimit: coredumpsize: Can't set limit (Operation not permitted)
Further, when I try to copy files into this machine, I see the same error,
cat .ssh/no_pass_rsa.pub | ssh user@server 'cat >> .ssh/authorized_keys'
user@server's password:
limit: cor... |
ulimit command not found - occurred as only the root user has the privileges to run this command and I was trying to execute it as a normal user. By running this as root, the command executed successfully.
Error Resolved - coredumpsize: Can't set limit (Operation not permitted)
The issue was resolved by editing the /e... | ulimit command not found (without sudo) and error - coredumpsize: Can't set limit (Operation not permitted) |
1,428,257,586,000 |
is it possible to limit number of processes for a given group or user using the process name? Eg. I'd like to groups remotes have only 5 simultaneous ssh processes that are run on my server.
I don't see any options in pam_limit (I can only limit number of process per user or group, regardless of process name) and I do... |
No, it is not possible to limit by process name, because the process name can be changed easily.
So that limit could easily be evaded.
(It can even be changed at runtime I think.)
| Limiting number of processes by name |
1,428,257,586,000 |
This is the situation:
I have a PHP/MySQL web application that does some PDF processing and thumbnail creation. This is done by using some 3rd party command line software on the server. Both kinds of processing consume a lot of resources, to the point of choking the server. I would like to limit the amount of resource... |
Run it with nice -n 20 ionice -c 3
That will make it use the remaining CPU cycles and access to I/O not used by other processes.
For RAM, all you can do is kill the process when it uses more than the amount you want it to use (using ulimit).
| How to constrain the resources an application can use on a linux web server |
1,428,257,586,000 |
I'm trying to set default niceness/priority for a user's processes on Ubuntu 18.04.3 LTS in limits.conf and everything I write in limits.conf is simply ignored. Hard nice, soft nice, hard priority, soft priority, - priority, doesn't matter it just don't work.
session required pam_limits.so in /etc/pam.d/su was u... |
Example 1. The documentation for nice(2) explains that "The range of the nice value is +19 (low priority) to -20 (high priority)". When you set the entry in limits.conf to -16/-17 that's effectively an upper limit that can be reduced to the values I assume you saw.
Examples 2, 3, 4. Your webserver is probably not... | limits.conf is not working |
1,425,636,689,000 |
Addressing an error of Too many open files I was attempting to follow the suggestions here
Although /etc/sysctl.conf
fs.file-max = 70000
vm.swappiness = 10
and /etc/security/limits.conf
nginx soft nofile 10000
nginx hard nofile 30000
following changes to the sysctl command the errors are identic... |
You need to complete some more steps to increase max open files in ubuntu.
Edit /etc/pam.d/common-session and append below line
session required pam_limits.so
Restart your system to apply the changes.
You can set limits to all users on system by adding below lines.
* soft nofile 10000
* hard ... | number of open files configuration not operational |
1,425,636,689,000 |
My company literally has thousands of NFS volumes, which we need to mount on a few of our servers. However, we never mount all of them at the same time; typically we mount about 12 at a time. Most of the time, most of the NFS volumes are actually offline. In the past, we have been mounting and unmounting them manually... |
We have several maps, and some of the maps have 10s, 100s of volumes. So it does work for a fleet of 100s of Linux, 10s of other platforms. The only issue we had with old autofs software in the early days was that it could not cope with modifications and updates online. That is changing the NFS volume and mount point ... | Is it bad to have thousands of autofs rules? |
1,425,636,689,000 |
This problem has now appeared twice on my production Ubuntu machine running both a node server (tiny) and a Spring Boot Java server (the workhorse). The first time it happened, grinding my server to a halt I found the file /proc/sys/fs/file-max had a value of 808286 which seemed totally reasonable to me BUT I increase... |
Your question looks like How to set ulimits on service with systemd? - the open files limit needs to be addressed in the start-up script of the Apache Tomcat server. For example: assuming that the Ubuntu machine uses systemd, one can increase the open files limit for the tomcat java process to 65000 by editing the sta... | "Too Many Open Files" for Apache and java/tomcat. How to set per-process limits? |
1,425,636,689,000 |
I have this perl script and I discovered the pv command and decided to use it to get some feedback into what is going on with the randomness in terms of throughput. After a few tests1 I decided to throttle the command, like so:
perl_commands < /dev/urandom | pv -L 512k | tr -cd SET
5.5MiB 0:00:11 [ 529kiB/s] [ ... |
pv doesn't know about the system power states. All it sees is that the clock changed by a very large amount at some point.
My guess is that pv doesn't care if the amount of time between two clock readouts suddenly gets large and just calculates the throughput based on the time interval. Since the interval is very larg... | Why does it temporarily look like the pv command transfer limit is no longer enforced when I come out of suspend to ram? |
1,425,636,689,000 |
I've been building this (http://tryperl.com) to learn linux. So, my question is just about some *nix stuff I don't fully grok.
One of the things I want to do is run the generated script (in my application) as a limited user. So I create a limiteduser . Then I can set say fork limits like this : limiteduser hard nproc ... |
First, sudo is a good way to run a script as a limited user.
Second, whether there will be problems running more than one instance of the script at the same time will depend on what the script actually does. It has (usually) nothing to with whether the various instances are run by the same user - instead, you need to... | understanding how to run script securely as limited user |
1,425,636,689,000 |
I want to move veryverylongfilename.txt to a filesystem which has a short NAME_MAX.
mv veryverylongfilename.txt /mnt/tiny gives me an ENAMETOOLONG-type error:
mv: cannot stat '/mnt/tiny/veryverylongfilename.txt': File name too long
What command should I use instead, to truncate the filename if necessary?
It would be ... |
The following function (tested in bash) will attempt to move its first parameter to its second parameter. It expects (and tests for) the first parameter to be a file and its second to be a directory.
The local "namemax" variable should be adjusted to your filesystem's NAME_MAX.
moveshort() {
local namemax=8
# sim... | Truncate if necessary when moving file to filesystem with shorter NAME_MAX |
1,425,636,689,000 |
I have Ubuntu installed as VM on my laptop. My laptop has quad core with HT technology making it 8 cores.
Within Ubuntu VM I can only use max of 4 cores.
What should I do so I can access all 8?
Which Linux distribution would let me use all my cores? Which VM software should I use?
Any advices?
|
You are hitting a VMware Player limitation.
VMware Player takes advantage of the latest hardware to create virtual machines with up to 4 virtual processors, 2 TB virtual disks and up to 64 GB of memory per virtual machines.
VirtualBox has a much higher limit (32, as far as I can tell).
| How to avoid 4 core limit for Ubuntu within VMWare? |
1,425,636,689,000 |
So I am trying to change my hard limit for file descriptors on Ubuntu18.04 laptop. I have tried everything but the changes have still not taken effect.
I need to run a go program which keeps throwing this error. too many open files
So I made some changes to my /etc/security/limits.conf file according to this blog post... |
You're very close.
Add the user name who needs the values. You just set limits for root, now set it for the user you need.
You can add users groups etc.
From Redhat site:
# vi /etc/security/limits.conf
#<domain> <type> <item> <value>
* - core <value>
* ... | Not able to increase ulimit -Hn, only shows up for a sudo su session |
1,603,462,705,000 |
As we know, cgroups can limit cpu usage of processes. Here is an example:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30142 root 20 0 104m 2520 1024 R 99.7 0.1 14:38.97 sh
I have a process, whose pid is 30142. I can limit it as below:
mkdir -p /sys/fs/cgroup/memory/foo
ech... |
Control groups are pid-based, and there is no direct way of limiting processes by name. (Since control groups are hierarchical, this makes sense: a group also contains its member processes’ future children, by default, and having them re-attach to another group based on their name would be surprising.)
The typical way... | cgroups: Is it possible to limit cpu usage by process name instead of by pid |
1,603,462,705,000 |
Is there a way to restrict the application access to the system time in linux?
I want to make the application launch as much as possible abstracted from the environment. If you can restrict access to devices/file system with permissions, it's not clear how to restrict access to the system clock, because this is not a ... |
If you want to deny access to the system time, you’d pretty much have to write a system call filter; nowadays that would be a seccomp filter. See Kees Cook’s simple tutorial, or for more complex requirements, libseccomp. You’d need to deny access to gettimeofday, clock_gettime, and time, at least; the details depend o... | Is there a way to restrict the application access to the system time in linux? |
1,603,462,705,000 |
I have a list of files stored in txt file.
./test7
./test4
./test1
./test5
./test6
./test10
./test8
./test2
./test9
./test3
I want to run a command on all those files but I want to sleep 1 second after each two files are processed, eg:
cp ./test1 test1-backup
cp ./test2 test2-backup
sleep 1
cp ./test3 test3-backup
cp... |
I assume you're not describing your real-world scenario: not only do you want to copy hundreds of thousands of files, but you want to sleep for hundreds of thousands of seconds... wtf?!?
Anyway:
while IFS= read -r file1
IFS= read -r file2
do
cp "$file1" "${file1##*/}-backup"
cp "$file2" "${file2##*/}-bac... | bash execute command for X arguments at a time |
1,603,462,705,000 |
I am trying to determine the total number of concurrent sessions on a server to determine a good number for the maxlogins option in /etc/security/limits.conf. How is the number of sessions calculated in relation to the value set for maxlogins and is there a way to check that number via the command line?
|
limits.conf is used by by pam_limits, so I suspect the answer to "How is the number of session calculated?" is "the number of times the pam_limits module was used as part of a PAM authentication process".
So that means:
The login command
su
sudo
Etc.
Look in /etc/pam.d for an authoritative list of things that includ... | How to determine "number of concurrent sessions" for all users on a server |
1,603,462,705,000 |
root@Andromeda:/# ulimit -n -S
2048
root@Andromeda:/# ulimit -n -H
2048
root@Andromeda:/# ulimit -n -S 4096
2048
root@Andromeda:/# echo $?
0
Failure to set soft limit above the hard one makes sense.
What perhaps does not make sense is why the exit code of this attempt is 0.
|
It seems that putting -H or -S at the end causes it to report, not set. And therefore no error. The number at the end seems to be ignored. As far as I can tell this should be a usage error, but not a limits error.
| Setting soft limit above hard does not fail in terms of exit code? |
1,603,462,705,000 |
I got
ERR max number of clients reached
from my redis server so I decidied to increase the allowed max client connections in its configuration. This also requires according to the documentation, to increase the respective open file limits for the user.
So I made the following changes:
$ grep maxclient /etc/redis/re... |
/etc/security/limits.conf is the configuration file for the pam_limits PAM module. It only affects users logging in with PAM, not services started in other ways.
You'll need to configure systemd to change the limits on the processes it starts, see e.g. How to set ulimits on service with systemd? on how to do that.
| Open file limits not increased for redis user despite change in /etc/security/limits.conf |
1,603,462,705,000 |
I am running a program written in python that makes heavy computations using theano.
As it is a very CPU-intensive program, it is disrupting all my other activies on my laptop.
For this reason I have been setting the nice level of the process to 19 and have used cpulimit to reduce its CPU usage to 10%.
Unfortunately t... |
This kind of non-responsiveness, although the CPU is limited is often caused by swapping (i.e. your process pushes other tasks out to disk and getting them back in is going to take a lot of time).
The best way to limit your memory usage is normally from within the program. If that is not possible and memory is consume... | `cpulimit` and `nice` not effective in limiting the cpu usage of a python program that contains heavvy computations using theano |
1,603,462,705,000 |
This seems like a straight forward question:
Is there a relationship between the groups defined in ldap ldif
files and /etc/security/limits.conf ?
I.e.,
does defining an LDAP
user with ou=student translate to @student effects from
/etc/security/limits.conf?
If not, (how) can it be made to?
|
The groups defined with the @group syntax in the limits.conf file can match groups defined in any group database back-end, i.e. files (/etc/group), nis, ldap, and whatever else nsswitch.conf might support.
Assigning a group to an ldap user entry is not done by locating his/her entry somewhere in the hierarchy (like un... | Relationship between limits.conf and LDAP? |
1,603,462,705,000 |
(I posted this question at stackoverflow, but maybe here is the more appropriate place, if necessary - I'll delete the other question.)
I need to put a limit on block IO operations speed for a number of docker containers.
To achieve this, I need to do something like:
docker run -it --device-read-bps /dev/sda:1mb ubunt... |
Docker does not specify a way to discreetly get the block device, which is used for read/write operations.
Successful workaround:
get all the block devices of the OS (OS dependent command).
put the limit on all the devices. No side effects observed.
| How to get the correct device to limit block IO for docker container? |
1,603,462,705,000 |
I have this in my /etc/security/limits.conf:
#<domain> <type> <item> <value>
root - memlock 65536
root - stack 524288
root - nice -20
root - nofile 16384
yet, the process /usr/lib/xorg/Xorg, which does run as root still has only 1024... |
(Updated to reflect your test)
Since the user that's running the Xorg process is not actually logging in, your settings in /etc/security/limits.conf are being ignored. With sysvinit, you need to add ulimit -n 16384 to the beginning of /etc/init.d/slim (tested on antiX 19), not in slim.conf.
The systemd version of this... | "Xorg" process does not take limits from /etc/security/limits.conf |
1,489,764,327,000 |
How to setup/configure the Arch Linux bootcd (live-CD, ISO) so I can login to it using an SSH client?
And which password is by default set for the (automatic login) root account?
|
The default root password for the ISO distribution is blank. And by default you are not allowed to login with SSH using a blank password.
Therefore two commands are necessary:
passwd --
To set a non blank password for the currently logged in user ('root' for liveCD). Enter the password twice.
Before september 2021:... | How to setup SSH access to Arch Linux Iso (livecd) booted computer? |
1,489,764,327,000 |
I have an USB thumb stick with the following partition scheme:
sdb
sdb1 -> root partition '/'
sdb2 -> /home partition
If I boot from a live CD, or just from my current Ubuntu OS located on my computer's hardware, I am able to chroot this way:
mount /dev/sdb1 /mnt
mount /dev/sdb2 /mnt/home
chroot /mnt /bin/bash... |
Do the chroot, as described in the question,
and then do su - fred (or whatever your name is) or exec su - fred.
Do chroot /mnt /bin/su - fred,
so that the su will be the first thing that runs in the chroot environment.
Note that both of the above assume
that your fred user is defined in /mnt/etc/passwd.
OR
Do chro... | Login to user's session with chroot |
1,489,764,327,000 |
My question is about Linux in general but lets suppose my ubuntu isn't working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to reinstall the desktop environment from live cd?
|
Yes it is. Either by using the CD as a repository, or by booting into the live session and downloading the package manually and then installing from your normal OS or even by setting up a chroot environment. IN the examples below, I am using apt-get xfce as the command you will want to run but dpkg-reconfigure or what... | Is it possible to install a linux desktop environment from a live cd? |
1,489,764,327,000 |
I've got a laptop which I haven't used since the last summer vacation: I did put Debian 7 on it and used Debian's feature to fully encrypt the disk, besides a tiny bootloader (or a tiny partition) I guess (not too sure which encryption this is nor how to find out).
I do know the password of the encrypted filesystem so... |
Full disk encryption is usually done using the dm-crypt Device Mapper target, with a nested LVM (Logical Volume Manager) inside. So to reset your password you'll have to
Unlock/open the crypto container; this is done using cryptsetup
Activate the logical volumes; vgchange is used for this.
Usually you won't need to... | How to reset password on an encrypted fs? |
1,489,764,327,000 |
I have a requirement to boot RHEL 6.6/7.0 into read-only mode with a writable layer only in RAM. I believe this is similar to how live CDs work, in that the file system is read-only, but certain parts of it are writable after being loaded into RAM. Here, any changes written to the file system are lost on reboot (since... |
OK, so I do have a working read-only system on an SD card that allows the read/write switch to be set to read-only mode. I'm going to answer my own question, since I have a feeling I'll be looking here again for the steps, and hopefully this will help someone else out.
While setting various directories in /etc/fstab... | Building a Read-Only Linux System With a Writable Layer in RAM |
1,489,764,327,000 |
My students often use the classroom projector screen to give presentations, usually using PowerPoint, but sometimes they show pre-recorded presentations in SMPlayer.
The classroom computer is sufficiently powerful, but as it uses Windows, we ran into many problems which wastes class time. Windows simply has too many ... |
PCLinuxOS is another solid choice for use as a presentation distro. It comes with the following applications:
VLC
LibreOffice
Firefox
Flash
PDF Reader
The list goes on and on of what it can do. The download is 1.6GB, and the windowing environment is KDE.
screenshots
Here's some screenshots of it in action, as I put ... | What live distribution is well-suited for presentations? [closed] |
1,489,764,327,000 |
I'm using Ubuntu as my primary OS and alternative is Windows 7 for gaming, and another stuffs. I want to have menu to boot some live CD ISO. Is there anyway to make menu entry in Grub2/Burg to boot ISO file like the CD way?
I see there are some ways to make it possible but almost method need specified boot arguments (... |
I have got a perfect chain loader with SysLinux, Grub4Dos and Grub2, and here is my configs:
Syslinux
LABEL DSL
KERNEL memdisk
INITRD /iso/dsl.iso
APPEND iso raw
LABEL GRUB4DOS
KERNEL /boot/grub.exe
Grub4Dos
title Paragon Partition Manager
map (hd0,0)/iso/paragon-bootable-media.iso (hd32)
map --hook
chainloader (hd3... | How to boot from iso with Grub2/Burg boot loader |
1,489,764,327,000 |
How can I transfer an .iso file to an USB in parallel to the download of this file so that downloaded data gets directly on my USB without passing through my hard drive.
|
I wouldn't try it on a CD (although it might well be that my old buffering fears are outdated), but it works fine on a USB key; for example:
curl -L http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso | sudo dd of=/dev/sdf
downloads the current Debian network installer and writes it ... | How to download an ISO and directly create a bootable USB |
1,489,764,327,000 |
For some test I start Ubuntu Live from USB.
I'm trying to use tail command to show debug log, but it doesn't work.
I also test opening two terminals (t1, t2) with this code:
t1:
touch a
t2:
tail -f a
t1:
for i in `seq 1 10`; do echo $i >> a; sleep 1; done
Nothing in t2! What can be the cause?
|
If it's a case of tail not working at all, then it could be because your liveCD is using the overlayfs filesystem, which has a bug regarding notifications of modified files. You could try to move the log to another filesystem, such as /tmp if the application creating the log has an option to do so.
You could also car... | tail -f produces no output in Ubuntu live CD |
1,489,764,327,000 |
I have a USB device and i'm trying to create it in a way that it has 2 partitions: one for a live linux disc and the other for document storage.
I created the partitions using gparted and and set a boot flag to the one I want to use as the live disc. Now, I have a usb like this:
Disk /dev/sdc: 14.6 GiB, 15623782400 by... |
You received the Operating system not found error because by writing the ISO to a disk partition rather than the disk as a whole, you inadvertently did not write a boot loader to the disk's MBR gap. And... apparently the PC doesn't care about the boot flag.
I see two possible solutions, but I must say, I'm really just... | Use a partitioned live usb |
1,489,764,327,000 |
I wanted to see what files are added on top of ISO 9660 when LiveUSB Linux is running. When booted with persistence upper and work folders are on USB drive clearly seen. I run mount on Linux booted from LiveUSB "usual way" (w/out persistence) and saw / is mounted via overlayfs and upperdir=/cow/upper. But sudo ls /cow... |
// 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 {rootmnt}" "${init}" "$@"
after that step it may affect the observation of the original mount point.
before chroot
Fortunately there are ways to... | Where is /cow for Linux booted from LiveUSB? |
1,489,764,327,000 |
I'm not too familiar with Linux, but hope it may be ideal for this situation. I'm hoping there is a boot from CD style distro that will be ideal for my daughter to use solely for browsing the internet.
The only odd requirement is that it must be able to save a list of websites to 'favourites' (maybe on USB for exampl... |
Although it might be bloated, you could just use Ubuntu Live (netbook or desktop).
If you copy that to a USB disk via their usb-creator-gtk, you can specify an amount of persistent storage for the user.
If you need to make more modifications to a default install, you can always take a look at this article from lifeha... | LiveCD web browser distro |
1,489,764,327,000 |
I converted a machine from a single disk to mdadm RAID1. I did this nearly like it's described in Raid1 on a running system.
Before, I tried to make the same changes not within the running system, but in grml. update-grub failed. It complained /dev couldn't be found.
Why is update-grub not possible within a live-cd?... |
You have to bind-mount /dev /proc and maybe /sys to the chroot. You can use grml-chroot which automatically bind these three directories into your chroot.
| update-grub in grml |
1,489,764,327,000 |
After going through the process of installation of a Unix OS (in this case Mageia) on VirtualBox 4.08, the next step is to remove the LiveCD.
Since the LiveCD is virtual, how should one proceed to remove it? Deleting the ISO does not seem like a clean way to do this.
Should the setting be changed in the storage sectio... |
On the screenshot you provided, with the Live CD selected, click the little CD icons on the right. That should provide you with a dropdown box from which you can select Remove Disc from Virtual Drive
| How to remove LiveCD after installing OS on VirtualBox? |
1,489,764,327,000 |
I just bought an HP pavillion g6 laptop, with the hope of installing Linux on it. I have now tried both Linux Mint (my first choice) and Ubuntu, and both simply give me a black screen from the moment it begins loading the Live CD. I think it reaches the login screen, I can hear the start-up jingle, but all is just bla... |
There's a launchpad bug about
Ubuntu booting with the laptop backlight off; that might be the problem you're seeing.
| Black screen at boot with Mint and Ubuntu live CDs |
1,489,764,327,000 |
According to this post I can:
Start the livedisk again, remount your drives archroot into your root
partition and then install the packages you need and everything should
work.
However, I cannot find any information on how to do it.
Could you please explain me what I should do to remount the installation CD and... |
Thanks to other answers I was able to find this thread: What's the proper way to prepare chroot to recover a broken Linux installation?.
As every step is extensively explained in the provided thread on SuperUser I will only provide a very simple solution to what I was trying to achieve.
This approach is a great way t... | Remount Arch Linux installation CD to download some additional packages |
1,489,764,327,000 |
Puppy Linux has a great feature:
as in wikipedia is mentioned
However, it is possible to save files upon shutdown. This feature allows the user to either save the file to disk (USB, HDD etc.) or even write the file system to the same CD puppy is booted from if "multisession" was used to create the booted CD (on CD-Rs... |
Instead of LiveCD, you can create LiveUSB. It functions just like LiveCD but can store the information persistently in a file system called Casper-rw. This file can reside on hardrive or USB drive itself.
https://wiki.ubuntu.com/LiveUsbPendrivePersistent
http://en.wikipedia.org/wiki/Live_USB
http://www.debuntu.org/how... | Linux Live CDs that are able to save configuration on the boot disk? |
1,489,764,327,000 |
I am trying to edit /boot/loader.conf in a freeBSD. The system was unable to boot because of some errors made to the file.
To rectify removing this errors i have to boot using live CD, mount the /boot partition,edit the file and write the changes. How could i know to locate what to mount , where to mount it and how to... |
I found an answer .
Just to let you know, even using an ubuntu live CD, might just not do it.
I have used this useful link :
# sudo modprobe ufs
# mkdir ~/ufs_mount
# sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb1 /home/<your_username>/ufs_mount
as home directory name.
sdb1 the drive desired to get into..
However yo... | mount a drive in freeBSD to edit a file, using live CD |
1,489,764,327,000 |
I'm trying to create a custom Debian liveCD using live-helper, but offline. It was more or less possible with apt-cdrom (using the official DVDs to solve all the dependencies).
I did lh config and then lh build, like I'm supposed to. Problem is it failed and gave me this error:
E: Failed getting release file: http://... |
These instructions assume that you want to create a live disc from just one Debian DVD (or CD). I don't know how to combine different CD/DVD images to be one repository.
Install a web server:
sudo apt-get install cherokee
Create a mount point on the web server path and mount the disc:
sudo mkdir /var/www/squeeze
sud... | Using live-helper offline |
1,489,764,327,000 |
I'm building my own UBCD and I'm using dual layer to fit 7.5Gigs
Useful resources for UBCD customization:
The SYSLINUX Project
UBCD Customize
Casper Man Page
Live Boot Man Page
Here's my custom.cfg file.
MENU INCLUDE /ubcd/menus/syslinux/defaults.cfg
UI menu.c32
LABEL -
MENU LABEL ..
CONFIG /ubcd/menus/syslinux/m... |
For Tails
pass the argument findiso to kernel as
findiso=/path/to/ISO boot=live config live-media=removable nopersistent noprompt quiet timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash nox11autologin module=Tails quiet
update
If you extract the content of ISO's to respective folders then they can be boote... | Live Distros: UBCD boot Deft, Caine, and Tails from Custom Menu |
1,489,764,327,000 |
The Windows partition on my laptop seems to refuse to boot, and since I lack the original install CD, I was thinking of installing my preferred Linux distro, Arch on it.
I want to recover data off the Windows hard drive (and onto my external) first before installing Arch, so I intend to use a Live CD to do so. Both t... |
I use SystemRescueCd. It boots to a bash shell (where you can startx if you want) and can mount ntfs drives using ntfs-3g.
It also includes a lot of rescue tools.
| A Live CD distro for getting data off a NTFS partition without X Windows |
1,489,764,327,000 |
I'm looking for a live CD distribution that offers me fully featured environment for using Internet and OpenOffice (or some other office app compatible with M$ Word).
I thought about installing a mainstream distro like Ubuntu on USB Flash drive and adding the software myself, but I would have to get a fast 8 GB USB st... |
Linux Mint seems to be an exact match to what you're looking for! It includes allmost everything you need. OpenOffice, codecs, Firefox, jockey for easy installation of drivers (if needed), XChat, Pidgin, VLC, Transmission (BitTorrent client), Java, ... etc. I've been using it for about a year now, and it hasn't let me... | Live Linux CD/DVD with Bittorrent client, Java, Flash, VLC? |
1,489,764,327,000 |
I am having trouble figuring out how to have grub installed on a floppy in a way that it automatically boots a modified Ubuntu 12.04 CD on startup.
I will settle for knowing some commands at the grub prompt
if automation is asking for the impossible.
The CD is bootable, but the system this is made for doesn't have a... |
An better alternative to all in one boot floppy is probably to use BCDL. The bootable CD loader automaticaly boots the first CDROM. The problem is that its CD driver is no longer up to date, so you need to upgrade VIDE-CDD.SYS on the floppy with e.g. XCDROM.SYS taken from here.
(Only tried with a virtual machine, not... | grub on floppy to rescue CD boot chain |
1,489,764,327,000 |
While going through the man page, I found some options that seem to suggest that the command line tool livecd-iso-to-disk is capable of creating a multiple-boot USB:
--multi
Used when installing multiple image copies to signal configuration of
the boot files for the image in the --livedir <dir> parameter.
--l... |
I am not familiar with this tool but from looking at the source for the livecd-iso-to-disk.sh script here, I think you've got this backwards. You still need to provide a single source (not a directory) because this tool can only do one ISO at a time, so you need to run it once for every ISO you want to add. Meanwhile,... | How can I create a multi-boot USB using livecd-tools? |
1,489,764,327,000 |
I was reading this article - how do I Access or mount windows NTFS partition in Linux that mentions:
NTFS3G is an open source cross-platform, stable, GPL licensed, POSIX, NTFS R/W driver used in Linux. It provides safe handling of Windows NTFS file systems viz create, remove, rename, move files, directories, hard lin... |
The original code in Linux for NTFS partitions could change an NTFS partition, but required you to do a disk check after rebooting into Windows NT.
I am not sure when this was, it might have been those in last millenium with SuSE 4. And not working from a live CD, but from a dual boot machine.
That changed with NTFS... | Does Live Linux CD in general have safe handling of Windows NTFS files |
1,489,764,327,000 |
I'm not an expert on computers in general or Linux in particular, so if I'm vague on something please let me know and I'll try to elaborate.
I have an old computer running Red Hat 5.0. It had a Windows dual-boot (98 or XP - I forget which), but I never used it much and a few years ago when it said it was corrupted ... |
You can reboot the computer with a terminal command, but you can't give it a terminal command that tells it what device to reboot into. Once the machine reboots control is passed to the BIOS, which then decides what device to boot from.
Some BIOSes will automatically offer to boot from a bootable CD/DVD if it detects... | How do I boot my computer from a Live-DVD from the terminal? |
1,425,182,803,000 |
What can I use to create a backup image of my entire system that will be saved on a LAN computer via SSH? If I break anything later, I want to be able to restore my entire system as it was before the backup in minutes. Is there a Live CD that can "save backup image to ssh://..." and "restore from backup image ssh://..... |
Clonezilla would be a suitable product for a whole-disk image. It works in a fashion similar to Ghost.
| How do I backup everything? |
1,425,182,803,000 |
I have a Debian (Wheezy) system that I have configured by installing/removing packages and editing some conf files.
I would like to distribute an (almost) exact replica of my system to others programmer on my team. My first instinct is to create an iso but I'm willing to listen to other suggestions.
What's the easies... |
what I do to distribute systems easily is create an image (using clonezilla over PXE and samba / nfs storage) and "cast" these images to different computers. This way I can rapidly restore images of my distributions. This is usefull if the hardware is quite the same.
There is also an option to alter live-cd's. You ca... | How to distribute my debian system? |
1,425,182,803,000 |
I tried out the linuX-gamers live DVD and like it so much that I want to have it as the main operating system on my desktop. The FAQ says:
Can I install or copy the medium to my hard disk?
No, the software is only designed to boot from a live medium.
However, as the live DVD is said to be based on Arch Linux I th... |
As of today I have successfully installed this distribution and can use it as if it were Arch :) Below is the simplest way to do so:
Install Arch on the hard drive
Remove everything in / (in the local disk), except for /boot
Mount the root-image.sqfs image in the linuX-gamers live DVD and copy everything inside to /
... | How to install from a Linux live CD that does not support installing? |
1,425,182,803,000 |
I would like to make a bootable USB/Floopy/LiveCD with linux kernel and Grub.
After booting to that USB/Floopy/LiveCD using VirtualBox or directly, it will show my own customized Grub screen and then it will execute my C or Pascal application.
I was trying to download grub but I am not sure which one I should use. Is... |
There are only two versions of grub listed there, the 1x series (most recent being 0.97) and the 2x series (most recent being 1.99). Both can be customized and used for your purpose. The 1x series has more standard compatibility with old hardware and distros, but we the 2x series is coming along nicly and many major d... | Which Grub to use for a custom portable boot image? |
1,425,182,803,000 |
How will you chroot into your Linux system using a live disc?
|
You can simply mount the filesystem :
mount /dev/sdXY /mnt
Then :
chroot /mnt
Before you chroot, there are a few other things you may want to do. For example, if you want to install programs, etc then you'll need to set up name resolution and such. Here's part of a "how to make a custom live dvd" howto that explain... | Chroot live disk |
1,425,182,803,000 |
I want to take my old notebook while travelling. I have to boot up only from usb or cd though. I want to connect to the internet using usb tethering from my android phone (HTC Desire + cyanogen mod 7.1)
If connect my android phone to my Windows 7 computer via usb cable and turn usb tethering on Windows does the rest a... |
NetworkManager can connect you automatically if it's configured to do so. And it comes with most modern distros, such as Fedora or Ubuntu. I recommend using live USB so that you can retain the configuration between boots.
| What live distro can automatically accept usb tethering from android phone? |
1,425,182,803,000 |
Is there any way of running an OS in a smartphone without installing it on the device? That would be the equivalent of a live-CD for a PC. I intend to test several BSD distributions on a phone, that could be an Android or Windows.
|
You would need a BIOS or EFI to set from which device the phone should start up. Then you could use the external SD card as Live CD, or maybe even the USB port.
But do we have something like BIOS for our phones? I haven't heard anything abou this. Of course it has it, but how can you activate it?
When your (Android) ... | The equivalent of a live-CD for a smartphone |
1,425,182,803,000 |
I'm running a live distro in ram. I need to write a password to a file. Later, I need to delete it securely.
I don't know how live file systems work, so I'm unsure if I open the file for writing, then write over it with data the length of the password, if it actually will write over that exact memory location or no... |
Journalling depends on the filesystem being used, but if you're using a live Linux distribution, there usually isn't any persistence by default (with some exceptions). If your filesystem is journalling (check /proc/mounts to find out which filesystem is being used) I would not rely on anything to try and "securely del... | Securely Deleting A File In Ram |
1,425,182,803,000 |
Most of the live CD systems I have come across don't seem to have the LFS requirements pre-installed (i.e. everything on this list).
Are there any live CD systems that come with the required software for LFS 7.0 preinstalled?
I have used the LFS liveCD in the past, but it looks like it is too out of date to be used wi... |
You could build your own. While this clearly seems to be a chicken-and-egg problem, I just had a deeper look at SUSE Studio and it could be of great use here. Just login/create an account, choose a base template (say, "minimal X"), add software, choose "Live CD" in the Build tab.
Since all OpenSUSE repositories are ... | LiveCD for LFS 7.0 |
1,425,182,803,000 |
I want to be able to use a CD/USB bootable "live" linux distribution to:
read a truecrypt volume
mount local drives
Ubuntu Privacy Remix seemed perfect as it does include TrueCrypt, but it explicitly cannot see local drives (kernel source modified, as discussed here).
I want to use this live CD/USB distribution for... |
Any live distribution with cryptsetup should be able to read truecrypt volumes, and I thought they all could mount local drives (apparently you found one that can't).
I know Linux Mint, Ubuntu, Debian, CrunchBang can, probably any Debian-derived distro, or Arch, or Red Hat, I think they all can install cryptsetup one ... | Live linux distribution that includes TrueCrypt, to be used for data recovery [closed] |
1,425,182,803,000 |
I have tried to install some packages (apache mariaDB) and something went wrong from my
sudo apt install apache2 mariadb-server apt-transport-https
At the end there was an error
Checking init scripts...
Unpacking libc6:armhf (2.32-4+rpi1) over (2.29-2+rpi1) ...
Setting up libc6:armhf (2.32-4+rpi1) ...
/usr/bin/perl: e... |
There is no way to create the link if you cannot become root.
I think you have to use a Linux system where you can work as root, insert the SD card and create the link.
Note that the unmodified ln -s ... command would create the link in the directory of your running system, not on the SD card. You would have to use so... | After libc6 upgrade `sudo: account validation failure, is your account locked?` - What can I do before I switch off and repair from live CD |
1,425,182,803,000 |
I'd like to build a Debian Live system based on sid with an encrypted root filesystem. It's quite easy to install a Debian system with a rootfs encrypted with dm-crypt/LUKS, so I suppose it's also doable on a live system.
In Debian Live 2.x, lh_config used to support an --encryption parameter which would do just that,... |
I've sent a patch for version 4.x to the Debian Live developpers as a starting point to implement this.
| Debian Live 3.x with encrypted root filesystem |
1,425,182,803,000 |
I have attempted to make Tiny Core Linux, Archboot (didn't get very far), and SliTaz remastered live CD's with lsdvd included, in order to create a lightweight transcoding solution that allows as much of the processing to be on the transcoding as I can manage. Additionally, I opted for these RAM distributions so that... |
It turned out to be an issue with VirtualBox's "Passthrough" feature for the Host IDE Disc Drive. Without it, lsdvd cannot fully function.
| Can't Get "lsdvd" To Work On Remastered Live CD's |
1,425,182,803,000 |
For some reason on my office machine every Linux Live-CD either takes forever to boot or goes to a terminal interface instead of the expected GUI. I used to boot to an Ubuntu 10.10 Live-CD and Live-Thumb-Drive on a regular basis. Today I tried the Live-CDs for GParted (got a terminal interface), Lubuntu (the latest ve... |
While it's not entirely clear from your question, I assume that the same media you've previously used to boot the machine now show problems, without any changes in hardware configuration. If that's correct, it really looks like a flaky optical drive. Try to look at your log files -- most CD-related problems I've seen ... | Live-CDs no longer boot as expected |
1,425,182,803,000 |
The other day I burned a Chakra Linux iso on a dvd. When I booted into a live session I was able to access all my regular data. In dolphin when clicking on the icon belonging to my /home/user partition a pop-up asked me for my sudo password. The password I entered was not my regular sudo password, but the password tha... |
If an attacker can boot a live CD in your environment, your environment is not secure. This is one of the reasons why physical security is so important.
As a general rule, physical access to the machine is all that's ever needed to compromise it. Unix permissions are enforced by the kernel. If you run a live CD and ar... | Why can I access all my files without a password when booting with a Chakra Linux live CD? |
1,425,182,803,000 |
When running from a live DVD, something highly annoying is:
I click on something. then I hear the DVD drive starting to spin.Now, I know that I need to wait five seconds until the computer reacts for the next time.
How can I tell the DVD drive to keep spinning for 20 minutes instead of 1 minute?
I have already set the... |
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 timeouts (ICT and SCT; the IDLE and STANDBY flags also need to be set).
To change the values, run
sdparm -p po -s ICT=12... | Optical drive power settings: Wait longer before spinning down |
1,425,182,803,000 |
If I boot Linux without installation (i.e. from live DVD), how can I load the entire disc into RAM in order to be able to re-use the drive?
It is possible with PartedMagic already. How can I do it with Linux Mint?
|
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.
| Load entire live system into RAM? |
1,425,182,803,000 |
I have written a shell script to create a squashfs live system from a hard drive installation, in order to have a linux system running only in ram.
But when I run the toram live system, I have the following error in the dmesg:
systemd[1]: Failed to open /dev/shm device, ignoring: Inappropriate ioctl for device
Despit... |
This is caused by a bug in live-boot. The bug is already fixed upstream, but it will take some time until a release is made. In the meantime, you can just ignore the error log (it's harmless). Or you can patch it yourself:
if [ -f ${DEST}/lib/live/boot/9990-toram-todisk.sh ]; then
sed -i 's|dev="/dev/shm"|dev="tmpfs... | Debian Linux live system toram: Failed to open /dev/shm device |
1,425,182,803,000 |
I want to run a few diagnostic scripts in a FreeBSD live CD (the scripts are for FreeBSD, so...). But I would like to monitor the HDD temperature while doing that, so is it possible to install any software (namely smartctl) inside a FreeBSD live cd-booted system?
As far as I found out, there is no pkg present in the l... |
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 boot a USB stick and have a writeable system. And if the system is networked I would PXE boot a minimal image.
What you d... | Can I install software in FreeBSD live CD? |
1,668,793,372,000 |
I have a mid-old laptop that I want to use for learning more details about Linux, so I decided for a first-time Gentoo installation. I can only connect via WLAN to internet with this laptop. My router only supports WPA(2). My biggest USB stick has 2GB for the live linux, so the full Gentoo live DVD (larger than 2GB) i... |
Just Download a Live-Distro of your choice (with wpa_supplicant) with the same arch (32/64 bit) you'll choose for gentoo later, too
Create a bootable USB-Stick from it
Boot from the USB-Stick
Most of the upcomping steps require root privileges, so you could do a su in your Live-Distro and go on as root.
Create your p... | What live linux smaller 2GB and with pre-installed `wpa_supplicant` is suited best for Gentoo installation? |
1,668,793,372,000 |
I have got a DVD-RW on which I'd like to install some linux distributions, but I've tried a few (Ubuntu 13.10, Crunchbang, ElementaryOS and some others, don't really remember), but they didn't work, which has me worried that it might not be possible.
The problem is that I will be using both my USB ports and my HDD fo... |
Use a Ubuntu liveCD with persistant storage.
create a file called casper-rw.
touch /media/casper-rw
Then run the folowing command.
dd if=/dev/zero of=/media/casper-rw bs=1M count=128
You will then be able to boot into the liveCD like normal, but any changes made will be saved in the casper-rw file.
| How can I install a Linux distribution to my DVD-RW? |
1,668,793,372,000 |
Can we make a live dvd with a dual boot option between Ubuntu and Linux mint?
I have both the iso's. They both are larger than 800mb. If I will burn 2 dvd's, Then a lot of space will be wasted. So I wanted to make one live cd that can boot both of them.
I have searched the net but did not find any result.
|
I have used Sardu for that job. It allows you to create a multiboot DVD and you choose the distroes you would like to multi boot into. It involves downloading the distros and this program will then boot thse distroes.
Details here the process is detailed but its worth the trouble.
| How to make dual boot live dvd |
1,668,793,372,000 |
So I finally decided to move from Windows to Linux. But before that I have wanted to try Fedora distribution from LiveCD. So I downloaded Fedora 17 .iso file, unpacked it and then burned on my CD. I rebooted the computer and saw message saying "Select proper boot device" (and yes, I change settings right in BIOS). So ... |
Maybe .iso file isn't good or maybe you made some mistake before burning it. Try not to unpack .iso file. Just download CDBurnerXP (it is free) or something like that, choose option "Burn ISO image" and program will do everything for you (unpack and burn).
Give it a try ;)
| Unable to boot from Fedora LiveCD |
1,668,793,372,000 |
I am building a custom Alpine image based on isolinux.
Basically, I am squashing rootfs, and mounting it as overlayfs.
Bootloader does its job fine, kernel loads, but I am stuck at initramfs. Let say I have the following:
#!/bin/sh
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
/bin/busybox --install -s
rescue_shell() {... |
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/hotplug
mdev -s
find /sys/ -name modalias -print0 | xargs -0 sort -u -z | xargs -0 modprobe -abq
Note that I haven't teste... | How to autoprobe block devices in initramfs? |
1,668,793,372,000 |
On a Mint 19 Mate pen drive persistent setup, I attempt to copy the casper-rw persistent file limited to 4GB to an ext4 partition.
I am looking for the steps to transfer applications and data to an xt4 casper-rw partition and boot it from the pendrive.
Steps so far:
I have created an ext4 partition named casper-rw
I c... |
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.
You can see in the screenshot that the data of the root partition is the same as the casper-rw partition according to d... | Mint "cow format specified as overlayfs and no support found" error |
1,668,793,372,000 |
I'm a new user of Linux and I installed Linux Mint 18.2.
I created 2 partitions:
Boot / Root (Namely /).
Home (/home).
I underestimated the size needed for the Boot / Root and only set it 25GB.
I now need to resize it.
I used LiveCD to run GParted and this is what I have:
Can anyone guide me how can I resize the pa... |
In GParted:
First "Move/Resize" /dev/sda5to the right. To do that, right click on the line reading "/dev/sdb5", select "Resize/Move"; then in the next window drag the handle on the left of the partition to the right (as far as you want to reclaim free space to the left), or modify the value for "Free space preceeding"... | Resize Boot Partition Next to An Extended Partition |
1,668,793,372,000 |
Is there any Linux distribution with preinstalled NVIDIA CUDA support that could be launched from a live CD/USB drive?
|
Quote from https://superuser.com/questions/72226/linux-live-cd-for-distributed-computing-projects
Dotsch/UX is one.
Dotsch/UX - A USB/Diskless/Harddisk
BOINC Ubuntu Linux Distribution
The purpose is to make a Linux
distribution for BOINC which easily
installs and boot from a USB stick,
hard disk and ... | Live Linux distribution with preinstalled NVIDIA CUDA support |
1,668,793,372,000 |
I currently have a few VM images of both Debian and Ubuntu. I was thinking it might be nice to burn them as a live CD on DVD-media and carry it around with me in case I need it whatever reason.
Is it possible to take my current Linux installation and burn it as a LiveCD or USB? The problem I thought I may have is the ... |
On Ubuntu you have Remastersys. To install it use the following command
sudo apt-get install remastersys
To make a distributable livecd/dvd of your system use command
sudo remastersys dist
this will create iso image in /home/remastersys/ folder. Then burn it! :)
LINK http://www.ubuntugeek.com/creating-custom-ubuntu-li... | Linux installation to LiveCD? |
1,668,793,372,000 |
I'm currently running Windows 7 x64 Professional and want to dual-boot with CentOS.
I made a disk partitioning and wrote an image of CentOS on flash drive. But when it is being booted there's no option to install linux - only
Boot,
Boot(textual mode),
Memory Test,
Network installation and
Boot from local drive ... |
This posting is a bit old, but apparently the LiveCD doesn't have an "install" option. You need to get the regular install iso.
| No installation option with livecd |
1,668,793,372,000 |
I am using an ubuntu live cd to help me recover some data off of a hard drive. I used lshw -C disk to find out which device I need to copy, /dev/sda in this case.
I am using ddrescue -n to try and recover some data from a failing hard drive. It stops at 100GB of a 500GB hard drive. After it finishes sudo lshw -C disk... |
It looks like the way in which your disk is failing is so bad that the kernel becomes unable to keep communicating with the disk.
There are probably a lot of errors concerning the disk in /var/log/kern.log. If you post its contents here, people might have tips to help you recover more. (Post only the part from the fir... | "lshw -C disk" returns but prints nothing |
1,668,793,372,000 |
I want to make a persistent live boot in which I can store my data on a debian iso booted from a hard drive. So I downloaded debian-live (here), modified the grub entry to be able to boot into the live-system:`
menuentry "Debian modified" {
set iso_path="/live-boot/debian-live.iso"
export iso_path
loopback loop ... |
Original advice
You can use mkusb to create a persistent live drive from the current Debian live iso files.
mkusb-dus and select 'dus-persistent'
This 'classic mkusb' method creates partition table and several partitions. See details at this link and that link.
mkusb-plug and select 'persistent' (or in mkusb-sedd '-... | Persistent Debian Live HDD |
1,668,793,372,000 |
I'm configuring an archiso profile to correctly implement an user managed by systemd-home in its generated iso. User's home directory doesn't need to be encrypted.
How can I do that?
PS: it seems there is no systemd-home tag.
PPS: I guess the answer to this question also answers how to easily migrate an user managed f... |
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-specific configurations which
depend on the system's machine-id. Since you're using a live cd system
you need to set a static... | Use systemd-home on a live cd system |
1,668,793,372,000 |
Edit 1:
The freezing just happened and I was able recover from it. Log(syslog) from the freezing until 'now': https://ufile.io/ivred
Edit 2: It seems a bug/problem with GDM3. I'll try Xubuntu.
Edit 3: Now I'm using Xubuntu. The problem still happens, but a lot less often. So.. it is indeed a memory issue.
I'm currentl... |
The solution that "fra-san" gave at the comments here fitted perfectly. Using "cgroup-tools" package I was able to limit Chrome memory usage successfully. I tested it opening dozens of tabs at the same time and I could see the memory limit in action. However, I had to leave my script running, since, as much as I mostl... | Shell-script to periodically free some memory up with Ubuntu 18.10 LiveCD with only 4GB of RAM. Need some improvement |
1,668,793,372,000 |
Is there any way to mount an ext4 partition in another PC, running Windows, at the same network in my Ubuntu Live?
My HD just died earlier today and I needed to use Live Distros until I get a new one. I choose Ubuntu 18.10. I customized my Ubuntu Live and to do it I needed to make an EXT4 partition on my notebook HD(r... |
Unfortunately¹, Windows cannot even read EXT4 partitions without third-party software. There are a few of them out there that can do local read-only mounting of EXT4 partitions but only one (commercial) that can do both reads and writes.
However, none of those will allow you to share these on a Windows Network: they'r... | Mount an ext4 partition in another PC(Windows) at the same network in my Ubuntu Live? |
1,668,793,372,000 |
Booting CentOS LiveCD and received a prompt (see image). What is this for?
|
It looks like a disk (or partition) decryption prompt.
| CentOS LiveCD Boot Prompt? |
1,668,793,372,000 |
I recently got a message while updating some programs that my /boot is full. I've been on other posts and everyone says delete files in /boot but I thought making it bigger seems more logical and better long-term if it gets full again. I right clicked on the /dev/sda2 and click resize but it doesn't move. Any ideas?
... |
I figured it out. It's definitely due to the encryption. GParted sees such as un-partitioned - so can't do much to it.
Unfortunately it's going to be a command-line fix only. Here's a writeup on how to do it under Ubuntu: ResizeEncryptedPartitions - Community Help Wiki
| Can't resize /dev/sda2 extended partition with gparted live cd |
1,668,793,372,000 |
I'm working on distributing a version of Fedora to our internal development team using Live CD. There are certain files I would like to copy to the live cd that are not:
part of an RPM or
going to live in the user's home directory.
Based on samples I've seen I'm trying something like the following in the post secti... |
In this case, my problem was simply that the directory didn't exist. This did the trick.
%post --nochroot
$LIVE_ROOT=/my/root
mkdir $LIVE_ROOT
cp -ar /tmp/files2copy $LIVE_ROOT/files
%end
| Copy files from source machine to LiveCD |
1,379,695,526,000 |
The Arch wiki installation guide lists that more then a minimum of 512 MiB RAM is needed to boot the live installer.
Other users noted that ArchISO 202005 breaks with 512MB of RAM.
I can confirm that iso 202002 still boots OK with 512 MiB of memory. Release 202003 fails back to interactive rootfs prompt with logged er... |
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 the old archlinux-2021.07.01-x86_64.
656 MiB of RAM is required for the old archlinux-2021.02.01-x86_64.
520 MiB for the first r... | Which minimum amount of RAM is needed to boot the Arch Linux live iso? |
1,379,695,526,000 |
So I have a Scientific Linux LiveDVD. And I have it installed on a PC that has no hard drives configured and avaliable at all. I want to install some applications that would allow me to configure system before I would be able to install OS.
So I wonder: how to create a temporary installation folder that would exist on... |
Yum will do that by default in Live mode; anything you install whilst running off a live optical disc is installed to RAM because you are running off of RAM as it is.
If you want to do it explicitly, though, you can create a RAM disk:
mkdir foo
mount -t tmpfs -o size=4096M bar /foo
where:
mount is the command.
-t tm... | How to install applications temporary into RAM on LiveCD? |
1,379,695,526,000 |
Is it possible to boot an install CD to RAM?
I want to boot the CD and eject it before I proceed with the setup.
And when not, where do the changes have to be made, to get a "toram" boot option?
|
It seems impossible to copy base packages from boot media to RAM to build an alternative APT repository for installation with current Debian Installer.
But you might be able to eject the media after boot and continue installation using "netboot" image which would download everything from the internet, not out of boot ... | Boot Debian netinst CD to RAM? |
1,379,695,526,000 |
Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.
I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.
I proceeded as follow:
mount my system partition [OK]
become super user [OK]
sudo gedit the /etc/default/... |
You don't even need a livecd; you can correct it within grub. You can press e at the grub menu to edit the entry and fix whatever you broke, then ctrl-x to boot the corrected entry. Once the system is up and running, fix your cfg file permanently.
Doing it that way from the live cd, you need to not mount the partiti... | How to fix mistake in grub.cfg from LiveCD? |
1,379,695,526,000 |
I have a LiveCD started as a default user. How to login as root?
Here it is said that there are boot parameters. How and when to set them?
|
Have you tried just using su?
Most of the time the default user on a livecd has passwordless sudo, and can also su passwordlessly to any other user.
| How to login as superuser\administrator in Scientific Linux 6 LiveCD? |
1,379,695,526,000 |
I created a Debian Live Image, but I'm missing a step for getting the debian-live-installer to work. I took the following steps:
##needed packages
apt-get install --assume-yes xorriso live-build syslinux squashfs-tools
##create basic system
mkdir ~/livework && cd ~/livework
debootstrap --arch=amd64 wheezy chroot
##c... |
Okay, solved it. The following steps did the job:
cd ~
## [ get debian-live iso... ]
## create folder for mounting the iso
mkdir debian
mount debian.iso debian/
## copy install (contains initrd(gtk/normal) and vmlinuz)
cp -r debian/install livework/binary/
## copy needed files for installation
cp -r debian/pool live... | Missing step: debian-installer-launcher |
1,379,695,526,000 |
I have a liveCD ubuntu Linux iso image. I need to update the kernel of this image. I've tried to get the iso on a host Ubuntu system and move the compiled kernel and the modules from there to the liveCD but after doing that, the system stuck at:
loading kernel /casper/vmlinuz.. done
loading file /casper/inited.img.. d... |
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 directory in the USB top filesystem.
| How to update the kernel for a live CD Linux image |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.