LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-10-2021, 10:35 PM   #1
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Rep: Reputation: 76
where to add fsck.mode=force and fsck.repair=yes


I stumbled on this article while reading some RPI stuff.

https://www.linuxuprising.com/2019/0...ilesystem.html

It occurred to me every time the power goes out (which is infrequent here, thankfully) I need to:
-power off my Odroid HC-4
-remove the micro sd
-run the following from another pc on the sdcard
Code:
fsck.ext4
-reinsert and power back up.

[I'm using the hc-4 headless and as a backup server with slarm64]

It occured to me maybe I should append these CMDLINE options:
Code:
append fsck.mode=force fsck.repair=yes

Two questions:
1. For this setup they go here: /boot/uEnv.txt right?
2. Do you think this is a good idea/will help?
 
Old 09-11-2021, 03:18 AM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,923

Rep: Reputation: Disabled
Quote:
Originally Posted by ricky_cardo View Post
1. For this setup they go here: /boot/uEnv.txt right?
yes in uEnv.txt with parameter:
Code:
extraargs=fsck.mode=force fsck.repair=yes
also you can customize ext4

Last edited by sndwvs; 09-11-2021 at 04:29 AM.
 
1 members found this post helpful.
Old 09-11-2021, 02:53 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,320

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
This would then occur with every boot? no harm in doing so?
 
1 members found this post helpful.
Old 09-11-2021, 02:55 PM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,923

Rep: Reputation: Disabled
yes, for every booting, it shouldn't.
 
2 members found this post helpful.
Old 09-11-2021, 06:45 PM   #5
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware64-Current
Posts: 210

Original Poster
Rep: Reputation: 76
Thanks guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Boot Repair Tool - Repair The Most Boot Related Problems LXer Syndicated Linux News 0 06-21-2017 09:49 PM
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, pl deva420patra Linux - Server 4 11-23-2016 07:40 AM
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 07:04 AM
3D acceleration YES YES YES glxgears results props666999 Slackware 44 07-29-2005 08:40 PM
Yes Yes Yes! I Got Sound! shazam75 LinuxQuestions.org Member Success Stories 2 10-14-2004 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration