[Feature proposal] Check file systems on startup, including root partition
Posted: Mon Feb 20, 2017 10:52 am
COMMENT: I noticed in the meantime that checking the root partition on boot isn't a standard feature in every Linux distro, so I changed the subject from "Bug? ..." to "[Feature proposal] Check file systems on startup, including root partition". And I deleted the word "btrfs", since this doesn't seem to be file system specific.
I have MX-16 installed on an USB stick with btrfs as the root file system.
When I boot the machine MX-16 gives me a warning that the root file system has not been checked for integrity because it is btrfs. I suppose this is a bug.
Just to explain why I chose btrfs instead of ext4: Trying out installation several times, I found that the system was much faster on btrfs than on ext4. (Unfortunately this was only the case until right after installing. After doing the first sudo apt-get upgrade, it's now pretty slow and Firefox tends to hang, but that would obviously be a different thing to discuss and therefore a different posting.)
Greetings, Joe
Since my initial posting, I found out that while checking a root partition on boot is a little tricky, it apparently can be done. Please see instructions here: https://linuxconfig.org/how-to-force-fs ... t-on-linux, some discussion here: https://superuser.com/questions/401217/ ... -with-fsck and a script that might be helpful here: http://andicelabs.com/2014/07/automatic ... pair-boot/.
My proposal would be to implement a GUI option in MX-Tools where users can determine which media / partitions are to be checked on startup (e.g. "all attached" / "root partition only"), and how often this is to be done (after every [number] boot). What do you think?
Greetings, Joe
I have MX-16 installed on an USB stick with btrfs as the root file system.
When I boot the machine MX-16 gives me a warning that the root file system has not been checked for integrity because it is btrfs. I suppose this is a bug.
Just to explain why I chose btrfs instead of ext4: Trying out installation several times, I found that the system was much faster on btrfs than on ext4. (Unfortunately this was only the case until right after installing. After doing the first sudo apt-get upgrade, it's now pretty slow and Firefox tends to hang, but that would obviously be a different thing to discuss and therefore a different posting.)
Greetings, Joe
Since my initial posting, I found out that while checking a root partition on boot is a little tricky, it apparently can be done. Please see instructions here: https://linuxconfig.org/how-to-force-fs ... t-on-linux, some discussion here: https://superuser.com/questions/401217/ ... -with-fsck and a script that might be helpful here: http://andicelabs.com/2014/07/automatic ... pair-boot/.
My proposal would be to implement a GUI option in MX-Tools where users can determine which media / partitions are to be checked on startup (e.g. "all attached" / "root partition only"), and how often this is to be done (after every [number] boot). What do you think?
Greetings, Joe