=== guiverc2 is now known as guiverc | ||
Jym | v18, is there a way to fsck during boot? Or a way to add a grub menu option? | 19:51 |
---|---|---|
sixwheeledbeast | several | 19:56 |
sixwheeledbeast | you can add a flag in grub, tell it on shutdown, or create a file | 19:57 |
Jym | sixwheeledbeast I tried sudo touch /forcefsck if that's what you meant by "create a file" | 20:01 |
Jym | I read that the ONLY way to do it is from liveUSB, but that doesn't sound right to me. | 20:02 |
sixwheeledbeast | Not sure that works with systemd. I have boot options "fsck.mode=force" I reboot so little that I fsck every boot. | 20:04 |
sixwheeledbeast | if ext. tune2fs can control how many boots before testing. | 20:05 |
Jym | Was 0, I set it to 1 - just booted normally | 20:05 |
sixwheeledbeast | well 0 is off. | 20:07 |
sixwheeledbeast | are they flagged for checking in fstab? | 20:08 |
Jym | sudo tune2fs -l /dev/sda2 | grep 'Maximum mount' | 20:10 |
Jym | Maximum mount count: 1 | 20:10 |
sixwheeledbeast | /etc/fstab | 20:11 |
sixwheeledbeast | 6th column | 20:11 |
sixwheeledbeast | 0 is no check, 1 is first/root, 2 is all others. | 20:11 |
Jym | http://codepad.org/6cwDvrUg | 20:16 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!