16
votes
Accepted
Boot stuck at "A start job is running for Create Volatile Files and Directories"
You can boot in single user mode, move the tmp folder, create a new clean one, set the permissions and reboot. Then you can do whatever needs to be done with the old tmp.
in the single user session ...
13
votes
What is the recommended size for a Linux /boot partition?
As we have seen quite an increase in linux kernel storage requirements and ever increasing initrds, I nowadays (February 2018) tend to allocate 1 GB of storage for /boot.
As /boot is usually the only ...
13
votes
Accepted
Wait before zpool import on Ubuntu boot
I finally found this in /etc/default/zfs:
# Wait for this many seconds in the initrd mountroot?
# This delays startup and should be '0' on most systems. This might help on
# systems which have their ...
12
votes
What is the start order of services in Windows server
Using Delayed Start may be one possible solution.
Another possibility is adding a dependency so that the services start up in the order that you want. For instance, you wouldn't want your service ...
9
votes
Accepted
Boot issue on clean Ubuntu Server 20.04 system
Does it really "hung up"? Because
*********-server login:
message means you've successfully booted OS. It's just a later log messages of cloud-init which overrides it a little bit. It looks ...
8
votes
Accepted
Start/Stop times of Linux PC
# timestamps corresponds to your current timezone
user@node:~$ journalctl --list-boots
-3 0f2fcb9569384a2aa2d5492505f86cda Tue 2018-11-27 16:45:22 CET—Thu 2018-11-29 10:10:07 CET
-2 ...
8
votes
Accepted
Not a native service systemd - can't run on boot
Try to create systemd file for nifi, below is example please change path/user/group accordingly.
$ sudo vi /etc/systemd/system/nifi.service
[Unit]
Description=Apache NiFi
After=network.target
[...
8
votes
Finding how a Linux system was booted
PID 1 process is bash....there is no GRUB
Most likely a container.
It does not seem to be a virtual machine. I checked some files
But you're not going to tell us which ones. I do love a guessing ...
8
votes
Finding how a Linux system was booted
You cannot conclusively determine this without asking the person managing the system.
Linux does not record what, exactly, handed off execution to the kernel, because there’s no way to reliably ...
7
votes
What is the recommended size for a Linux /boot partition?
Modern systems are generally installed with a much larger /boot partition than in the past. The number has just been growing over time.
Consider:
RHEL 5 created a 101 MiB /boot partition.
RHEL 6 ...
7
votes
centos7: boot error dracut-initqueue after converting virtual disk
Run this in the VM before you clone it:
dracut --force --no-hostonly
After you clone the VM, boot it and run:
dracut --force
If you've already cloned the VM, you can connect the virtual disk to IDE to ...
7
votes
Why do servers boot up so slow in general?
Servers use ECC memory. When powering up, the memory and the ECC bits are in a somewhat random state and reading a previously unwritten address would trigger a memory/ECC fault.
So, the memory has to ...
7
votes
Accepted
Continue boot with offline fstab disk (linux/systemd)
In the /etc/fstab entries for your mounts you can add systemd specific options, including the nofail option will instruct systemd that the boot can continue without waiting for the mount unit and ...
7
votes
Boot Windows from SAN
Booting from SAN is pretty rare these days. The hypervisors I tend to see are booted from SD cards. You can then have 100% of your local storage for VMs, or use the SAN exclusively for VMs. It's also ...
6
votes
Docker daemon doesn't start on boot on CoreOS
This is a bit old now, but I have started using cloud-init to do this on all new servers. I have a saved cloud-init script I use for all my servers. Part of it contains:
#cloud-config
coreos:
units:...
6
votes
Windows 10 iSCSI Boot
I can suggest you two options.
First option is to use Linux gPXE. It is PXE client implementation and bootloader derived from Ethernet. I’ve heard about this solution a couple of times already, but ...
6
votes
Accepted
Automatically mount bucket with s3fs on boot
You want to add _netdev to your fstab:
s3fs#my-bucket-name /mnt/s3_bucket fuse _netdev,allow_other,umask=227,uid=33,gid=33,use_cache=/root/cache 0 0
6
votes
Accepted
Amazon EC2 instance won't boot: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I created a new instance by going to Images > AMIs > Private Images > Selecting the image the instance was started from > Launch. I launched in exactly the same availability zone, not just US or ...
6
votes
Accepted
Get systemd actual state
You can check the target you need to be active in order for your script to run. For example, in order for the network to be accessible, you need to check the network-online.target (systemctl check ...
6
votes
I deleted all the contents of /boot and now server is not booting
The /boot partition holds important Linux kernel files as well as Grub files. Without them, your system will not boot (as you already figured out). And just restoring the Grub files is not going to ...
6
votes
Accepted
Converting a systemd service to OpenRC (Alpine Linux)
Here is a simple init script for your service.
#!/sbin/openrc-run
depend() {
need net
}
command="/home/signal/signal"
command_args="-gateway -bind 127.0.0.1:5010"
command_user="signal:signal"
...
6
votes
Accepted
Properly Boot a Software-Based RAID1 with a Missing or Improperly Failed Drive
Booting up a failed MD RAID1 array is surely possible - at least if the BIOS skips the failed disk (if not, you can simply manually boot from the surviging disk).
For your specific issue, you are ...
5
votes
Debian Lost filesystem. Corrupted filesystem
In short way, you're in serious troubles. From mdstat you posted as comment, I can see you have RAID-0, not RAID-1 configuration, see:
root@rescue:~# cat /proc/mdstat Personalities : [linear] [...
5
votes
Accepted
Change root password with old Linux 2.4.20
I'd boot via a live distro such as Debian Live or Knoppix, ensure you have access to local drives, gain root privilege using su - or sudo -s, depending on distro.
Mount the / partition and change ...
5
votes
Boot Windows from SAN
Let's go through these;
Physical Machine - Boot OS from Local Drive and others from SAN
There are many systems running like this right now everywhere, in particular things like non-virtualised ...
5
votes
Accepted
Windows 10 configured with RAW discs to increase Hyper V performance takes minutes to boot
The physical disk in pass-through mode should be accessed only by single OS (either host or guest) at the same time to avoid data corruption. That’s why physical disk should be marked as “offline” in ...
4
votes
What is the recommended size for a Linux /boot partition?
Moderators ought to close this discussion and put a banner indicating that the 100-200MB /boot partition is an obsolete idea and could cause a world of misery to a novice user and even to one who's ...
4
votes
What is the recommended size for a Linux /boot partition?
What is the recommended size for a Linux /boot partition?
Answer: 732.00 MiB. I just did an Ubuntu 20.04 install on a completely empty disk and I let it do all the partitioning stuff. I chose the ...
4
votes
How to reset the ConditionFirstBoot in systemd?
Just remove the /etc/machine-id file. This will unpopulate the machine and ConditionFirstBoot will be yes again.
4
votes
Recovery from i8042 no controller found during boot?
I don't think that this message is fatal. I have a CentOS 7 installation that throws this message (onto the boot screen and the kernel log) but continues, completing the boot successfully. On my ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
boot × 1097linux × 257
ubuntu × 125
grub × 91
debian × 79
windows × 70
centos × 69
raid × 55
hard-drive × 42
kernel × 42
bios × 41
pxe-boot × 40
hp-proliant × 38
lvm × 37
partition × 36
windows-server-2008 × 33
redhat × 31
hardware × 29
systemd × 29
uefi × 28
boot-loader × 27
grub2 × 26
windows-7 × 25
networking × 24
hp × 24