LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 09-02-2016, 07:43 PM   #1
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Rep: Reputation: 14
Black Screen After Login


Mint 17.1 Cinnamon 64bit. Dell Inspiron 1520. 2 GB RAM. All updates current. Currently running from 17.1 Cinnamon 64bit Live Disk so I can get out on the web.

Yesterday the files icon disappeared from the panel. I could still get to my files from the Home icon on the desktop. I decided to shutdown and see if the files icon would reappear on the panel. I booted this morning. I got a black screen after entering my password. I went to F4 for terminal. I could see my files and open some of them. I had installed Phoronix from Synaptic the day before yesterday and ran it for a trial run. Yesterday I downoaded, verified, and burnt linuxmint 17.3 Cinnamon 32bit to be used for another computer.

To do that I ran the following commands from terminal:

gpg --keyserver keyserver.ubuntu.com --recv-key "E1A3 8B8F 1446 75D0 60EA 666F 3EE6 7F3D 0FF4 05B2"

gpg --verify sha256sum.txt.gpg sha256sum.txt

sha256sum /dev/cdrom

The computer was running ok before I shut it down.

What do I do to get my desltop back?

I do have a separate home partition.
 
Old 09-03-2016, 06:24 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
Quote:
Originally Posted by borgward View Post
I had installed Phoronix from Synaptic the day before yesterday.
What's this?

And just so I can understand, what does the info on installing Linux Mint 17.3 on another machine got to do with the problem?

I think it would be a good idea to see what you installed/updated just before you encountered the problem and try to rollback any changes.

Can you please run:

less /var/log/apt/history.log

Scroll to the bottom (the latest updates) and scroll up to the time just before the problem showed up (bear in mind you may have installed/updated a problematic application a while before the problem but it only showed up on reboot). Then paste here the contents of the log from there to the the end.
 
Old 09-03-2016, 11:38 AM   #3
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by hydrurga View Post
What's this?
Phoronix is stress testing/benchmarking program. I wanted to try it out on this computer to see how it worked before trying it on another.

Quote:
Originally Posted by hydrurga View Post
And just so I can understand, what does the info on installing Linux Mint 17.3 on another machine got to do with the problem?
That info is not about installing on another. That info is about using this computer to download and produce a DVD to be used on the other computer.

Quote:
Originally Posted by hydrurga View Post
I think it would be a good idea to see what you installed/updated just before you encountered the problem and try to rollback any changes.
The last things I did were Install Phoronix, run Phoronix, Download and burn DVD of 17.3

Quote:
Originally Posted by hydrurga View Post
Can you please run:

less /var/log/apt/history.log

Scroll to the bottom (the latest updates) and scroll up to the time just before the problem showed up (bear in mind you may have installed/updated a problematic application a while before the problem but it only showed up on reboot). Then paste here the contents of the log from there to the the end.
How do I get to /var/log/apt/history.log on the HDD from live session? The HDD is /dev/sda1 but can not get to it from live session gnome terminal:
mint@mint ~ $ cd /dev/sda1
bash: cd: /dev/sda1: Not a directory
 
Old 09-03-2016, 01:17 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
You can't cd to a block device, you must cd to a directory in a filesystem, in this case the device's filesystem's mount point on the live system.

But I thought you said that you could login - you could just use Ctrl+Alt+F1 at the login menu to use terminal mode rather than the GUI mode which appears to be flaky at the moment.

Anyhoo, I'm not au fait with the live session (I've never had to use it outside installation, touch wood). However any available filesystems will either have been auto mounted by the live session or you'll need to manually mount them yourself.

Use the mount command to see if the filesystem at /dev/sda1 has been auto mounted. Make a note of the filesystem's mount point and cd there.

If you need to manually mount it yourself (the following assumes that the hard disk filesystem is not encrypted):

(i) Create /mnt if it doesn't exist on your live filesystem:

Code:
sudo mkdir /mnt
(ii) Mount hard disk's filesytem there:

Code:
sudo mount /dev/sda1 /mnt
You can then access the files through /mnt.

Before shutting down, to ensure clean shutdown:

Code:
sudo umount /mnt
 
Old 09-03-2016, 01:28 PM   #5
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by hydrurga View Post
You can't cd to a block device, you must cd to a directory in a filesystem, in this case the device's filesystem's mount point on the live system.

But I thought you said that you could login - you could just use Ctrl+Alt+F1 at the login menu to use terminal mode rather than the GUI mode which appears to be flaky at the moment.
I can login and F4 to terminal, but know of no way to copy history.log from there as I have absolutely no gui.


Quote:
Originally Posted by hydrurga View Post
Anyhoo, I'm not au fait with the live session (I've never had to use it outside installation, touch wood). However any available filesystems will either have been auto mounted by the live session or you'll need to manually mount them yourself.

Use the mount command to see if the filesystem at /dev/sda1 has been auto mounted. Make a note of the filesystem's mount point and cd there.

If you need to manually mount it yourself (the following assumes that the hard disk filesystem is not encrypted):

(i) Create /mnt if it doesn't exist on your live filesystem:

