LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-22-2024, 06:43 PM   #1
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Rep: Reputation: 0
Unhappy Kali does not boot - Firmware mess-up after an upgrade - after a harddisk migration.


Hi all,

So I've been happily using my linux distro for one year. I've used kali in the past in 2013[Edited], and because I felt comfortable with it I completely switched to that as my main OS that I use daily. And I've been on it for 1 year.

First 8-9 months I've used it on an external SSD drive. Just for a test ride to figure out all it's capabilities and all I can do to not look back to my old os. It went well so I decided to buy an m.2 drive and I used clonezilla to migrate the disk from my SSD to m.2

That's when I messed up the first time. I cloned the entire disk rather than only cloning the user files and the system. I cloned EFI and Swap as well somehow .

Then I found a solution to be able to boot that was involving changing the UUID's of partitions on the bootloader. So I did that. And it worked. I logged in my full fledged os. Which worked a couple of months more.

I'm using the Grub Bootloader just because I still have a windows hdd in my setup that I use to connect to my company for work.

Then one day I just sudo apt upgrade. Somehow the UUID's got messed up again. I tried the same trick but it didn't work. First it complained about the UUID's then when I solved it it said that my firmware is bad. Then I've tried the following.

*I've tried to restore the broken firmware by downloading and replacing the firmware that it's complaining, but each time it want's me to correct a new file in the firmware.

*I've tried to update upgrade, didn't work.

*I've tried to update the firmware forcefully however it didn't work either.

*I've tried to format the hdd completely and reinstall from scratch it didn't work.

*I've tried to format the hdd by completely clean it with clean all with diskpart in windows. didn't work

*I've changed kali installer versions didn't work.

*I've also tried to install Debian, which worked perfectly. however I couldn't install nvidia drivers on it again because of the messed up firmware.

So my question is...
Why is the firmware cannot reset with a format? Where does it exactly live? And how do I purge it and fix my hdd to be able to accomodate Kali linux once again?

Sorry for the huge backstory, I just wanted to tell how I got to this stage, that might give some people where and how I might have screwed up.

Thank you!

Last edited by Atimen; 02-24-2024 at 10:18 AM.
 
Old 02-23-2024, 03:47 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by Atimen View Post
I've used kali in the past about 20 years ago, and because I felt comfortable with it I completely switched to that as my main OS that I use daily. And I've been on it for 1 year.
That would be a neat trick as Kali first released in 2013
Quote:
Originally Posted by Atimen View Post
Why is the firmware cannot reset with a format? Where does it exactly live?
Firmware generally lives in an imbedded area within a device / controller. As you've given no useful information about what "firmware" or any examples of error messages you're receiving there's not much anyone can do.

Try providing more detailed information, logs, messages, even screenshots rather than vague "it's firmware"
 
Old 02-23-2024, 04:18 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by Atimen View Post
Hi all,

So I've been happily using my linux distro for one year. I've used kali in the past about 20 years ago, and because I felt comfortable with it I completely switched to that as my main OS that I use daily. And I've been on it for 1 year.
https://www.kali.org/docs/introducti...se-kali-linux/
Quote:
The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.
Quote:
Originally Posted by Atimen View Post
Then one day I just sudo apt upgrade. Somehow the UUID's got messed up again. I tried the same trick but it didn't work.
apt upgrade cannot and will not change uuids.

Quote:
Originally Posted by Atimen View Post
First it complained about the UUID's then when I solved it it said that my firmware is bad. Then I've tried the following.

*I've tried to restore the broken firmware by downloading and replacing the firmware that it's complaining, but each time it want's me to correct a new file in the firmware.
Exactly what kind of firmware is it, what did you try?

Quote:
Originally Posted by Atimen View Post
*I've tried to update upgrade, didn't work.

*I've tried to update the firmware forcefully however it didn't work either.

*I've tried to format the hdd completely and reinstall from scratch it didn't work.

*I've tried to format the hdd by completely clean it with clean all with diskpart in windows. didn't work

