LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-17-2019, 09:47 AM   #1
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Rep: Reputation: 19
error 'failure to mount /etc/fstab' won't boot ubuntu 18 except text mode


I have two hard drives in my laptop, and have been booting to the original drive (ubuntumate 18). I added an entry in the fstab for the other hard drive (mounted in placeof the CD/DVD drive). and then find that it won't boot into the first drive, except it gives me a chance to get into that drive in text mode., I can also boot into the second drive in an older version of linux that was installed there before.

From the second drive terminal mode I did 'sudo update-grub', hoping to get it to include the first drive, but it doesn't include a direct link, instead it refers me to the EFI, but that gets me back to a procedure that only lets me get into text mode on the first drive.

in that procedure, it led me to a journal long file where I noticed two errors (in red letters)as follows>: '/do-IRQ: 155 No irq handler for vector' (that error occurred three times in quick succession followed by '2', and then '3'.
and the other error farther down in the journal: 'failed to mount /etc/fstab'

I don't know whether the fstab file is the root of the problem, or perhaps it is a problem with the EFI, or something else. I'm not shut completely out, but it is an inconvenience.

anyhelp would be appreciated.
 
Old 03-17-2019, 06:32 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I imagine that reversing the change to fstab would be a good place to start.
 
Old 03-17-2019, 06:40 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by syg00 View Post
I imagine that reversing the change to fstab would be a good place to start.
Another possible solution might be the nofail mount option. See the fstab man page.
 
Old 03-18-2019, 11:29 AM   #4
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by syg00 View Post
I imagine that reversing the change to fstab would be a good place to start.
I did that. but no help.
 
Old 03-18-2019, 12:08 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
post the fstab you changed maybe someone will see something amiss with it. also post the output of blkid

Last edited by colorpurple21859; 03-18-2019 at 12:10 PM.
 
Old 03-19-2019, 12:36 AM   #6
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
Here's the result of blkid. The drive that was booting from the grub.cfg is /dev/sdc7. I don't know how to get to the fstab on that drive except in 'maintenance mode and maintenance mode won't let me save it where I can reach it, ir if it will, I don't know how. I did go in there yesterday in Maintenece mode, and add the name of the partition.

/dev/sda1: LABEL="Seagate-Backup-Plus-Drive" UUID="0404E80304E7F618" TYPE="ntfs" PARTUUID="226d9369-01"
/dev/sdb1: LABEL="System Reserved" UUID="7C908B82908B421E" TYPE="ntfs" PARTUUID="f08045d3-01"
/dev/sdb2: UUID="A82A97612A972B78" TYPE="ntfs" PARTUUID="f08045d3-02"
/dev/sdb3: UUID="35d2524e-535d-4255-9281-62e3c42d08b1" TYPE="ext4" PARTUUID="f08045d3-03"
/dev/sdb5: UUID="072610c1-4c14-4a7c-90e0-c2dd6cdc6551" TYPE="ext4" PARTUUID="f08045d3-05"
/dev/sdb6: UUID="6ea1d596-f424-41bf-8dfc-7acfb7d15d9f" TYPE="ext4" PARTUUID="f08045d3-06"
/dev/sdc1: UUID="5D1B-6090" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="657a07ea-4560-4a38-8364-251cb05ff118"
/dev/sdc2: UUID="7f4cbfe5-84a4-4636-b85c-541465cfd09f" TYPE="ext4" PARTUUID="a951716e-8d77-4f53-9888-789df87eb951"
/dev/sdc3: UUID="e0711da6-89c6-48a3-aa73-c6b15c5e2022" TYPE="swap" PARTUUID="2a3c6e34-3429-46e9-bbff-da77b3668c4b"
/dev/sdc4: UUID="b4eb0107-4425-4ee9-b87f-88be9d9c52ba" TYPE="ext4" PARTUUID="7a7974cc-cb4f-46a0-8cc0-581419e29f29"
/dev/sdc5: UUID="1f66c951-8c8e-4815-a17e-fc462bd8beda" TYPE="ext4" PARTUUID="989cf284-101b-4377-9a42-32c8703c709a"
/dev/sdc6: UUID="f2e7a15b-277b-4f90-b231-2d734d4b2d9d" TYPE="ext4" PARTUUID="7ee17d5f-d2a3-4c7c-afa6-19cee4146e2e"
/dev/sdc7: UUID="ec587145-87b5-4921-a6d6-a8944a409d72" TYPE="ext4" PARTLABEL="sdb7-old" PARTUUID="d281aef3-989a-44ab-af36-d7db130ae747"
/dev/sdd1: LABEL="Blackpcs" UUID="0150-E1B3" TYPE="vfat" PARTUUID="0150e1b3-01"
 
Old 03-19-2019, 01:05 AM   #7
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
I had a problem which may be similar (or may not)

https://www.linuxquestions.org/quest...er-4175645694/

How did you edit fstab? Is there a privileges/ownership problem which means startup cannot read the file? How did you reverse the changes? This is a root file. Did you su into root or sudo? (more likely the latter I am guessing)
 
Old 03-19-2019, 01:06 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by littlejoe5 View Post
The drive that was booting from the grub.cfg is /dev/sdc7. I don't know how to get to the fstab on that drive except in 'maintenance mode and maintenance mode won't let me save it where I can reach it, ir if it will, I don't know how.
Yet in post #4 you claim to have reversed the change to fstab.
This is not being at all helpful. From Linux, go here do as it says and post the complete file it generates. Then we'll have something to work with. Don't go changing anything in the interim.
 
Old 03-19-2019, 02:42 AM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by littlejoe5 View Post
I don't know how to get to the fstab on that drive except in 'maintenance mode and maintenance mode won't let me save it where I can reach it, ir if it will, I don't know how.
This is confusing. If you can run blkid, surely you can also run cat /etc/fstab?

Or if this is not the fstab in question, just mount the correct drive and find fstab there. For example, assuming your fstab is on /dev/sdc7:
Code:
mkdir /mnt/sdc7
mount /dev/sdc7 /mnt/sdc7
cat /mnt/sdc7/etc/fstab
If you don't know the correct partition, just try all partitions with an ext4 filesystem.
 
1 members found this post helpful.
Old 03-19-2019, 01:24 PM   #10
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
I The changes that I had made to fstab, I made using the text mode (maintenance) which I can get into. In fact I tried to find an example to go by to write the fstab line, but didn't find it, so I went
back in (maintenance mode, and tried a suggestion that I found, but it didn't work. The drive still will not boot properly. But here is the fstab in question as it now stands.

Woops/ this the wrong one.

I'll go back toll I fine it with the OS that is working'

Last edited by littlejoe5; 03-19-2019 at 01:53 PM. Reason: I had posted the wrong fstab.
 
Old 03-23-2019, 01:35 PM   #11
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
This is the fstab that I edited. I did make some changes before you suggested sending it without changes, but it still doesn't work, and gives me the same routine. I can get into that OS, but only in 'maintenance mode",

# /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/sda3 during installation
UUID=35d2524e-535d-4255-9281-62e3c42d08b1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=5D1B-6090 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda6 during installation
UUID=6ea1d596-f424-41bf-8dfc-7acfb7d15d9f /home ext4 defaults 0 2

# /sdb7 was on /dev/sdb7 during installation
UUID=ec587145-87b5-4921-a6d6-a8944a409d72 PARTLABEL=sdb7-old ext4 defaults 0 2
# swap was on /dev/sdb3 during installation
UUID=e0711da6-89c6-48a3-aa73-c6b15c5e2022 none swap sw 0 0

Last edited by littlejoe5; 03-23-2019 at 01:46 PM.
 
Old 03-23-2019, 07:52 PM   #12
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Comment out sdb7. Doesn't look right to me. Not sure you can do uuid and partlabel.
 
Old 03-30-2019, 12:50 PM   #13
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
Getting no answers that help There's always an answer. I finally just reinstalled, the OS. That did it of course, but all my adjustments and extran installs are gone, and need to be done over. So mI guess, I solved it, and will mark it accordingly.
 
  


Reply

Tags
fstab, irq



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] Failure after failure after failure.....etc 69Rixter Linux - Laptop and Netbook 5 04-14-2015 09:58 AM
\vi/etc/fstab works fine . vi /etc/fstab throws bash command not found in Rescue mode jsaravana87 Linux - Server 1 05-13-2013 02:08 PM
server startup error: "cannot find / in /etc/fstab or /etc/mtab"; /etc/fstab readonly knee-co Linux - Newbie 8 09-12-2010 05:37 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM

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

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