LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-15-2019, 05:49 PM   #1
petejc
LQ Newbie
 
Registered: Apr 2019
Posts: 3

Rep: Reputation: Disabled
New kernel, 5.1 / 5.1.2 boot failure strangeness


I'm a bit baffled. Running and booting kernel 5.1 on my desktop is fine. However, I've failed to boot my old Thinkpad T400 to an ext4 filesystem. I've had no issue with 5.0.8 and am using essentially the same lilo and kernel config for booting with both 5.0.8 and 5.1 / 5.1.2 and the latter two fail.

With the boot failures for 5.1.2 from looking at the boot messages it is finding the drive, the partitions and the ext4 file system on /dev/sda1. It does not appear to run the init scripts. I get a login prompt for 'Darkstar' immediately but am unable to log in. I know Darkstar is an old Slackware default. I presume I can't log in as /etc/shadow or /etc/passwd might not be the the normal ones. But I can't check as I can't log into 'Darkstar' and who knows what file system it thinks it is using.

My hostname is 'laptop-maint' and /etc/HOSTNAME contains 'laptop-main.fire' not 'Darkstar' so I really wonder where this login prompt is arising from? Looking through /etc and /etc/rc.d the only place 'Darkstar' comes up is in /etc/rc.d/rc.M, but given that /etc/HOSTNAME exists and is readable that default should be ignored.

I wondered whether it was picking up an old initrd and stalling there, but none is being used. I renamed an old one just in case, no effect.

Given that /dev/sda1 is the only disk partition with a file system, /dev/sda2 being swap and /dev/sda3 being a luks volume and no other disks, I really can't see where it is trying to boot from? The only thing left is whether there has been some last ditch init / getty functionality included in newer kernels and parhaps 'Darkstar' complied into the kernel, rather than just a panic if it fails to find a root partition, but I am not aware of such functionality.

Any thoughts as to what might be happening?

Last edited by petejc; 05-15-2019 at 05:51 PM. Reason: typo
 
Old 05-16-2019, 01:47 AM   #2
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 402

Rep: Reputation: 256Reputation: 256Reputation: 256
Yes, it's in the kernel config:
Code:
CONFIG_DEFAULT_HOSTNAME="darkstar"
 
1 members found this post helpful.
Old 05-16-2019, 03:01 PM   #3
petejc
LQ Newbie
 
Registered: Apr 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Petri Kaukasoina View Post
Yes, it's in the kernel config:
Code:
CONFIG_DEFAULT_HOSTNAME="darkstar"
THank you. Building 5.1.3 (which has just come out) with the default hostname changed, so I can tell if it comes from the kernel. Still does no explain why root mounts yet I don't get a normal boot. Still, I will find out if 5.1.3 fixes it for some inexplicable reason.
 
Old 05-16-2019, 04:48 PM   #4
petejc
LQ Newbie
 
Registered: Apr 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by petejc View Post
THank you. Building 5.1.3 (which has just come out) with the default hostname changed, so I can tell if it comes from the kernel. Still does no explain why root mounts yet I don't get a normal boot. Still, I will find out if 5.1.3 fixes it for some inexplicable reason.
OK, 5.1.3, with default hostname set to 'Pete_intel'. Kernel mounts the ext4 filesystem on /dev/sda1 but does not run the init scripts as it should and immedately gives me a login, but the hostname is now 'Pete_intel', so it is picking this up from the kernel, not /etc/HOSTNAME, which is set, nor the default in /etc/rc.d/rc.M.
 
  


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
[SOLVED] Failure after failure after failure.....etc 69Rixter Linux - Laptop and Netbook 5 04-14-2015 09:58 AM
Alsaplayer strangeness bjb123 Linux - Software 1 02-13-2003 09:39 PM
Booting strangeness cipher_arg Linux - General 4 12-17-2002 01:00 PM
Samba file copy strangeness sts_cat Linux - Software 1 11-15-2002 09:16 AM
Samba strangeness jharris Linux - Networking 3 10-09-2001 03:38 AM

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

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