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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-28-2023, 04:35 PM
|
#1
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Rep:
|
'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.
|
|
|
02-28-2023, 05:22 PM
|
#2
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
Is the external storage attached all the time?
post the output of
|
|
|
02-28-2023, 05:41 PM
|
#3
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Original Poster
Rep:
|
Quote:
Originally Posted by colorpurple21859
Is the external storage attached all the time?
post the output of
|
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.
|
|
|
02-28-2023, 06:08 PM
|
#4
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
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.
|
|
|
02-28-2023, 06:11 PM
|
#5
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Original Poster
Rep:
|
Quote:
Originally Posted by colorpurple21859
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.
|
|
|
02-28-2023, 06:21 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,751
|
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.
|
|
|
02-28-2023, 06:26 PM
|
#7
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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*
|
|
|
All times are GMT -5. The time now is 10:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|