*I've changed kali installer versions didn't work.
Din't work does not mean anything or may mean anything. Without details telling us "didn't work" is pointless.
http://www.catb.org/~esr/faqs/smart-...html#beprecise
Quote:
Originally Posted by Atimen View Post
*I've also tried to install Debian, which worked perfectly. however I couldn't install nvidia drivers on it again because of the messed up firmware.
How is it possible? what kind of firmware could survive a full OS reinstall?

Last but not least:
https://www.linuxquestions.org/quest...ad-4175614092/
 
Old 02-23-2024, 06:56 PM   #4
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all,
Thanks for your replies.
Quote:
That would be a neat trick as Kali first released in 2013
I might have mixed up the years a bit, sorry

Quote:
How is it possible? what kind of firmware could survive a full OS reinstall?
So yeah! that was the exact question that surprised me. Each time even I do a full wipe, when do an OS reinstall, I continue where I left off my journey, the bootloader complains about the exact part of firmware that I left fixing.

I first thought it was somehow protected from rewrite and it would be protected by all diskpart commands somehow. Then I discarded the possibility of it being there, so maybe rather I am breaking the installation files in the kali img flash. To test that I just created another kali img and still it kept coming up with the same complaint.

Returning back to my initial thought where somehow the firmware survived, and I created a secondary partition in the disk so I can start slicing it to necessary partitions, and somehow it fixed the issue, but when I did a sudo apt upgrade, it broke the firmware again.

Quote:
apt upgrade cannot and will not change uuids.
Yep apt upgrade doesn't change my UUID list of targets in /etc/fstab. However with each apt upgrade, I'm breaking something about UUID's probably linking some stuff back to those targets. Feels like I'm fixing some target that is not there, so it searches for a firmware in the wrong path. I might be completely off. But I can definitely say that these started manifesting after I did a clone disk and changed the UUID's manually in /etc/fstab myself. Which is probably something that I shouldn't have done.

Quote:
Exactly what kind of firmware is it, what did you try?
I'm exactly not sure what the firmware is in this context. Is it a hdd firmware? is it an OS firmware, or individual device firmware. However I'll post all the details now about the error and where the complained files are at,

However if you could guide me to how I can give more info about the:
-Firmware path info and where system thinks it lives. I can send lshw & lsblk output and will send them in this thread.
-Boot log so that I can pass the file here.

Quote:
Din't work does not mean anything or may mean anything. Without details telling us "didn't work" is pointless.
Sorry I was vague there. I meant it exactly resumed from where I left of fixing the firmware files with wget one by one once it complains about them. I also checked if I was maybe messing up with the live disk's firmware but I confirmed that I was operating on my nvme0n1

I'm really specific about the choice that I made, Kali somehow with it's account management defaults, zsh, all the tools that I want to explore, attracts me to kali.
It feels like I'm in the right place. I also work on some projects regarding machine learning, and pipeline, and on the side and I also would like to explore some gpu tools in Kali which I haven't tried out previously, which is why I need a complete passthrough on gpu. That I think diminishes the virtual machine possibility on Kali. At least free solutions. I could have used mint, but I wanted to at least challange myself that Kali could run as a main OS if needed. And my workplace also uses Mint so it was to actually not feel like I'm working

Thank you for all your patience all, I also receive tons of tickets in a day without any tangible info and I've posted one without those info regardless. I'll get back with more info as much as I can do tonight.

Also I was expecting that I'm missing a really basic step where maybe I need to delete the firmware by hand or force install it and it would work, However that might not be the case so sorry again. I'll supply more data to go on.

Thanks!
 
Old 02-24-2024, 01:49 PM   #5
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all,

So when I tried to boot again, this time I think I've addressed all the problematic firmware files so it only prompts me this, which never prevented me booting the system. But now it hangs there.
Click image for larger version

Name:	WhatsApp Image 2024-02-24 at 19.29.29_29472d1a.jpg
Views:	15
Size:	145.3 KB
ID:	42588

Then I tried to get into recovery mode to get some details of my system, but this time, I wasn't able to, and there seems to be 2 different versions there as shown.
Click image for larger version

Name:	WhatsApp Image 2024-02-24 at 19.29.29_5eaa7b38.jpg
Views:	17
Size:	254.3 KB
ID:	42589

