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 07-02-2020, 01:01 PM   #31
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588

Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.14
Forgot to add the -k for your slackware kernel version.
Quote:
Could it be because I installed 14.2 32-bit and this machine is 64-bit?
No that is debians kernel version that is currently running and the script defaults to the running kernel if the -k option isn't supplied

Last edited by colorpurple21859; 07-02-2020 at 01:06 PM.
 
Old 07-02-2020, 01:13 PM   #32
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
If it still won't boot check-out the last 2 post in this thread https://www.linuxquestions.org/quest...ge-4175587811/
 
Old 07-02-2020, 01:22 PM   #33
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Alright. Assume I already have my initrd.gz. Why can't I just make grub.cfg writable and manually edit it to modify the line? I've already done it adding to the line the kernel parameters edd=off and noapic.
 
Old 07-02-2020, 01:31 PM   #34
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
Alright. Assume I already have my initrd.gz. Why can't I just make grub.cfg writable and manually edit it to modify the line?
yes you can do that, but the first debian update that runs update-grub will undo your edit. Slackware doesn't update the /boot/grub/grub.cfg when updating the system, but debian does. It should pick up the initrd.gz when update-grub is rerun

Quote:
I've already done it adding to the line the kernel parameters edd=off and noapic.
Those also will go away when debian updates the kernel. Edit /etc/default/grub and add it to the
Code:
GRUB_CMDLINE_LINUX=" edd=off noapic"
run update-grub

Last edited by colorpurple21859; 07-02-2020 at 01:40 PM.
 
Old 07-02-2020, 01:33 PM   #35
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,771

Rep: Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455
I would not use mkinitrd_command_generator.sh running on the debian kernel but just try
Code:
mkinitrd -k 4.4.14 -m mmc_core:mmc_block:sdhci:sdhci_acpi:sdhci_pci
in that chroot.
 
Old 07-02-2020, 02:10 PM   #36
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Code:
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (0,0)
I assume grub took notice of the 10_custom file, where the initrd line is. I'll see your link in post #32.
 
Old 07-02-2020, 03:59 PM   #37
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I tried with the initrd.gz made as in post #27 and I tried with the one made as in post #35 both cases resulting in Kernel panic (same message).

@colorpurple21859: I read the posts you suggested in post #32. But they assume you recompile the kernel, a work I am not willing to do.

In the eMMC there are two partitions which are not shown by cfdisk. One of them is EFI, I think. When I ran the installer I was surprised it had found an NTFS partition with size 512MB. That is one of the "hidden" partitions. One thing: are we sure the kernel panic message is caused by the eMMC thing? What remains true is that both arch linux and debian had no problem with the eMMC.

EDIT: I have a second machine with 14.2 running on it, in case that is helpful.

Last edited by stf92; 07-02-2020 at 04:02 PM.
 
Old 07-02-2020, 04:42 PM   #38
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,771

Rep: Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455Reputation: 1455
When you run lsmod in the installer, maybe it listed some other modules than you wrote in #28 ? If so, try add them in the mkinitrd command in #35.
 
Old 07-02-2020, 04:45 PM   #39
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
This probably will never happen, but maybe Slackware could provide a choice? LILO / GRUB , ELILO/GRUB (UEFI) - without having to manually go in and install GRUB instead of LILO/ELILO. Just a thought.

Last edited by Jeebizz; 07-02-2020 at 04:49 PM.
 
Old 07-02-2020, 05:00 PM   #40
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Petri Kaukasoina View Post
When you run lsmod in the installer, maybe it listed some other modules than you wrote in #28 ? If so, try add them in the mkinitrd command in #35.
I ran the installer and when it gave me the prompt I logged in as root and ran lsmod. Is it correct?
 
Old 07-02-2020, 05:42 PM   #41
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Jeebizz View Post
This probably will never happen, but maybe Slackware could provide a choice? LILO / GRUB , ELILO/GRUB (UEFI) - without having to manually go in and install GRUB instead of LILO/ELILO. Just a thought.
Volkerdi himself told me lilo can't manage eMMC. I think if elilo can he would have told me.

I'll run the installer and after having run lsmod I'll use gpm (general purpose mouse) to paste the output into a file. Only thing is I don't know where gmp will be in the file system (I installed it).

Last edited by stf92; 07-02-2020 at 05:46 PM.
 
Old 07-02-2020, 05:44 PM   #42
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Yes, run uname -r if the kernel version is the same as the one of the installed system rerun the commands of post 30 minus the update-grub

Last edited by colorpurple21859; 07-02-2020 at 05:52 PM.
 
Old 07-02-2020, 06:49 PM   #43
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
This is the output of 'uname -r' run while running the installer:
Code:
4.4.14-smp
Does it match the kernel version?

This is the output of 'lsmod' run while running the installer:
Code:
Module                  Size  Used by
uas                    12314  0
usb_storage            44630  1 uas
mmc_block              26186  2
drm                   277806  0
xhci_pci                4217  0
xhci_hcd              108007  1 xhci_pci
i2c_i801               14717  0
i2c_designware_pci      3257  0
agpgart                26940  1 drm
sdhci_pci              15331  0
i2c_algo_bit            5190  0
8250_fintek             2820  0
wmi                     7983  0
video                  24660  0
i2c_hid                11423  0
hid                    87731  1 i2c_hid
i2c_designware_platform     3675  0
i2c_designware_core     6748  2 i2c_designware_pci,i2c_designware_platform
i2c_core               41745  7 drm,i2c_designware_pci,i2c_i801,i2c_hid,i2c_designware_core,i2c_designware_platform,i2c_algo_bit
dwc3                   33222  0
sdhci_acpi              5145  0
8250_dw                 5874  0
sdhci                  26312  2 sdhci_acpi,sdhci_pci
mmc_core               97537  4 mmc_block,sdhci,sdhci_acpi,sdhci_pci
fjes                   19156  0
pinctrl_cherryview     17811  1
button                  4494  0
processor              23453  0
loop                   17817  0
 
Old 07-02-2020, 07:14 PM   #44
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by stf92 View Post
This is the output of 'uname -r' run while running the installer:
Code:
4.4.14-smp
Does it match the kernel version?
Of course it does: I looked into the slackware /boot directory and the names of the images include '4.4.14-smp'. I did exactly what you said but still the same kernel panic message.
 
Old 07-02-2020, 07:45 PM   #45
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
add rootdelay=15 to the linux line of the grub menu
 
1 members found this post helpful.
  


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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Linux boot loader entry in Windows boot loader abhikohokade Linux - Newbie 6 02-22-2013 06:12 AM
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM

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

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