LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-28-2023, 04:35 PM   #1
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Rep: Reputation: 19
'Dependency failed for local filesystems' hanging up boot


I'm having an issue booting, that I've not had before. The boot hangs on fsck checking some large storage drives I have, as well as my Windows partition (I dual-boot), and then drops me into the emergency mode. Fortunately, if I remove those drives from my fstab (using the live installer on a USB stick), the system will boot normally. I'm able to manually mount all 3 normally as well, and I've checked my two ext4 drives (the internal and external) for errors, and can find nothing wrong with them. For that matter, I find it rather hard to believe all 3 are bad. So why is giving me trouble?

The only thing I can think is maybe my fstab file is configured wrong?

This is it:

Code:
#/etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p3 during installation
UUID=c2b1b8a2-b4cc-4995-9510-c688683a1be4 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme1n1p1 during installation
UUID=9605-F2A3  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/nvme0n1p2 during installation
UUID=10073f9a-0a59-4de9-86f1-e32fdeea2bc4 none            swap    sw              0       0
# /home/sda1 - internal storage
UUID=33DC0CBC-7E5B-49BD-A06F-27DD1F36E4D5 /home/sda1      ext4   defaults         0       1 
# /home/external - external storage
UUID=5990C1C8-E82D-C149-A23F-7B87D3C3073D /home/external  ext4   defaults         0       1
# /home/windows - Windows NTFS partition
UUID=5C3E8B9F-B74B-4964-9DA7-73CDE123CA5E /home/windows   ntfs-3g defaults        0       0
Any ideas? I've seen similar threads here, but no solution that seems to help for me, so far.
 
Old 02-28-2023, 05:22 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Is the external storage attached all the time?
post the output of
Code:
lsblk -f
 
Old 02-28-2023, 05:41 PM   #3
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by colorpurple21859 View Post
Is the external storage attached all the time?
post the output of
Code:
lsblk -f
Yes, it's a USB hard drive, always plugged in.

output of lsblk-f:

Code:
crotalus@ryzen7-2700x:~$ lsblk -f
NAME        FSTYPE   FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0       squashfs 4.0                                                       0   100% /snap/bare/5
loop1       squashfs 4.0                                                       0   100% /snap/core20/1623
loop2       squashfs 4.0                                                       0   100% /snap/core20/1822
loop3       squashfs 4.0                                                       0   100% /snap/firefox/2356
loop4       squashfs 4.0                                                       0   100% /snap/firefox/2391
loop5       squashfs 4.0                                                       0   100% /snap/gnome-3-38-2004/119
loop6       squashfs 4.0                                                       0   100% /snap/gtk-common-themes/1535
loop7       squashfs 4.0                                                       0   100% /snap/snapd/18357
sda                                                                                     
└─sda1      ext4     1.0            08abff44-72df-48df-a583-f05297ed9aa7                
sdb                                                                                     
└─sdb1      ntfs                    3F213D3D6E55334A                                    
sdc                                                                                     
sdd                                                                                     
└─sdd1      ext4     1.0   external d579bf5d-b06a-4b8c-8cff-00440b00a74d                
sde                                                                                     
└─sde1      ext4     1.0            3430bc7f-3c33-47b4-9f91-efdcce8797ff                
sr0                                                                                     
nvme0n1                                                                                 
├─nvme0n1p1 vfat     FAT32          7BBE-681E                                           
├─nvme0n1p2 swap     1              10073f9a-0a59-4de9-86f1-e32fdeea2bc4                [SWAP]
└─nvme0n1p3 ext4     1.0            c2b1b8a2-b4cc-4995-9510-c688683a1be4    1.2T    25% /var/snap/firefox/common/host-hunspell
                                                                                        /
nvme1n1                                                                                 
├─nvme1n1p1 vfat     FAT32          9605-F2A3                              64.9M    32% /boot/efi
├─nvme1n1p2                                                                             
├─nvme1n1p3 ntfs                    801C0ACD1C0ABDE2                                    
└─nvme1n1p4 ntfs                    2C5E9A8F5E9A5206
In this case, my external is /dev/sdd1. Normally it would be /dev/sdc1, but I have a USB stick plugged in, at the moment.

Last edited by Crotalid; 02-28-2023 at 05:55 PM.
 
Old 02-28-2023, 06:08 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
The uuids appear to be wrong in the fstab:
fstab:# /home/external - external storage
UUID=5990C1C8-E82D-C149-A23F-7B87D3C3073D
lsblk:
external d579bf5d-b06a-4b8c-8cff-00440b00a74d

fstab:
# /home/windows - Windows NTFS partition
UUID=5C3E8B9F-B74B-4964-9DA7-73CDE123CA5E
lsblk:
sdb1 ntfs 3F213D3D6E55334A
nvme1n1p3 ntfs 801C0ACD1C0ABDE2
nvme1n1p4 ntfs 2C5E9A8F5E9A5206

Last edited by colorpurple21859; 02-28-2023 at 06:11 PM.
 
Old 02-28-2023, 06:11 PM   #5
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by colorpurple21859 View Post
The uuids appear to be wrong in the fstab:

external d579bf5d-b06a-4b8c-8cff-00440b00a74d


sdb1 ntfs 3F213D3D6E55334A
nvme1n1p3 ntfs 801C0ACD1C0ABDE2
nvme1n1p4 ntfs 2C5E9A8F5E9A5206
Yeah that might be it. I read them inside the KDE Partition manager, and I think I got them wrong. I'll fix that and see what happens here.

Edit: Yeah I figure that was it, because I was putting in the partition UUID instead...

Last edited by Crotalid; 02-28-2023 at 06:16 PM.
 
Old 02-28-2023, 06:21 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
It appears that no UUIDs match other then the system filesystems. If you have reformatted any of those filesystems the UUID will change. You need to change your /etc/fstab to match.
 
Old 02-28-2023, 06:26 PM   #7
Crotalid
Member
 
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 90

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by michaelk View Post
It appears that no UUIDs match other then the system filesystems. If you have reformatted any of those filesystems the UUID will change. You need to change your /etc/fstab to match.
Yeah that was the problem. I simply put the wrong UUIDs in. I was copying them over from KDE's Partition Manager, and was using the partition UUIDs instead. I just changed them to the proper UUID and my system booted normally. Problem solved.

Thanks, and also thanks to colorpurple21859 for pointing out that simple mistake. I shoulda known... *groans*
 
  


Reply

Tags
boot error, hard disks



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
[SOLVED] Filesystems supported by the kernel (/proc/filesystems) gacanepa Linux - Newbie 5 08-22-2013 02:15 PM
F7 failed to mount local filesystems at boot Basel Fedora 4 06-06-2007 04:32 AM
Mount local filesystems...failed kenkeanon Debian 1 01-04-2006 09:08 AM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:56 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