LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2016, 09:50 PM   #1
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Rep: Reputation: Disabled
Linux mint won't boot. Can get to terminal with ctrl-alt-f1 but don't know what to do.


I was playing a game with playonlinux that stopped responding. I couldn't click on anything so I did a hard reset. The Linux mint logo came up, then a black screen with just the mouse pointer was showing. I was able to open the terminal, but I don't really know what the problem is or how to fix it. I have searched the internet for various sokutions, but nothing seems to work. The first think I tried was sudo apt-get update. This seems to fail. It's shows a bunch of lines that start with err then lines with w: failed to fetch then lists various things. It almost seems like the update can't connect to the internet to update anything. Can anyone help me get my computer usable again?
 
Old 01-27-2016, 09:52 PM   #2
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Find out what's going on by doing:

tail -30 /var/log/messages
 
Old 01-27-2016, 09:54 PM   #3
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
It says no such file or directory
 
Old 01-27-2016, 10:00 PM   #4
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Did you log in as root? If not do the same using sudo

sudo tail -30 /var/log/messages
 
Old 01-27-2016, 10:04 PM   #5
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
I'm not logged in as root, but I did use sudo.
 
Old 01-27-2016, 10:12 PM   #6
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
I don't think they removed /var/log/messages from Linuxmint but try

tail -30 /var/log/dmesg
 
Old 01-27-2016, 10:15 PM   #7
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
Okay that came up with something. https://www.dropbox.com/s/dr1lkdhqqt...G0116.jpg?dl=0
I really appreciate your help. I have to go to bed now though, and will work on it again in the morning.

Last edited by keithgmccall; 01-27-2016 at 10:17 PM.
 
Old 01-27-2016, 10:25 PM   #8
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Apparently they changed its name to syslog just to be different


Anyway by the dmesg it might be that your hdd is not being mounted or something else is acting funny.

Try mount and see if your hard drive is being mounted.

sudo mount

then

tail -30 /var/log/syslog

tail -30 /var/log/dmesg
 
Old 01-28-2016, 08:04 AM   #9
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
https://www.dropbox.com/s/hsgonr9mt9...G0117.jpg?dl=0
 
Old 01-28-2016, 08:11 PM   #10
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Do: sudo mount all
 
Old 01-28-2016, 10:40 PM   #11
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
It says "mount: can't find all in /etc/fstab or /etc/mtab"
 
Old 01-28-2016, 10:47 PM   #12
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
My best guess is that something may have deleted your fstab.

First try mounting your hard drive manually.

issue a: sudo blkid

Find main hard drive and select the root partition, then mount it at /mnt

example: sudo mount /dev/sda1

sudo mount /dev/sdX /mnt



If that works then, I would boot the machine using a live disc and rebuild the fstab.
 
Old 01-28-2016, 10:54 PM   #13
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
It said that it was already mounted I think. The main hard drive would be ext4 correct? It wouldn't be swap and the third option is vfat. I also do not know what fstab is...
 
Old 01-28-2016, 11:04 PM   #14
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
not sure how many devices you got connected to your box.

/etc/fstab is what tells your bootloader (grub2) where to mount your hdd.
 
Old 01-28-2016, 11:06 PM   #15
keithgmccall
LQ Newbie
 
Registered: Jan 2016
Posts: 13

Original Poster
Rep: Reputation: Disabled
It's a laptop with nothing special added. When I do sudo blkid, all of the options would show up right?
 
  


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
[SOLVED] On Ctrl+Alt+F1 shows 1st console , but on Ctrl+Alt+F7 doesnt go back to GUI, startx deskt0plinux Ubuntu 5 05-22-2012 01:56 AM
CTRL+ALT+F1....F6 don't work abd_bela Debian 4 02-03-2012 04:21 PM
[SOLVED] Linux Mint 12: Blank black screen after pressing Ctrl-Alt-F1, possibly larger issue Xirapt Linux - Newbie 1 12-28-2011 01:16 AM
9.04 Fails to boot, Ctrl+Alt+F1 does not bring up login or terminal, Same on LiveCD paulofmandown Ubuntu 3 05-11-2009 07:50 AM
Gnome crashes to black screen after boot up (though ctrl-alt-F2 gives a terminal) Gossamer Linux - Newbie 0 10-06-2005 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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