Code:
sudo mkdir /mnt
(ii) Mount hard disk's filesytem there:

Code:
sudo mount /dev/sda1 /mnt
You can then access the files through /mnt.

Before shutting down, to ensure clean shutdown:

Code:
sudo umount /mnt
Will proceed with your suggestions later today.
 
Old 09-03-2016, 01:45 PM   #6
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
mint@mint /mnt $ sudo mount /dev/sda1 /mnt
mount: block device /dev/sda1 is write-protected, mounting read-only
mount: you must specify the filesystem type

what terminology do I use for filesystem type
 
Old 09-03-2016, 01:55 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
Quote:
Originally Posted by borgward View Post
mint@mint /mnt $ sudo mount /dev/sda1 /mnt
mount: block device /dev/sda1 is write-protected, mounting read-only
mount: you must specify the filesystem type

what terminology do I use for filesystem type
It should have auto recognised the filesystem type. This might indicate some filesystem/partition corruption.

Can you run blkid so that we can determine the filesystem type for /dev/sda1?
 
Old 09-03-2016, 03:01 PM   #8
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
int mint # blkid
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Linux Mint 17 Cinnamon 64-bit" TYPE="iso9660"
/dev/sda5: UUID="516a9097-b94d-4673-9d7f-8ac12442c1a9" TYPE="ext4"
/dev/sda6: UUID="093409f7-f0af-4c8f-a22c-5a3b3816a364" TYPE="swap"
/dev/sda7: UUID="9983149b-3a05-462b-96a6-939625e6c7b6" TYPE="ext4"
 
Old 09-03-2016, 03:07 PM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
So it isn't /dev/sda1 then. Do you have separate / and /home partitions?

Your system will most likely be on /dev/sda5, but just to check, run a sudo parted -l and determine which it is by the partition sizes.
 
Old 09-03-2016, 03:54 PM   #10
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
Yes separate home and swap.

The Disks gui sees:

CD/DVD Drive as /dev/sr0

HDD as /dev/sda1

Extended partition - partition1 750GB containing:
Filesystem Partition 5 - 30 GB ext4
Swap partition 6 - 4 GB
Filesystem 7 - 716 GB Extd (home)

Free Space - 156 MB

mint@mint ~ $ sudo parted -l
Model: ATA ST9750420AS (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1048kB 750GB 750GB extended boot
5 1049kB 30.0GB 30.0GB logical ext4
6 30.0GB 34.0GB 3999MB logical linux-swap(v1)
7 34.0GB 750GB 716GB logical ext4


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: TSSTcorp DVD+-RW TS-L632H (scsi)
Disk /dev/sr0: 1383MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac

Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 115MB 124MB 9306kB EFI
 
Old 09-03-2016, 04:07 PM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
Ok. Go through the mount instructions as before, but using /dev/sda5 instead of /dev/sda1.

It should auto recognise the filesystem as ext4. If it doesn't, use the -t ext4 option in the mount command.
 
Old 09-03-2016, 04:37 PM   #12
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
mint@mint ~ $ sudo mount -t ext4 /dev/sda5 /mnt
mount: /dev/sda5 already mounted or /mnt busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt
mint@mint ~ $ cd /dev/sda5
bash: cd: /dev/sda5: Not a directory
 
Old 09-03-2016, 04:45 PM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
Quote:
Originally Posted by borgward View Post
mint@mint ~ $ sudo mount -t ext4 /dev/sda5 /mnt
mount: /dev/sda5 already mounted or /mnt busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt
mint@mint ~ $ cd /dev/sda5
bash: cd: /dev/sda5: Not a directory
Ok, so it had already auto-mounted the hard disk.

As I said before, you cannot cd to a device, you have to cd to a filesystem directory.

Try cd /mnt.
 
Old 09-03-2016, 04:52 PM   #14
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 169

Original Poster
Rep: Reputation: 14
t@mint ~ $ cd /mnt
mint@mint /mnt $ ls
bin boot cdrom dev etc home initrd.img lib lib32 lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var vmlinuz
 
Old 09-03-2016, 04:59 PM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,255
Blog Entries: 2

Rep: Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996Reputation: 1996
Quote:
Originally Posted by borgward View Post
t@mint ~ $ cd /mnt
mint@mint /mnt $ ls
bin boot cdrom dev etc home initrd.img lib lib32 lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var vmlinuz
Good, that's your Linux system.

Please have a look at my post #2 and follow the instructions (but use /mnt/var instead of /var).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 14 installation-- Black screen appears instead of login screen jtm11 Fedora - Installation 2 12-28-2012 03:14 PM
Black screen (power saving) is not coming up on login screen Metaleks Red Hat 1 11-24-2008 05:05 PM
Black Screen instead of Login screen in Graphical Mode synkronus SUSE / openSUSE 8 05-04-2007 09:17 AM
Help! Black screen instead of login screen! Intel integrated graphics coolblue SUSE / openSUSE 10 05-03-2007 06:30 PM
Etch - Occasionally black screen just before login screen coolblue Debian 3 04-18-2007 10:10 PM

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

All times are GMT -5. The time now is 10:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration