LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-31-2023, 12:04 PM   #1
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Thought I had done an geninitrd for new .145 kernel...


Hey gang,

Well, I've done something to my system again that I need you smart fellers for.

I have been using slackpkg for trhe past 5 or 6 months I think, and with good results. I even used it for the kernel update before this last one for 15.0 x64 and all went well.

This time though, I'm not sure what happened or where it happened, but I had to shut down the system today because of a power outage. When I bootrd back up 30 minutes later, I was greeted with this on a black screen in the upper left corner:

Code:
>>Checking Media Presence.....
It originally was that with the added:

Code:
UEFI: PXE IPV4 Realtek Family Controller something-or-other
Seeing's as I have no clue what 'PXE' is and have never seen a message like this before, I figured for some reason it was trying to boot from my modem, so I unplugged the network wire and rebooted and just got the first line above about checking media presence.

I went into my BIOS, and nothing had changed, other than it was showing the network plug as 'lit up' instead of the UEFI hard drive I should be booting from.

I'm going to presume that I screwed up somehow and didn't get the

Code:
geninitrd
done as I usually do and now the system has no clue what to boot from.

I simply have no idea what to do about this, nor even what to look/search for as a question in a search.

Is there any 'easy' way out of this mess...one easy enough for an idiot who has a hard time counting to ten or remembering his name? Really, I need it to be nice and simple, though I'm sure it can't be, heh.
 
Old 12-31-2023, 12:26 PM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,935

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
It doesn't look like a forgotten initrd or eliloconfig. Yes, PXE means booting from a server. Seems like it can't find the hard drive at all. Maybe the disk broke? Is the time about correct in the BIOS? (CMOS battery flat?)
 
1 members found this post helpful.
Old 12-31-2023, 02:40 PM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,198

Rep: Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777Reputation: 1777
Quote:
Originally Posted by Petri Kaukasoina View Post
It doesn't look like a forgotten initrd or eliloconfig. Yes, PXE means booting from a server. Seems like it can't find the hard drive at all. Maybe the disk broke? Is the time about correct in the BIOS? (CMOS battery flat?)
Doesn't sound good. System is trying to boot from network (PXE) because it can't find hard disk. Yes, that's possible : you can have a diskless system which boots from a network server via your ethernet cable.

Can you boot from a live DVD or USB to check that hard disk?

Last edited by Gerard Lally; 12-31-2023 at 02:43 PM.
 
1 members found this post helpful.
Old 01-01-2024, 04:29 AM   #4
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Sorry for the late reply, I've been going nuts trying to get my system back and losing sleep doing it, heh.

The time is correct in the BIOS, and the BIOS even still sees all the drives in the system. It even has a thing for doing an NVME_SSD self test that tests the integrity of the drive.

The system is set-up thusly:

NVME 1 - / and /boot
NVME 2 - /home
3TB HDD - SDA 1, 2, 3

Well, I did the 'self test' on the /home drive and it was okay and took about 30 minutes. I just now got around to doing the self test on the / drive and it was done in less than 30 seconds and said it 'failed'.

It looks like the / NVME drive is a goner. This is a WD Black SN850 500GB drive. I thought I'd done enough research and reading up on NVME drives to believe that these things were going to be far better than old HDD's or even SSD's. Apparently I was wrong. I can't afford to buy this kind of junk living on a disability check, and had got all my components for a 'new' system (I hadn't built a 'new' one for myself in almost 12 years!) with some of the money from an insurance settlement when a car t-boned me as I was on my motorcycle. Of course that money is now gone, so, it looks like I'm going to be looking for myself a nice HDD once again, of which since 1993 I've not had a single one go bad on me other than a couple when I started out and was using that garbage called Microslop and two of them couldn't take the brown-outs we have out here in the country. Once I went over to Linux (the year 2000) and ReiserFS, I've yet to have a problem with my HDD's dying on me.

<sigh>...this is really a let down, knowing that something that looked so good - NVME, is pretty much garbage after a year, and I've had battery backups since around 2006, just for the extra safety. Man...I'm really bummed.

Oh, by the way, I tried my slackware live USB and it booted up, *BUT* for some reason I couldn't get it to boot into graphical mode. Trying

Code:
startx
as root or user wouldn't work. I'm going to make another live overwriting this one and see if maybe something just somehow got boogered. I've never had a slackware live on a USB not work for me before and I'm hoping it's something silly I did during the making of it, heh.

Anyway, thank you both for the help with my problem, it looks like I'm going to have to get a new HDD and put Slackware on it and hope I can figure out how to make it use my /home drive so I can do a *complete* backup of it and be ready for when *THAT* NVME croaks on me.
 
Old 01-01-2024, 05:28 AM   #5
henca
Senior Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 1,012

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
So you could boot Slackware live, that is a good thing!

From Slackware live, what is the output of:

Code:
/sbin/fdisk -l
Are you able to see your NVME 1 with the boot partition when running the command above as root?

regards Henrik
 
Old 01-01-2024, 10:08 AM   #6
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It looks like I can see it. Here are the results (minus the slough of 'loops' which I believe are the live USB drive):

Code:
live@darkstar:~$ /sbin/fdisk -l
Disk /dev/nvme0n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WD_BLACK SN850 500GB                    
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: 9FDE13DC-0A1C-B440-8F82-BFF375C8ABB9

Device            Start       End   Sectors   Size Type
/dev/nvme0n1p1     2048  10487807  10485760     5G EFI System
/dev/nvme0n1p2 10487808  31459327  20971520    10G Linux swap
/dev/nvme0n1p3 31459328 976773134 945313807 450.8G Linux filesystem


Disk /dev/nvme1n1: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WD_BLACK SN850 500GB                    
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: 100DA9C7-5322-7447-90B4-EA65976BC39F

Device         Start       End   Sectors   Size Type
/dev/nvme1n1p1  2048 976773134 976771087 465.8G Linux filesystem


Disk /dev/sda: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: WDC WD3003FZEX-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6C9CAB66-EB62-604F-860C-0600791A35C5

Device          Start        End    Sectors   Size Type
/dev/sda1        2048  976564223  976562176 465.7G Linux filesystem
/dev/sda2   976564224 2549428223 1572864000   750G Linux filesystem
/dev/sda3  2549428224 5860533134 3311104911   1.5T Linux filesystem
 
Old 01-10-2024, 06:11 AM   #7
ReneCloud
LQ Newbie
 
Registered: Dec 2023
Posts: 1

Rep: Reputation: 0
The results are good. Thanks for sharing it with us. I am glad I found your post. I was searching for this https://writinguniverse.com/essay-topics/ website online because I am not so good at writing an essay assignment and that is why I am looking for a website online where I can read free essay examples and while searching for it online, I found link to your post and it makes me so happy when I found my solution over here as well.

Last edited by ReneCloud; 01-19-2024 at 01:59 AM.
 
  


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] Boot failure after kernel upgrade to 5.15.145 (Slackware-15.0) kgha Slackware 3 12-26-2023 12:59 PM
Does the geninitrd script run automatically when new kernels are installed 15? OTB Slackware 5 02-06-2022 07:44 AM
LXer: DL 145 - Interview with Lukasz Erecinski of Pine64, GNOME vs Trolls, Ubuntu’s New Desktop Director LXer Syndicated Linux News 0 10-31-2019 08:59 PM
ffff:145.16.88.79:62939 antolepore Linux - Networking 3 10-17-2012 04:37 AM

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

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