LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2023, 07:59 PM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417
Blog Entries: 43

Rep: Reputation: 36
Linux Mint: Stuck in Kernel Maintenence Mode


This is a new problem. I was attempting to transfer files from a VM, to my USB stick. In doing so, looks like one of the things was an erronious fstab entry. I bet that's where the actual problem is. The line looks a bit like this, from memory:

Code:
vbox /mnt/vbox vboxsf 0 0
Spaces may be off, but you get the gist. Now it only boots into maintenence mode, and still won't let me actually type commands. With system rescue disk Linux, perhaps on a USB, as this has no dvd drive built in, though I have some at home, can this be easily fixed? What if I remove the offending line? Do you think it will boot normally? Turning it off the hard way doesn't seem to be very good for it, but I bet the whole system isn't gone yet. I don't think it's an ssd.

I was oddly enough, just about to ask about my origional problem and that was my last try, as it wasn't mounting the disk.
 
Old 09-17-2023, 10:12 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Fstab entries to /mnt/* don't belong. /mnt/ is supposed to be a place for transient mounts, occasional and temporary. I suggest either moving to a different mount point, or removing the line. If moving to another mount point, be sure to include both filesystem type and mounting option(s), as vbox /mnt/vbox vboxsf 0 0 lacks one. Normally there are 6 populated columns per line in fstab.
 
Old 09-17-2023, 10:18 PM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I guess I could try my booting from USB thing... I confirmed I have the live enviroments I need, and I could try to remove the fstab. My only worry, is I'll be too late to save the data because of reboots by shutting off power (not pulling plug, no shutdown command). Maybe the check will succeed. I would guess ext3 or 4 fs type, for /. I'll think about getting a better troubleshooting process going after this. Sometimes when it's my problem, I panic and ask, when I really am smart enough 99% of the time to solve the problem. Then there's the times I'm not, when asking is great! Hopefully this helps someone else though.
 
Old 09-17-2023, 10:22 PM   #4
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I'll try to remove it for now. I only need the line, it if it's only way my origional problem will work. I hope I didn't break too much! I'm from a different erra, where using fstab and automount was not bogus behavior, and before the ubuntu hype.
 
Old 09-17-2023, 10:22 PM   #5
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Yes, thanks though. Getting syntax wrong is probably why it choked.
 
Old 09-18-2023, 02:37 PM   #6
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I removed the line, and all is well. I used easy 2 boot, which I created some time ago, even though there's not much room. I booted system rescue cd linux, and then mounted the partition /dev/sda2, then I removed the line with vi, which must be regular vi or something, because it didn't seem to work the way I wanted, then I removed the offending line, the next boot, everything was OK. I'll study a bit before attempting to do what I was trying to do in the first place, then if needed, come back here.
 
Old 09-18-2023, 03:54 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
It is possible the vbox modules are loading after the system mounts the filesystems via fstab which could be another reason it didn't boot normally. There are various ways to workaround the problem.
 
Old 09-18-2023, 07:32 PM   #8
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Well, I couldn't get it to mount, whether there or not. It tells me that it can't understand the filesystem type or something to that effect.
 
Old 09-18-2023, 07:34 PM   #9
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I'm being more careful, but I really want to transfer my files from the vm to the other machine. Can't seem to be able to get it on the usb either. The only difference in docking stations though, is simply (I think), one is v2, other is v3. Both diamond brand. Probably ubuntu drivers.
 
Old 09-18-2023, 07:35 PM   #10
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I could either address here, or like I think, end and find elsewhere. Not done researching it quite yet.
 
Old 09-18-2023, 07:36 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
Shared folders requires the installation of guest additions and then you need to configure a shared directory on the host using vboxmanager or from the VM devices menu.

You have to connect a USB device to the guest via the devices menu. A USB device can only be connected to the host or a single VM at a time. For USB 2 and 3 you need to install the extension pack.

Last edited by michaelk; 09-18-2023 at 07:47 PM.
 
Old 09-20-2023, 01:45 PM   #12
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
USB should be working, but doesn't. I guess it's some sort of bug from being moved back and forth between home docking station and work docking station, same model, but work is newer v3, instead of v2, I think. drivers still work.

I'll try to use the devices page or vboxmanager to create the shared drive. I did the GUI interface under shared folders before. Maybe these two errors are related?
 
Old 09-20-2023, 02:37 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,724

Rep: Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918Reputation: 5918
Did yiu install guest additions in the vm?
 
Old 09-26-2023, 01:15 AM   #14
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I got the network working. Then, I put the files on the network share, and downloaded them again onto the physical machine. From there, I can transfer them to the other machine.
 
Old 10-13-2023, 10:48 PM   #15
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,417

Original Poster
Blog Entries: 43

Rep: Reputation: 36
Further discussion of the vm specific problem:

https://www.linuxquestions.org/quest...70#post6458270
 
  


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
Linux Mint 17 NVIDIA Drivers problem + stuck in fallback mode m00000nkey Linux - Software 2 09-15-2014 07:53 PM
Stuck in Mint-X Window Border Mode in MAYA MATE jimwg Linux - Desktop 0 12-03-2012 02:44 PM
Can anyone help me build a custom distro for system maintenence? Fableflame Linux - Software 1 04-19-2011 06:13 PM
Maintenence? Frank Soranno Debian 4 12-31-2006 01:06 PM
System Maintenence jeopardyracing Red Hat 5 12-07-2003 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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