LinuxQuestions.org
Help answer threads with 0 replies.
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 01-03-2018, 07:30 AM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Rep: Reputation: 61
latest slackpkg upgrade-all bricks system on slackware64-current


I just did the download, did the slackpkg install-all, and now I've got a fine brick with pretty colored lights.

Here's what I read on the console:

Driver: sr

No file system. count not mount root - tried romfs.

Kernel panic, not syncing.

There is a lot of print-out, and then I read: Unable to mount root fs on unknown block (8.33)

Any thoughts on a quick fix, or do I need to reinstall starting from the 14.2 cd.

John.
 
Old 01-03-2018, 07:33 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,679

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
did you forgot to create initrd or to run /sbin/lilo after installing the updated packages?
 
Old 01-03-2018, 07:39 AM   #3
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
I don't use initrd, and I'm sure I did the lilo.

John.
 
Old 01-03-2018, 08:09 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What were the steps you took? Because you list upgrade-all in your subject, but install-all in your post. When running -current, you should issue (at a minimum), the following commands:

Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
You should probably also do slackpkg new-config if it doesn't do it for you.
 
Old 01-03-2018, 08:21 AM   #5
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
You're right of course, and I did it the correct way, but did not report it that way. Sorry for the confusion.

I just checked out the bricked system, and I did a lilo before I rebooted. So that's not it.

John.
 
Old 01-03-2018, 08:22 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by jkh2cpu View Post
I just did the download, did the slackpkg install-all, and now I've got a fine brick with pretty colored lights.

Here's what I read on the console:

Driver: sr

No file system. count not mount root - tried romfs.

Kernel panic, not syncing.

There is a lot of print-out, and then I read: Unable to mount root fs on unknown block (8.33)

Any thoughts on a quick fix, or do I need to reinstall starting from the 14.2 cd.

John.
For whatever reason, our BDFL decided to use the same kernel for "generic" and "huge" variants, in the last update. Hence, they both needs an initrd to work properly.

Blame your bad luck and the usage of a huge kernel after its supposed life cycle (first boot, then you had been to customize your boot), and grab a live system, them generate and use a proper initrd.
 
1 members found this post helpful.
Old 01-03-2018, 08:26 AM   #7
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by jkh2cpu View Post
I just did the download, did the slackpkg install-all, and now I've got a fine brick with pretty colored lights.

Here's what I read on the console:

Driver: sr

No file system. count not mount root - tried romfs.

Kernel panic, not syncing.

There is a lot of print-out, and then I read: Unable to mount root fs on unknown block (8.33)

Any thoughts on a quick fix, or do I need to reinstall starting from the 14.2 cd.

John.
The 4.14.11 huge kernel is actually generic by mistake. (Hopefully it will be fixed soon?)

So it needs an initrd just like a generic kernel...
 
Old 01-03-2018, 08:26 AM   #8
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
So is there a fix without doing a re-install?

John.
 
Old 01-03-2018, 08:26 AM   #9
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by aaazen View Post
The 4.14.11 huge kernel is actually generic by mistake. (Hopefully it will be fixed soon?)

So it needs an initrd just like a generic kernel...
Not be so sure that's a mistake.
 
Old 01-03-2018, 08:28 AM   #10
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by jkh2cpu View Post
So is there a fix without doing a re-install?

John.
Yes, on other computer download a live system, like those shipped by AlienBOB, then after booting on live, you can chroot in your host operating system to add a proper initrd.

There is your Savior:

https://slackware.nl/slackware-live/1.1.9.3/

Last edited by Darth Vader; 01-03-2018 at 08:29 AM.
 
Old 01-03-2018, 08:29 AM   #11
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
Thanks, Darth.

And the technique for that (without actual hand-holding) is... ???

John.
 
Old 01-03-2018, 08:32 AM   #12
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by jkh2cpu View Post
Thanks, Darth.

And the technique for that (without actual hand-holding) is... ???

John.
We will talk about the actual technique when you post back from the live system. They have graphical interface, then will be no issue to post from them.

Long story short, it is about chroot-ing as root in your real Linux installation, then you will be guided by execution of:
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh

Last edited by Darth Vader; 01-03-2018 at 08:34 AM.
 
Old 01-03-2018, 08:32 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Quote:
Originally Posted by jkh2cpu View Post
So is there a fix without doing a re-install?
Boot an installation media (or live as said Darth), login as root, don't run setup, mount your (installed) root partition as /mnt, bind mount /dev /proc and /sys as /mnt/dev, /mnt/proc and /mnt/sys, chroot /mnt and make the intrd, install it and run lilo.

That being said, asking the question is a hint that maybe you shouldn't run -current...

PS didn't see Darht's answer before posting mine.

Last edited by Didier Spaier; 01-03-2018 at 08:35 AM.
 
2 members found this post helpful.
Old 01-03-2018, 08:34 AM   #14
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
Hi, Darth. I have the live boot stick from a previous excursion. Heh. That's how I know that I did the lilo on the bricked system.

I'm ready for hand-holding.

(PS: the firefox on AlienBob's boot stick will not run.)

John.
 
Old 01-03-2018, 08:37 AM   #15
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by jkh2cpu View Post
Hi, Darth. I have the live boot stick from a previous excursion. Heh. That's how I know that I did the lilo on the bricked system.

I'm ready for hand-holding.

(PS: the firefox on AlienBob's boot stick will not run.)

John.
Do as Didier said, then use the command which I suggested. This will help you to generate a custom initrd for your system, then you will have to adjust your /etc/lilo.conf

Something like:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic
  root = /dev/sda2
  label = "Linux"
  initrd = /boot/initrd.gz
  read-only
# Linux bootable partition config ends
Of course, you should finally run "lilo"

Last edited by Darth Vader; 01-03-2018 at 08:40 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] slackpkg upgrade-all is not working in slackware64-current foobarz Slackware 1 08-13-2012 01:55 PM
[SOLVED] Can't get slackpkg to upgrade to slackware64 NightSky Slackware - Installation 4 06-09-2010 04:38 PM
Slackware64 -current (20-04-2010) problem with slackpkg mlpa Slackware 5 04-22-2010 01:55 AM
[SOLVED] slackpkg insists on NOT upgrading me to slackware64-current. What am I missing? GrapefruiTgirl Slackware 5 03-04-2010 01:01 PM
Slackware64-Current / slackpkg slackass Slackware 31 06-06-2009 10:51 PM

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

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