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-05-2020, 09:23 AM   #211
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594

before installing current kernel
run mkinitrd with this
Code:
mkinitrd -k 4.4.14-smp -f ext2 -r /dev/mmcblk0p2 -w 15 -m mmc_core:mmc_block:rtsx_usb_sdmmc:rtsx_usb:sdhci:sdhci_acpi:sdhci_pci:usb_storage:xhci_hcd:uas:xhci_pci:ext2 -u -o /boot/initrd.gz
and boot it with the generic-smp kernel
 
Old 07-05-2020, 10:09 AM   #212
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Unexpected error:
Code:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprobe
r-gnulinux-simple-2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  2d63e598-b1b4-4e32-a781-9fe9ceae2c11
	else
	  search --no-floppy --fs-uuid --set=root 2d63e598-b1b4-4e32-a781-9fe9ceae2c11
	fi
	linux /boot/vmlinuz-generic-smp-4.4.14-smp root=/dev/mmcblk0p2 noapic edd=off rootdelay=15
        initrd=/boot/initrd.gz
}
Code:
root@darkstar:/boot/grub# blkid
/dev/mmcblk0: PTUUID="48727b69" PTTYPE="dos"
/dev/mmcblk0p1: LABEL="DEBIAN_10" UUID="3b7be193-a2fd-4b48-8d07-bd2311b0f5ba" TYPE="ext2" PARTUUID="48727b69-01"
/dev/mmcblk0p2: UUID="7050dbb6-216c-460c-9e89-5f55cd504bd4" TYPE="ext2" PARTUUID="48727b69-02"
/dev/sda1: UUID="16DEFB8A5C641CC1" TYPE="ntfs" PARTUUID="db1cf92f-01"
/dev/sda2: LABEL="BACKUP_ALMACEN" UUID="2736F05E155D7FD0" TYPE="ntfs" PTTYPE="dos" PARTUUID="db1cf92f-02"
root@darkstar:/boot/grub#
Code:
root@darkstar:/mnt/boot# v
total 38M
-rw-r--r--  1 root root  137 Jul  4 00:21 boot_message.txt
-rw-r--r--  1 root root  426 Apr 21  2016 coffee.dat
lrwxrwxrwx  1 root root   26 Jul  4 00:15 config -> config-huge-smp-4.4.14-smp
-rw-r--r--  1 root root 159K Jun 24  2016 config-generic-4.4.14
-rw-r--r--  1 root root 160K Jun 24  2016 config-generic-smp-4.4.14-smp
-rw-r--r--  1 root root 159K Jun 24  2016 config-huge-4.4.14
-rw-r--r--  1 root root 160K Jun 24  2016 config-huge-smp-4.4.14-smp
-rwxr-xr-x  1 root root 210K Mar 29  2013 elilo-ia32.efi
-rwxr-xr-x  1 root root 235K Apr  1  2016 elilo-x86_64.efi
drwxr-xr-x  2 root root 4.0K Jun 13  2016 grub/
-rw-r--r--  1 root root 5.4M Jul  5 11:44 initrd.gz
drwxr-xr-x 13 root root 4.0K Jul  5 11:44 initrd-tree/
-rw-r--r--  1 root root  23K Apr 21  2016 inside.bmp
-rw-r--r--  1 root root  432 Apr 21  2016 inside.dat
-rw-r--r--  1 root root 6.8K Apr 21  2016 onlyblue.bmp
-rw-r--r--  1 root root  424 Apr 21  2016 onlyblue.dat
lrwxrwxrwx  1 root root   37 Jul  4 00:15 README.initrd -> /usr/doc/mkinitrd-1.4.8/README.initrd
-rw-r--r--  1 root root  14K Feb 14  2010 slack.bmp
lrwxrwxrwx  1 root root   30 Jul  4 00:15 System.map -> System.map-huge-smp-4.4.14-smp
-rw-r--r--  1 root root 2.0M Jun 24  2016 System.map-generic-4.4.14
-rw-r--r--  1 root root 2.1M Jun 24  2016 System.map-generic-smp-4.4.14-smp
-rw-r--r--  1 root root 3.0M Jun 24  2016 System.map-huge-4.4.14
-rw-r--r--  1 root root 3.1M Jun 24  2016 System.map-huge-smp-4.4.14-smp
-rw-r--r--  1 root root  33K Apr 21  2016 tuxlogo.bmp
-rw-r--r--  1 root root  423 Apr 21  2016 tuxlogo.dat
lrwxrwxrwx  1 root root   27 Jul  4 00:15 vmlinuz -> vmlinuz-huge-smp-4.4.14-smp
lrwxrwxrwx  1 root root   22 Jul  4 00:15 vmlinuz-generic -> vmlinuz-generic-4.4.14
-rw-r--r--  1 root root 3.7M Jun 24  2016 vmlinuz-generic-4.4.14
lrwxrwxrwx  1 root root   30 Jul  4 00:15 vmlinuz-generic-smp -> vmlinuz-generic-smp-4.4.14-smp
-rw-r--r--  1 root root 3.9M Jun 24  2016 vmlinuz-generic-smp-4.4.14-smp
lrwxrwxrwx  1 root root   19 Jul  4 00:15 vmlinuz-huge -> vmlinuz-huge-4.4.14
-rw-r--r--  1 root root 6.7M Jun 24  2016 vmlinuz-huge-4.4.14
lrwxrwxrwx  1 root root   27 Jul  4 00:15 vmlinuz-huge-smp -> vmlinuz-huge-smp-4.4.14-smp
-rw-r--r--  1 root root 7.0M Jun 24  2016 vmlinuz-huge-smp-4.4.14-smp
root@darkstar:/mnt/boot#
When booting and choosing slackware I get something like "2d63e598-b1b4-4e32-a781-9fe9ceae2c11 No such device" and "vmlinuz-generic-smp-4.4.14-smp No such file or directory". What happens? They are messages from grub!
 
Old 07-05-2020, 10:28 AM   #213
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Hi Enrique,

It happens that no device with UUID2d63e598-b1b4-4e32-a781-9fe9ceae2c11 was found when you tried to boot, as shows the output of blkid, maybe because you didn't ugrade grub after some change in your machine's configuration.

At this point and after 212 answers including mine, it's time to realize that your initial question was misleading. It should have been: "How to install Slint version 14.2 on a machine with an eMMC drive?", so that someone having successfully done that could give you a simple to follow how-to.

This not withstanding you'd be better off installing Slackware 15 when it will be released, as then your hardware and firmware will most probably be fully supported.

Last edited by Didier Spaier; 07-05-2020 at 10:30 AM.
 
Old 07-05-2020, 10:42 AM   #214
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
You need to run update- grub in debian, and then edit the slack menu entry if need be
Yes that has been the big issue not giving enough information, like installing only a series and this being a continuation of a thread from april
 
Old 07-05-2020, 10:45 AM   #215
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi Didier: well, I think it's being time to give up. Yesterday night I was thinking: why not download the LFS book and begin studying it? How long will it be until 15.0 is released? Do you have an idea?
 
Old 07-05-2020, 10:49 AM   #216
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by colorpurple21859 View Post
You need to run update- grub in debian, and then edit the slack menu entry if need be
Yes that has been the big issue not giving enough information, like installing only a series and this being a continuation of a thread from april
It cannot be april this year. It happened a long time ago. And all of this began with series a, ap and n installed. Only l was lacking. I'll try to fix the grub thing.
 
Old 07-05-2020, 10:53 AM   #217
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Also Enrique:
  • In any case, always stick with a stable Slackware release, do not upgrade to -current.
  • Always do a full Slackware installation.
I allow myself to provide this advice, having answered many questions you posted @ LQ.

Last edited by Didier Spaier; 07-05-2020 at 10:54 AM.
 
Old 07-05-2020, 10:55 AM   #218
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
When you did the reinstall formatting the partition changed the uuid
 
Old 07-05-2020, 11:03 AM   #219
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
@Didier Spaier: "Always do a full Slackware installation": Then perhaps you could tell me how to install slackware 14.2 32-bit CD 2. When instalation with CD 1 finishes, it won't prompt to insert CD 2... Ahhh... maybe because it's not actually a CD but a USB stick? I had to mount the stick, chroot to the slackware partition, go to the /l directory and run 'installpkg *.txz'.
 
Old 07-05-2020, 11:06 AM   #220
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
@Didier Spaier: "Always do a full Slackware installation": Then perhaps you could tell me how to install slackware 14.2 32-bit CD 2. When instalation with CD 1 finishes, it won't prompt to insert CD 2... Ahhh... maybe because it's not actually a CD but a USB stick? I had to mount the stick, chroot to the slackware partition, go to the /l directory and run 'installpkg *.txz'.
Just use the DVD ISO instead.
 