I tried both recovery modes there and I'm putting the screen capture of both down below.
Click image for larger version

Name:	WhatsApp Image 2024-02-24 at 19.29.31_eff4182d.jpg
Views:	23
Size:	270.1 KB
ID:	42590
Click image for larger version

Name:	WhatsApp Image 2024-02-24 at 19.29.32_fafd093d.jpg
Views:	19
Size:	184.2 KB
ID:	42592

It doesn't let me enter the command line. So I couldn't get the info that we may need.

I don't have any essential data and I have my backups so I can start over if that is necessary.

Thank you!

Last edited by Atimen; 02-24-2024 at 01:53 PM.
 
Old 02-24-2024, 08:58 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Back when my chromebook came with Kali installed. They had 2 type of upgrade. A real big one that grabs all the tools for pen testing.
A smaller one if not wanting to pull in everything.

Which did you use?

I use antiX now on my chromebook with it's own grub repair tool in control center. So best I can do for you.
https://sourceforge.net/p/boot-repair/home/Home/
 
Old 02-25-2024, 03:33 PM   #7
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks rokytnji! I'll give it a go and see if it fixes things. I didn't install the extended tools, I was planning to do so after booting. Meanwhile I tried to install it on windows with wsl2 and rdm and I will also try to do the GPU passthrough so that I can utilize it. But I will definitely try to fix the main os as it's the most convenient way of it working.
 
Old 02-26-2024, 02:32 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by Atimen View Post
I'm really specific about the choice that I made, Kali somehow with it's account management defaults, zsh, all the tools that I want to explore, attracts me to kali.
I'm sorry, it is definitely wrong. Kali doesn't aim to attract users with zsh or account management. It's like a hammer that you use because it's yellow. [almost] All these features are available on [almost] any other distro.
But don't worry, it's your decision, you made your life unnecessarily difficult.

What you posted is quite strange. There is a message "root account locked" which should be solved. You have corrupted journaling. Also it looks like some kind of bluetooth related firmware was mentioned.
None of these issues related to boot or grub, the boot had been started and kernel was found. Probably your disk is damaged or your filesystem is corrupted or it is just a simple disk full.
The main thing I see is what you wrote, you totally messed up your system and not only once.
You wrote you installed debian and kali several times without success. It is again something which cannot be solved with grub.
Would be nice to give us exact details what did you try and make, otherwise nobody can help you to step forward.

Personally I would go with debian and solve that nvidia and/or firmware related issue, and also I would definitely try to do a clean install without dirty hacks.
 
1 members found this post helpful.
Old 02-26-2024, 01:08 PM   #9
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Hi all,

So I guess somehow some things survived clean all in diskpart. Maybe it's cached in some reserved space somewhere, however I followed up a page on how to clean all EFI stuff to wipe all. And it worked, at least now with my new installed kali I can now boot to recovery mode with GUI. When I usually installed Kali, it errors on nouveau driver and Nvidia driver installation. So I fixed that. And for my case I also had a bluetooth issue where I had to do some stuff after booting to make it work, but I think they are red herrings. So currently I have a kali that works as expected from every aspect, however it's not booting with the normal mode, It doesn't say anything while not booting.

When I boot in recovery mode, everything is usable and everything works fine. I have the GPU working, I tried a couple of projects and all is working fine with the GPU. I have all sound and internet connections, the users are set correctly, I have my account admin privileges. So I can't figure why it's not booting now. I've included in the post various kinds of info and I'm attaching a file for journalctl.txt for booting troubleshooting.

