You are not logged in.
Hello
If power fails (or if I, for any reason, force a physical shutdown ) on my computer, it will display during boot :
systemd-fsck[171] : arch_data was not cleanly unmounted, check forced
And then hangs for a long time (10 minutes ) while checking arch_home partition, wich is a 1T ext4 partition.
then finish the boot.
Sometimes i want this behavior, but i may need to have my computer up and running as fast as possible, and i don't seem to be able to cancel this fsck.
Ctrl+C, or escape have no effect.
How to allow cancelation of system-fsck for this boot, postponing it for the next boot ?
my fstab :
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=cfdf8739-d512-4d99-9893-437a6a3c9bf4 LABEL=Arch root
/dev/sda12 / ext4 rw,relatime,data=ordered 0 2
# UUID=98b01aa3-0f7f-4777-a941-8e676a68adce LABEL=Arch boot
/dev/sda11 /boot ext2 rw,relatime 0 2
# UUID=8909c168-5f1e-4ae7-974c-3c681237af7a LABEL=Arch var
/dev/sda13 /var ext4 rw,relatime,data=ordered 0 2
# UUID=a13efc24-cf66-44d0-b26c-5bb5260627a0 LABEL=Arch tmp
/dev/sda14 /tmp ext4 rw,relatime,data=ordered 0 2
# UUID=779aeb69-9360-4df0-af84-da385b7117d1 LABEL=Arch home
/dev/sdb4 /home ext4 rw,relatime,data=ordered 0 2
/dev/sdb5 /home/glow/data ext4 rw,relatime,data=ordered 0 2
Last edited by GloW_on_dub (2013-12-07 16:00:06)
Offline
IIRC you can't cancel a fsck in systemd.
Doesn't the fsck tool also fix things?
Offline
Usually it does, some "orphaned nodes" . However i don't think they are critical and forbid the system to boot.
Offline
Have you tried adding 'fsck.mode=skip' to the kernel command line?
https://github.com/systemd/systemd/blob … fsck.c#L98
Offline
"fsck.mode=skip" work indeed
I just edit the grub line during the boot, and no fsck are performed, next boot it will be done.
I had think only of cancel the fsck, not skip, so it's a nice work around for my problem and i consider it solved.
Offline
maybe you did not read my first message.
I do want it to be fsck'd when it is necessary, but sometimes i want to boot directly, even if systemd want to fsck.
Offline
I am a noob. But what you are saying is like, I got in an accident, but only my front bumper is dented, and I can still run the truck.
I would think if you don't look at the dent, that it might cause more problems for you.
But then, maybe not.
However, good luck.
Last edited by Kilzool (2013-12-08 11:53:55)
Offline
Maybe you can add a menu item to the grub boot menu so you can pick it from the menu instead of editing the grub line by hand?
I'm using syslinux, but I can have menu items that only differ in e.g. 'quiet' parameter:
APPEND root=/dev/sda3 rw init=/usr/lib/systemd/systemd quiet
APPEND root=/dev/sda3 rw init=/usr/lib/systemd/systemd
Everything else is the same.
Offline
@Kilzool : Let's say i'm in a skype meeting with my boss, and i got a power failure. should i ask him to wait 10 minutes before i come online again ?
@karol : You're right, this is the right way to do it ! thank you very much !
Offline