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 12-16-2020, 02:25 AM   #1
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28
Blog Entries: 1

Rep: Reputation: 1
slackware-current hangs on 'Loading initial ramdisk'


After upgrading slackware-current with slackpkg into kernel 5.4.83,
the boot process hangs with the 'Loading initial ramdisk' message which blanks after a few minutes and nothing more happens

I've booted from the installation USB, mounted everything under /mnt and chrooted to /mnt,
then i tried to rebuild initrd image with `mkinitrd -c -k 5.4.83 -m btrfs:ext4` followed by
`grub-mkconfig -o /boot/grub/grub.cfg`, but nothing helps

my /boot is ext4 while / (root partition) is btrfs @ subvolume

thx
 
Old 12-16-2020, 02:36 AM   #2
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Sorry if this suggestion is a bit obvious. But did you run lilo (or equivalent) after slackpkg ?
 
Old 12-16-2020, 02:39 AM   #3
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
sure, i'm using grub2 instead of lilo and ran `grub-mkconfig -o /boot/grub/grub.cfg`

Quote:
Originally Posted by avian View Post
Sorry if this suggestion is a bit obvious. But did you run lilo (or equivalent) after slackpkg ?
 
Old 12-16-2020, 07:23 AM   #4
gp.d
LQ Newbie
 
Registered: Oct 2019
Location: north of germany
Distribution: slackware
Posts: 26

Rep: Reputation: Disabled
for me it sounds like an incomplete ramdisk,
you could run
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
and rebuild the initrd with that output.

kind regards
 
Old 12-16-2020, 08:16 AM   #5
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Quote:
Originally Posted by gp.d View Post
for me it sounds like an incomplete ramdisk,
you could run
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
and rebuild the initrd with that output.

kind regards
yes, that's exaclty what i did, i ran the output of:

`/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.4.83 -r`

followed by

`grub-mkconfig -o /etc/grub/grub.cfg`

both finished without problems
 
Old 12-16-2020, 09:06 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,388

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
grub-mkconfig -o /etc/grub/grub.cfg`
Shouldn't that be
Code:
grub-mkconfig -o /boot/grub/grub.cfg
 
Old 12-17-2020, 02:21 AM   #7
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
Quote:
Originally Posted by colorpurple21859 View Post
Shouldn't that be
Code:
grub-mkconfig -o /boot/grub/grub.cfg
yes, of course, just a typing error

BTW it must be due to the specific kernel version. when i downloaded the latest sources of 5.10.1, recompiled them, then everything works fine
 
Old 12-23-2020, 04:22 PM   #8
ganjaplanet
LQ Newbie
 
Registered: Feb 2016
Location: Jince, Czech Republic
Distribution: Slackware, openSUSE, Debian
Posts: 28

Original Poster
Blog Entries: 1

Rep: Reputation: 1
The kernel 5.4.83 was just bad, upgrading to later one helped
 
  


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
Loading initial ramdisk freeze cbeyer Debian 4 03-26-2012 02:14 PM
Loading initial ramdisk freeze cbeyer Linux - Newbie 2 03-21-2012 03:22 PM
Loading Initial Ramdisk Hang AsadMoeen Linux - Server 1 02-20-2012 04:53 PM
[SOLVED] Stuck at "loading initial ramdisk" ukernel Linux - Newbie 8 01-08-2012 03:58 AM
Loading initial ramdisk... igsen Debian 1 08-05-2011 05:33 PM

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

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