os-release
Code:
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2024.1"
VERSION="2024.1"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"
uname -a
Code:
Linux reap 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux
blkid
Code:
/dev/nvme0n1p5: UUID="b170cc49-0190-4201-bc3c-05d838c0f709" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="5251319e-bfc8-4c21-9b69-40e48df62e88"
/dev/nvme0n1p3: UUID="2DBB-D5DE" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="7e8204ea-cae5-42e2-9a89-5fa911a6eeec"
/dev/nvme0n1p1: PARTLABEL="Microsoft reserved partition" PARTUUID="6c816b50-f4a9-4731-bd23-03910cc4f72e"
/dev/nvme0n1p6: UUID="2cc9fbfe-99c9-4036-998d-4acfce77265a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="1e6e716e-a730-48de-882b-353a966891fd"
/dev/nvme0n1p4: UUID="91087e0a-d702-4f1a-b3ef-639b28f4328b" TYPE="swap" PARTUUID="151f5019-dbf9-494c-bb59-41d4a33da751"
/dev/nvme0n1p2: LABEL="Storage" BLOCK_SIZE="512" UUID="2E88B51D88B4E50D" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e153d761-4f24-4f87-9c27-804eab580de6"
fdisk
Code:
Disk /dev/nvme0n1: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: Samsung SSD 990 PRO with Heatsink 4TB   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 061B8AC5-64A0-4478-8574-CFE7D5E486F6

Device              Start        End    Sectors   Size Type
/dev/nvme0n1p1         34      32767      32734    16M Microsoft reserved
/dev/nvme0n1p2      32768 2048032767 2048000000 976.6G Microsoft basic data
/dev/nvme0n1p3 2048032768 2049986559    1953792   954M EFI System
/dev/nvme0n1p4 2049986560 2112487423   62500864  29.8G Linux swap
/dev/nvme0n1p5 2112487424 2639831039  527343616 251.5G Linux filesystem
/dev/nvme0n1p6 2639831040 7814035455 5174204416   2.4T Linux filesystem
hwinfo
Code:
cpu:
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 800 MHz
keyboard:
  /dev/input/event5    Areson 2.4G Receiver
mouse:
                       Wacom CTL-480 [Intuos Pen (S)]
  /dev/input/mice      Wacom CTL-480 [Intuos Pen (S)]
  /dev/input/mice      Logitech G502 Proteus Spectrum Optical Mouse
  /dev/input/mice      Areson 2.4G Receiver
monitor:
                       Generic Monitor
graphics card:
                       nVidia VGA compatible controller
sound:
                       Intel Cannon Lake PCH cAVS
                       nVidia Audio device
                       SteelSeries ApS Arctis Nova 4X
storage:
                       Intel SATA Controller [RAID mode]
                       Samsung Electronics Non-Volatile memory controller
network:
  wlan0                Intel Wireless-AC 9560
  eth0                 Intel Ethernet Connection (7) I219-V
network interface:
  eth0                 Ethernet network interface
  docker0              Ethernet network interface
  wlan0                WLAN network interface
  lo                   Loopback network interface
disk:
  /dev/nvme0n1         Samsung Electronics Disk
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
  /dev/nvme0n1p3       Partition
  /dev/nvme0n1p4       Partition
  /dev/nvme0n1p5       Partition
  /dev/nvme0n1p6       Partition
usb controller:
                       Intel Cannon Lake PCH USB 3.1 xHCI Host Controller
bios:
                       BIOS
bridge:
                       Intel Cannon Lake PCH PCI Express Root Port #1
                       Intel Z390 Chipset LPC/eSPI Controller
                       Intel 6th-10th Gen Core Processor PCIe Controller (x16)
                       Intel Cannon Lake PCH PCI Express Root Port #17
                       Intel 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
                       Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8)
hub:
                       Genesys Logic USB3.1 Hub
                       Genesys Logic Hub
                       Genesys Logic Hub
                       Genesys Logic USB3.1 Hub
                       Genesys Logic Hub
                       Genesys Logic Hub
                       Genesys Logic Hub
                       Linux Foundation 2.0 root hub
                       Genesys Logic USB3.1 Hub
                       Genesys Logic USB3.1 Hub
                       Linux Foundation 3.0 root hub
memory:
                       Main Memory
bluetooth:
                       Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       PS/2 Controller
                       Intel Cannon Lake PCH HECI Controller
                       Intel Cannon Lake PCH SPI Controller
                       Intel Cannon Lake PCH Shared SRAM
                       Intel Cannon Lake PCH SMBus Controller
  /dev/ttyS0           16550A
  /dev/input/event3    SteelSeries ApS Arctis Nova 4X
  /dev/input/js0       ThrustMaster T.A320 Pilot
                       Logitech Webcam C270
  /dev/input/event23   Logitech G502 Proteus Spectrum Optical Mouse
                       NZXT Kraken X
                       ASUSTek AURA MOTHERBOARD
