Welcome!
Important information
-- Spectre and Meltdown vulnerabilities

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18 Final release info here
-- Migration Information to MX-18 here
-- antiX-17.3 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Feature proposal] Check file systems on startup, including root partition

Report Bugs, Issues and non- pacakage Requests
Post Reply
User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 965
Joined: Mon Feb 13, 2017 12:09 pm

[Feature proposal] Check file systems on startup, including root partition

#1

Post by MX-16_fan » 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

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 965
Joined: Mon Feb 13, 2017 12:09 pm

Re: [Feature proposal] Check file systems on startup, including root partition

#2

Post by MX-16_fan » Mon Jan 22, 2018 10:44 am

This seems to be fully solved in MX-17. Correct?

If so, I'd mark this "[SOLVED in MX-17]".


Greetings, Joe

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 965
Joined: Mon Feb 13, 2017 12:09 pm

Re: [Feature proposal] Check file systems on startup, including root partition

#3

Post by MX-16_fan » Sat Aug 11, 2018 7:44 am

@dolphin_oracle:

On an MX-17.1 test system, I now see a file system check at boot, even when the main partition's file system is btrfs. So, is my assumption correct that I can mark this thread "SOLVED"?

I'm asking this especially because the check never is a full check of the whole medium. It's always "so and so many of so many total checked", wherein the two numbers never match. Maybe this is because MX-17.1 doesn't check the swap partition, or the MBR, or something else?


Greetings, and have a nice weekend, Joe

mbooyzen
Forum Novice
Forum  Novice
Posts: 40
Joined: Thu May 10, 2018 12:34 am

Re: [Feature proposal] Check file systems on startup, including root partition

#4

Post by mbooyzen » Tue Aug 14, 2018 4:30 am

Could it be the dynamic sizing of btrfs filesystem. So only checking the used part?
Some old 2nd generation i5, 8GB ram, Nvidia GTX-1050.

Post Reply

Return to “Bugs and Non-Package Requests Forum”