LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 08:30 AM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 32

Rep: Reputation: Disabled
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, 08:33 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,736

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

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

John.
 
Old 01-03-2018, 09:09 AM   #4
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635Reputation: 2635
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, 09:21 AM   #5
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 32

Original Poster
Rep: Reputation: Disabled
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, 09:22 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,963

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
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, 09:26 AM   #7
aaazen
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 320

Rep: Reputation: 158Reputation: 158
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, 09:26 AM   #8
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 32

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

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

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
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, 09:28 AM   #10
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,963

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
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 09:29 AM.
 
Old 01-03-2018, 09:29 AM   #11
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thanks, Darth.

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

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

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
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 09:34 AM.
 
Old 01-03-2018, 09:32 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
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 09:35 AM.
 
2 members found this post helpful.
Old 01-03-2018, 09:34 AM   #14
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 32

Original Poster
Rep: Reputation: Disabled
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, 09:37 AM   #15
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,963

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
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 09:40 AM.
 
  


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

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

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