inxi
Code:
System:
  Kernel: 6.6.9-amd64 arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Desktop: KDE Plasma v: 5.27.10 Distro: Kali GNU/Linux 2024.1 kali-rolling
    base: Debian testing
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX Z390-E GAMING v: Rev 1.xx
    serial: <filter> UEFI: American Megatrends v: 1105 date: 06/06/2019
CPU:
  Info: 8-core model: Intel Core i9-9900K bits: 64 type: MT MCP
    arch: Coffee Lake rev: D cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 800 min/max: 800/5000 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800
    15: 800 16: 800 bogomips: 115200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA AD102 [GeForce RTX 4090] driver: nvidia v: 525.147.05
    arch: Lovelace bus-ID: 01:00.0
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.2.1.1:14
  Display: server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: nvidia gpu: nvidia resolution: 1: 1920x1080 2: 1920x1080
  API: EGL v: 1.5 drivers: nvidia,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 525.147.05
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
  API: Vulkan v: 1.3.275 drivers: nvidia,llvmpipe surfaces: xcb,xlib
    devices: 2
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA AD102 High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 01:00.1
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.2.1.1:14
  Device-4: SteelSeries ApS Arctis Nova 4X
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 1-2:2
  API: ALSA v: k6.6.9-amd64 status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: n/a (root, process)
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  IF: wlan0 state: up mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: eth0 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB bus-ID: 1-14:12
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: <filter>
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
    bus-ID: 00:17.0