Old 07-05-2020, 11:14 AM   #221
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,932

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
Quote:
Originally Posted by Didier Spaier View Post
Always do a full Slackware installation.
This is usually a good advice, but now the partition size is 14.6GB.
 
Old 07-05-2020, 11:47 AM   #222
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by colorpurple21859 View Post
before installing current kernel
run mkinitrd with this
Code:
mkinitrd -k 4.4.14-smp -f ext2 -r /dev/mmcblk0p2 -w 15 -m mmc_core:mmc_block:rtsx_usb_sdmmc:rtsx_usb:sdhci:sdhci_acpi:sdhci_pci:usb_storage:xhci_hcd:uas:xhci_pci:ext2 -u -o /boot/initrd.gz
and boot it with the generic-smp kernel
Kernel panic.
 
Old 07-05-2020, 11:55 AM   #223
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,932

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
Is it again "VFS: Unable to mount root fs" ?

You could try it with the huge-smp kernel, too.

Then you could try
Code:
cp -rp /lib/modules/4.4.14-smp/kernel /boot/initrd-tree/lib/modules/4.4.14-smp
mkinitrd -k 4.4.14-smp -f ext2 -r /dev/mmcblk0p2 -w 15 -m mmc_core:mmc_block:rtsx_usb_sdmmc:rtsx_usb:sdhci:sdhci_acpi:sdhci_pci:usb_storage:xhci_hcd:uas:xhci_pci:ext2 -u -o /boot/initrd.gz
with the generic-smp and huge-smp kernels.
 
Old 07-05-2020, 12:23 PM   #224
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,932

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
And if it still doesn't work, try this next:
Code:
mkinitrd -k 4.4.14-smp -f ext4 -r /dev/mmcblk0p2 -w 15 -m 8250_dw:8250_fintek:ac:acer_wmi:acpi_pad:acpi_thermal_rel:aes_x86_64:aesni_intel:agpgart:ansi_cprng:arc4:autofs4:battery:bluetooth:bnep:btbcm:btintel:btqca:btrtl:btusb:button:ccm:cfg80211:cmac:coretemp:cqhci:crc16:crc32_pclmul:crc32c_generic:crc32c_intel:crct10dif_pclmul:cryptd:crypto_simd:ctr:drbg:drm:drm_kms_helper:dwc3:ecb:ecdh_generic:evdev:ext4:fjes:fscrypto:fuse:ghash_clmulni_intel:glue_helper:hci_uart:hid:i2c_algo_bit:i2c_core:i2c_designware_core:i2c_designware_pci:i2c_designware_platform:i2c_hid:i2c_i801:i915:iTCO_vendor_support:iTCO_wdt:int3400_thermal:int3403_thermal:int340x_thermal_zone:intel_cstate:intel_int0002_vgpio:intel_powerclamp:intel_rapl:intel_soc_dts_iosf:ip_tables:irqbypass:iwlmvm:iwlwifi:jbd2:joydev:kvm:kvm_intel:loop:lpc_ich:mac80211:mbcache:media:memstick:mfd_core:mmc_block:mmc_core:pcc_cpufreq:pcspkr:pinctrl_cherryview:processor:processor_thermal_device:psmouse:pwm_lpss:pwm_lpss_platform:rfkill:rng_core:rtsx_usb:rtsx_usb_ms:rtsx_usb_sdmmc:scsi_mod:sd_mod:sdhci:sdhci_acpi:sdhci_pci:serio_raw:sg:snd:snd_hda_codec:snd_hda_codec_generic:snd_hda_codec_hdmi:snd_hda_codec_realtek:snd_hda_core:snd_hda_intel:snd_hwdep:snd_pcm:snd_timer:soundcore:sparse_keymap:thermal:tpm:tpm_crb:tpm_tis:tpm_tis_core:uas:usb_common:usb_storage:usbcore:uvcvideo:video:videobuf2_common:videobuf2_memops:videobuf2_v4l2:videobuf2_vmalloc:videodev:wmi:wmi_bmof:x_tables:xhci_hcd:xhci_pci -u -o /boot/initrd.gz
first with the generic-smp kernel and then the huge-smp kernel.
There are two changes here. First, all the modules are listed which lsmod gave you either in debian or in the Slackware installer. Second, I changed ext2 to ext4, because your lsmod in debian listed ext4 and not ext2.
 
Old 07-05-2020, 12:25 PM   #225
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
But I formated in ext2...
 
  


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 03:23 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