LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-23-2019, 03:30 AM   #1
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Rep: Reputation: Disabled
Error message: 'Warning: /sbin/fsck.ext4, doesn't exist...' Is this important?


Hello

I have Debian Jessie installed onto a USB.
However, every time I update the OS I get the following error message:

Code:
Warning: /sbin/fsck.ext4, doesn't exist, can't install to initramfs, ignoring.
This is usually preceded by the following message:

Code:
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
So this seems to suggest I may have 2 problems.
Since the OS continues to operate fine, I haven't given it much attention.

But now I'm wondering if this is serious and also what I can do to rectify these problems.
Can anyone offer some advice?
Many thanks.
 
Old 02-23-2019, 05:34 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Code:
ln -s /sbin/e2fsck /sbin/fsck.ext4
In my Debian Testing, I have fsck.ext2, fsck.ext3, fsck.ext4. All of which are linked to e2fsck in the same directory. So issuing the command above as root or sudo will fix the problem. If you look in /sbin, you'll come to find 3 other file checkers who's name starts with "fsck" are linked to the utility that handles them all, like fsck.vfat is linked to fsck.fat

EDIT: Installing or reinstalling these two packages will ensure all ext file checkers are properly installed and linked: e2fsck-static e2fsprogs

Last edited by Brains; 02-23-2019 at 06:00 PM.
 
1 members found this post helpful.
Old 02-23-2019, 05:49 PM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
For the firmware issue, make sure the package firmware-realtek is installed as root or sudo with command: apt-get install firmware-realtek
If it comes back saying it's already installed, try reinstalling as root or sudo with command: apt-get install --reinstall firmware-realtek

Last edited by Brains; 02-23-2019 at 05:52 PM.
 
1 members found this post helpful.
Old 02-24-2019, 09:07 AM   #4
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Original Poster
Rep: Reputation: Disabled
Thank you for your replies.

Guess what, the USB will no longer load the OS.
I've just lost an entire OS.

The USB is not even recognised when I try to access it via an OS on my harddrive.
How can this catastrophic failure have occurred just when I mention the error messages on LQ?

The USB is a Sandisk.
 
Old 02-24-2019, 09:28 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
USB sticks are not designed to run a full install from; the constant I/O wears them out.
 
2 members found this post helpful.
Old 02-24-2019, 11:51 AM   #6
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
USB sticks are not designed to run a full install from; the constant I/O wears them out.
OK, that's fair enough.
I did notice the 'apt-get update' process taking a longer time recently.

I think I put 'noatime' in the fstab file.
However, since the USB is not seen as an SSD, I don't think it can take advantage of any TRIM features on the OS.

It was a 15gb USB. So does this mean I can expect double the life span with a newer 32gb USB with full Debian on it?

Also, do you know where I can get Debian 9 for USB with persistence?
In the past, persistence has always been a hit and miss thing...
 
Old 02-24-2019, 01:26 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by trumpforprez View Post
I think I put 'noatime' in the fstab file.
However, since the USB is not seen as an SSD, I don't think it can take advantage of any TRIM features on the OS.
noatime isn't a "TRIM feature". It's just a different way of setting up your filesystem, reducing writes.
On my distro it's been the default for years, regardless of installation medium.

Quote:
It was a 15gb USB. So does this mean I can expect double the life span with a newer 32gb USB with full Debian on it?
no.
there are quality differences between USB sticks but i'm pretty sure it has nothing to do with size.
that's all i can say about that.

Quote:
Also, do you know where I can get Debian 9 for USB with persistence?
https://www.startpage.com/do/dsearch...th+persistence
Quote:
In the past, persistence has always been a hit and miss thing...
the hit and miss was likely due to how you set it up.
 
1 members found this post helpful.
Old 02-24-2019, 06:36 PM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by trumpforprez View Post
Also, do you know where I can get Debian 9 for USB with persistence?
In the past, persistence has always been a hit and miss thing...
If you're willing to learn something new, from a running installed Debian, you can install package live-build. With live-build you can build your own custom Debian live. Debian live is only available for download with Debian stable, I built a custom Debian Testing live with my software preferences included. The live manual linked above can also be installed in PDF or HTML, when I installed the PDF package I had to go to /usr/share/doc/live-manual/pdf to get it and extract to /home/user. The live manual will also show how to create/enable persistence partition/file.