Drives:
  Local Storage: total: 3.64 TiB used: 410.67 GiB (11.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO with Heatsink 4TB
    size: 3.64 TiB temp: 40.9 C
Partition:
  ID-1: / size: 246.45 GiB used: 46.71 GiB (19.0%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 952.1 MiB used: 152 KiB (0.0%) fs: vfat
    dev: /dev/nvme0n1p3
  ID-3: /home size: 2.37 TiB used: 1.74 GiB (0.1%) fs: ext4
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p4
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: nvidia temp: 42 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
  Memory: total: 64 GiB available: 62.72 GiB used: 3.05 GiB (4.9%)
  Processes: 322 Uptime: 11m Init: systemd target: graphical (5)
  Packages: 5461 Compilers: clang: 16.0.6 gcc: 13.2.0 Shell: Sudo
    v: 1.9.15p5 inxi: 3.3.33
lscpu
Code:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      39 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             16
On-line CPU(s) list:                0-15
Vendor ID:                          GenuineIntel
BIOS Vendor ID:                     Intel(R) Corporation
Model name:                         Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
BIOS Model name:                    Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz To Be Filled By O.E.M. CPU @ 3.6GHz
BIOS CPU family:                    207
CPU family:                         6
Model:                              158
Thread(s) per core:                 2
Core(s) per socket:                 8
Socket(s):                          1
Stepping:                           13
CPU(s) scaling MHz:                 26%
CPU max MHz:                        5000.0000
CPU min MHz:                        800.0000
BogoMIPS:                           7200.00
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities
Virtualization:                     VT-x
L1d cache:                          256 KiB (8 instances)
L1i cache:                          256 KiB (8 instances)
L2 cache:                           2 MiB (8 instances)
L3 cache:                           16 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-15
Vulnerability Gather data sampling: Vulnerable: No microcode
Vulnerability Itlb multihit:        KVM: Mitigation: VMX disabled
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Vulnerability Retbleed:             Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Vulnerable: No microcode
Vulnerability Tsx async abort:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
mount
Code:
sysfs           on  /sys                       type  sysfs            (rw,nosuid,nodev,noexec,relatime)
proc            on  /proc                      type  proc             (rw,nosuid,nodev,noexec,relatime)
udev            on  /dev                       type  devtmpfs         (rw,nosuid,relatime,size=32838196k,nr_inodes=8209549,mode=755,inode64)
devpts          on  /dev/pts                   type  devpts           (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs           on  /run                       type  tmpfs            (rw,nosuid,nodev,noexec,relatime,size=6576240k,mode=755,inode64)
/dev/nvme0n1p5  on  /                          type  ext4             (rw,relatime,errors=remount-ro)
securityfs      on  /sys/kernel/security       type  securityfs       (rw,nosuid,nodev,noexec,relatime)
tmpfs           on  /dev/shm                   type  tmpfs            (rw,nosuid,nodev,inode64)
tmpfs           on  /run/lock                  type  tmpfs            (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2         on  /sys/fs/cgroup             type  cgroup2          (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore          on  /sys/fs/pstore             type  pstore           (rw,nosuid,nodev,noexec,relatime)
efivarfs        on  /sys/firmware/efi/efivars  type  efivarfs         (rw,nosuid,nodev,noexec,relatime)
bpf             on  /sys/fs/bpf                type  bpf              (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1       on  /proc/sys/fs/binfmt_misc   type  autofs           (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2152)
mqueue          on  /dev/mqueue                type  mqueue           (rw,nosuid,nodev,noexec,relatime)
hugetlbfs       on  /dev/hugepages             type  hugetlbfs        (rw,nosuid,nodev,relatime,pagesize=2M)
debugfs         on  /sys/kernel/debug          type  debugfs          (rw,nosuid,nodev,noexec,relatime)
tracefs         on  /sys/kernel/tracing        type  tracefs          (rw,nosuid,nodev,noexec,relatime)
fusectl         on  /sys/fs/fuse/connections   type  fusectl          (rw,nosuid,nodev,noexec,relatime)
configfs        on  /sys/kernel/config         type  configfs         (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p6  on  /home                      type  ext4             (rw,relatime)
/dev/nvme0n1p3  on  /boot/efi                  type  vfat             (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
binfmt_misc     on  /proc/sys/fs/binfmt_misc   type  binfmt_misc      (rw,nosuid,nodev,noexec,relatime)
sunrpc          on  /run/rpc_pipefs            type  rpc_pipefs       (rw,relatime)
tmpfs           on  /run/user/1000             type  tmpfs            (rw,nosuid,nodev,relatime,size=6576236k,nr_inodes=1644059,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse      on  /run/user/1000/gvfs        type  fuse.gvfsd-fuse  (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal          on  /run/user/1000/doc         type  fuse.portal      (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/nvme0n1p2  on  /media/reaper/Storage      type  fuseblk          (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
Thank you for your patience!
Attached Files
File Type: txt lshw.txt (34.1 KB, 12 views)
 
Old 02-26-2024, 01:16 PM   #10
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
https://docs.google.com/document/d/1...it?usp=sharing

this is the output of journalctl I couldn't upload here due to size.
 
Old 02-26-2024, 05:18 PM   #11
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Well. You have the nvidia driver running I see.

Quote:
boot to recovery mode with GUI
Here is how to work in that environment

https://www.systranbox.com/how-to-us...recovery-mode/

Broken install is mentioned a bunch. Might wanna look into Rescue Mode.
 
Old 02-27-2024, 01:39 PM   #12
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Ok I've just went through and fixed all the warnings and errors. My system works perfectly in Recovery mode, I found some mounting issues and fixed them as well. The only thing that is left it says SGX is disabled by bios. And It's always said that. Never failed a boot.

So I start to feel like it might be bios. It persist and survive the format, I dont have anything complaining in os side.

My fast boots and secure boots are disabled. I dont use legacy mode for EFI, I've selected other os rather than windows os. What might I be missing?
 
Old 02-27-2024, 05:18 PM   #13
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Easy way to show I guess

Code:
# dmidecode | more
Left the hashmark to show it is a root command.
 
Old 02-28-2024, 05:01 AM   #14
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 88

Rep: Reputation: 67
Quote:
Originally Posted by pan64 View Post
I'm sorry, it is definitely wrong. Kali doesn't aim to attract users with zsh or account management. It's like a hammer that you use because it's yellow. [almost] All these features are available on [almost] any other distro.
But don't worry, it's your decision, you made your life unnecessarily difficult.
+1

However... I would go further, to state that this endeavour and thread is a waste of everyone's time, including the OP's.

There seems to be two problems:

- A UUID mess up, primarily caused by a lack of understanding, when cloning the disk/ssd/block device. Cloning Linux installations is not so straightforward, as e.g. a Windows or FreeBSD installation due to the grub bootloader and UUIDs, which are usually how block devices are mounted in /etc/fstab. It requires more work and understanding.

- Messages about (missing?) firmware, appearing during boot messages.

The first one is not really worth anyone's time in unraveling, as it's your own self-inflicted problem. Just install the SSD in the machine and clean install Debian on the SSD. Install the bootloader to the primary drive and ensure you run os-prober to chainload the Windows installation.

The second problem could be the usual "possible missing firmware". Next time it appears, take note of the missing firmware file names and search the web for info. If you install the latest Debian release, all of the firmware is now included - if there's still messages about missing firmware, you will need to note down the file names and do some research.

As it stands you've made a few lengthy posts about the "firmware", yet no one is any the wiser in terms of what kind of firmware you're talking about... even though you said you were downloading missing files and installing one by one - what files and from where?
 
Old 02-29-2024, 01:42 PM   #15
Atimen
LQ Newbie
 
Registered: Feb 2024
Posts: 11

Original Poster
Rep: Reputation: 0
Hi,

Quote:
However... I would go further, to state that this endeavour and thread is a waste of everyone's time, including the OP's.
Thank you for your feedback. I'm not expecting investment of everyone's time, just some people that could help or throw in some ideas. Actually the thread really helped me. I solved a lot of things once people pointed out what I should look for to troubleshoot.

Quote:
- A UUID mess up, primarily caused by a lack of understanding, when cloning the disk/ssd/block device. Cloning Linux installations is not so straightforward, as e.g. a Windows or FreeBSD installation due to the grub bootloader and UUIDs, which are usually how block devices are mounted in /etc/fstab. It requires more work and understanding.
This is now fixed. Everything is mounted in the right place, I've done that before and I've fixed it again.

Quote:
- Messages about (missing?) firmware, appearing during boot messages.
That I also solved as well. The firmware that was missing was coming from a broken firmware. I still don't know how it survided the whole zeroed disk, however when I installed kali, I dove in and removed it with random data to make sure it's purged correctly, and another reinstall from scratch just fixed it.

Quote:
The first one is not really worth anyone's time in unraveling, as it's your own self-inflicted problem. Just install the SSD in the machine and clean install Debian on the SSD. Install the bootloader to the primary drive and ensure you run os-prober to chainload the Windows installation.
That I've already tried and was successful with Debian 12. I wanted to do the same with kali but failed to do so.

Quote:
The second problem could be the usual "possible missing firmware". Next time it appears, take note of the missing firmware file names and search the web for info. If you install the latest Debian release, all of the firmware is now included - if there's still messages about missing firmware, you will need to note down the file names and do some research.
That's exactly what I did to solve it, By the time just after my prior post I fixed the files one by one to boot up. Now I don't have a firmware error, that I know of.

Quote:
As it stands you've made a few lengthy posts about the "firmware", yet no one is any the wiser in terms of what kind of firmware you're talking about... even though you said you were downloading missing files and installing one by one - what files and from where?
Since the firmware is solved I didn't put what the firmware was. Actually I didn't even know what I was fixing. But the complained files lived here, /lib/firmware.

Completely renewed now. I'm just suspecting something is not right in my bios to boot in regular mode rather than rescue mode. Or maybe it can be read and write priviliges, which I checked from the user groups and user privileges as well as root account access.

Thank you for your feedback and reply.
 
  


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
Installed Kali Linux dual booting with Windows 11. Gets stuck on boot after the kali dragon logo shows up. ahmedali19 Linux - Laptop and Netbook 9 02-10-2024 07:02 AM
White lines and screen block after installing either firmware-linux-nonfree or firmware-amd-graphics - Sempron 2600+ and Radeon HD 3450 UserMain Linux - Hardware 14 08-07-2022 03:09 AM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
[SOLVED] Howto boot linux from harddisk if that option is not presented by firmware? Tmaker Linux - Embedded & Single-board computer 2 09-06-2011 07:01 AM

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

All times are GMT -5. The time now is 01:26 PM.

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