LinuxQuestions.org
Visit Jeremy's Blog.
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 05-24-2018, 12:55 PM   #1
B3PO
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Rep: Reputation: Disabled
Exclamation Help: can’t get system to boot normally


I’m not the most experienced Linux user, and it’s been a while since I used it regularly, but recently my MacBook was damaged and I’ve been using my old laptop running Kali Linux 2017.3 sincd. I had been ignoring the OS telling me that there were updates to be installed, but today I finally decided to do the updates. It took a while, then when my computer rebooted it just sat at the screen that says /dev/sda1 437987/5812678 (normally appears right before the OS finishes loading). I rebooted it into recovery mode and got a root shell and have tried a few commands, but like I said, it’s been a while and I can’t afford to ruin anything (not backed up yet). The pic I’ve included shows most of the commands I’ve tried. It looks to me like the root file system can’t be resolved to its UUID, or something of that nature. It won’t let me run fsck or remount the filesystem as rw so I can create a /forcefsck file. In both cases it says fsck.ext4: Unable to resolve ‘UUID=4db2cdd6-c6c9-4be9-9a5a-105c17f4748’. Any advice is appreciated.
Attached Thumbnails
Click image for larger version

Name:	D12B9C6C-8C9C-426B-9676-A4CC4369E061.jpg
Views:	100
Size:	255.1 KB
ID:	27713  
 
Old 05-24-2018, 01:13 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by B3PO View Post
I’m not the most experienced Linux user, and it’s been a while since I used it regularly, but recently my MacBook was damaged and I’ve been using my old laptop running Kali Linux 2017.3 sincd. I had been ignoring the OS telling me that there were updates to be installed, but today I finally decided to do the updates. It took a while, then when my computer rebooted it just sat at the screen that says /dev/sda1 437987/5812678 (normally appears right before the OS finishes loading). I rebooted it into recovery mode and got a root shell and have tried a few commands, but like I said, it’s been a while and I can’t afford to ruin anything (not backed up yet). The pic I’ve included shows most of the commands I’ve tried. It looks to me like the root file system can’t be resolved to its UUID, or something of that nature. It won’t let me run fsck or remount the filesystem as rw so I can create a /forcefsck file. In both cases it says fsck.ext4: Unable to resolve ‘UUID=4db2cdd6-c6c9-4be9-9a5a-105c17f4748’. Any advice is appreciated.
Firstly, it's not real easy to read your post like it is.

My advice:

Read this: https://www.linuxquestions.org/quest...ad-4175614092/

and then this: https://www.linuxquestions.org/quest...ro-4175623119/

Unless you ARE using Kali for it's intended purposes - as explained in the sticky you should have already read before posting.

Good luck.
 
Old 05-24-2018, 01:28 PM   #3
B3PO
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
As I said, it’s been a while since I used Linux regularly (as in a couple years). When I put Kali on tis PC, I was using it regularly in school for penetration-testing purposes (intended pupose you mentioned), but have forgotten much since that time. In any case, I could easily be having this same problem on Ubuntu, as they are both Debian, so I understand your point but I still have this problem and need help solving it. If you need more information I will provide it, but please look at what I’ve already provided first.
 
Old 05-24-2018, 01:46 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Can you try a:

Code:
fdisk -l
Also a:

Code:
lsblk -o +UUID
 
1 members found this post helpful.
Old 05-24-2018, 01:52 PM   #5
B3PO
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Can you try a:

Code:
fdisk -l
Also a:

Code:
lsblk -o +UUID
Results shown in photo. Thank you.
Attached Thumbnails
Click image for larger version

Name:	5CB4C3CF-4D2A-4C00-A3F6-8DBE90A4F3A8.jpg
Views:	92
Size:	245.2 KB
ID:	27714  
 
Old 05-24-2018, 02:10 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I suspect that an upgraded kernel may be causing the issue. Do you have any older kernels available through your boot-time Grub menu?
 
1 members found this post helpful.
Old 05-24-2018, 02:39 PM   #7
B3PO
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Can you try a:

Code:
fdisk -l
Also a:

Code:
lsblk -o +UUID
Quote:
Originally Posted by hydrurga View Post
I suspect that an upgraded kernel may be causing the issue. Do you have any older kernels available through your boot-time Grub menu?
Yes, GRUB also gives the option to launch version 4.9.0. When I tried to boot 4.9.0 it now displays:

/dev/sda1: clean, 414918/30269440 files, 637513/121064960 blocks
[ 4.881141] cgroup: cgroup2: unknown option “nsdelegate”

Once it gets this far, the screen flashes black repeatedly, as if it keeps trying and failing over and over again. The screen flashing happens for both versions, and when trying to boot in recovery mode.
 
Old 05-24-2018, 02:50 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I think that's caused by a mismatch between the versions of systemd and the kernel.

It was solved by a Kali user at https://forums.kali.org/showthread.p...pt-get-upgrade - check out post #8 on that thread.
 
1 members found this post helpful.
Old 05-24-2018, 03:37 PM   #9
B3PO
LQ Newbie
 
Registered: Nov 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I think that's caused by a mismatch between the versions of systemd and the kernel.

It was solved by a Kali user at https://forums.kali.org/showthread.p...pt-get-upgrade - check out post #8 on that thread.
I managed to get it working using that resource. Thank you very much.
 
Old 05-24-2018, 03:45 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by B3PO View Post
I managed to get it working using that resource. Thank you very much.
Excellent. If you want, you can mark the thread as "Solved" (see "Thread Tools" at the top of the thread).

Let us know if you come across any other issues.
 
  


Reply

Tags
ext4, grub, kali, linux, recovery


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
I want to change from a dual boot system to a single boot system learstar Linux - Newbie 14 07-31-2010 07:40 AM
Installing LILO from host system to hdb to boot as hda in target system A7G1-6 Linux - Hardware 2 07-25-2009 10:37 AM
System donot boot if 2nd hdd attached and massege starting system logger GOBINDO0948 Linux - Newbie 3 07-05-2009 03:09 PM

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

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