For added information, I created a 15GB Fat partition on a 64GB USB key, then the remaining space a NTFS data partition. From Windows, I extracted AIO boot to the Fat partition and allowed it to install Grub2 legacy to the key. Then migrated into the Fat partition and clicked on AIOCreator.exe, select "Integrate" to set set up Debian Live, it noticed I added persistence feature and asked if I wanted to create a persistence file of various sizes to select from. It took a while to create the 4GB file, but it works a treat. I also integrated, WindowsPE SE 7, WindowsPE SE 8.1 dual boot 32-64 bit, WindowsPE SE 10, Gparted live, and a few more ISO files. AIO adds every one to a menu when integrated, when you boot the key you select which ISO to boot.

It created successful persistence for every Linux I integrated that supported it except Fedora. But it's nice having a multi function key with many utilities and lots of space for Data and portable apps for the Windows PEs.
 
1 members found this post helpful.
Old 02-24-2019, 06:55 PM   #9
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Debian 10 (Buster)

Debian 10 (Buster) is an upcoming release of the operating system. Buster will contain UEFI SecureBoot Support.[41]

Timetable:[42]

12 January 2019: transition freeze
12 February 2019: soft-freeze
12 March 2019: full freeze

It will contain LibreOffice 6.1, Krita 4.0, Plasma 5.14, KDE Applications 17.08, Qt 5.11, VLC 3.0, and much more
I update Debian Testing twice a week, last night there were no updates, this typically only happens on a 2 year cycle. Debian 9 will soon be "Old stable"
 
Old 02-26-2019, 10:41 AM   #10
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
noatime isn't a "TRIM feature". It's just a different way of setting up your filesystem, reducing writes.
On my distro it's been the default for years, regardless of installation medium.
That's an interesting point.
Since there is a performance advantage to the harddrive (i.e. there are no updates written to the harddrive every time a file is read) - I would've thought 'noatime' would be more frequently discussed on this site.

Quote:
no.
there are quality differences between USB sticks but i'm pretty sure it has nothing to do with size.
that's all i can say about that.
There is the initial quality difference between slc/mlc/tlc USB flash drives.
Most of us will have the same quality mlc (multi-level cell) USB flash drive.

Wikipedia says the circuitry connecting the flash memory to the USB interface can vary in quality.
So if a USB stick dies, it may not be that the flash memory is 'worn', but the circuitry in the USB has fizzled out due to wear.

Also, wear to the flash memory is mitigated by 'wear levelling' software. And that's proprietary.
So some brands may have better wear levelling than others.
That's all I know about quality differences between USB sticks.
However, a 32gb USB should wear away twice as slowly as a 15gb USB... prima facie.

Many years ago people were migrating from MS Windows to Linux with the advent of multi-boot live USB sticks.
This was obstructed somewhat when the Sandisk Extreme (a very popular USB at the time) showed itself as a HDD instead of a USB on Windows.
So you couldn't install the Linux multi-boot software onto your Sandisk.
Some guy on some forum showed an email reply he actually received from Sandisk stating the Extreme USB shows up on Windows as a HDD (and not USB) because MS had instructed Sandisk to do that!
For normal opsec, all my new USBs are now a different brand. And made in China.

Quote:
https://www.startpage.com/do/dsearch...th+persistence
the hit and miss was likely due to how you set it up.
Thanks for the link.
It was helpful in introducing the Startpage search engine.
After Snowden, I began to doubt Ixquick (Startpage) but since it's still around - I'll use it as a Google alternative.
Since Google considers your geolocation to inform its search, Yandex can sometimes offer more illuminating search results.
 
Old 02-26-2019, 10:46 AM   #11
trumpforprez
Member
 
Registered: Nov 2016
Location: UK
Distribution: Debian Jessie
Posts: 154

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Brains View Post
If you're willing to learn something new, from a running installed Debian, you can install package live-build. With live-build you can build your own custom Debian live. Debian live is only available for download with Debian stable, I built a custom Debian Testing live with my software preferences included. The live manual linked above can also be installed in PDF or HTML, when I installed the PDF package I had to go to /usr/share/doc/live-manual/pdf to get it and extract to /home/user. The live manual will also show how to create/enable persistence partition/file.
Thank you this is very helpful.
I was surprised I could install a full Debian OS onto my USB stick - and for about a year it worked fine!
But I think live build with persistence is the natural OS for a USB.
 
  


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
/usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_atomic_x dasoberdick Slackware 16 10-11-2014 02:36 AM
[SOLVED] Can't run kernel 3.10: fsck.ext4 reports exec error RandomTroll Linux - Kernel 5 07-03-2013 08:30 PM
ext4 won't mount - fsck required - 2nd fsck in less than a week td3201 Linux - General 1 09-10-2012 12:07 AM
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 04:00 AM
/sbin/service crond unable to start - gives permission error on /usr/sbin/crond mgervacio Linux - Newbie 6 07-16-2008 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:22 PM.

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