LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2019, 04:09 AM   #16
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
post your /etc/fstab, elilo.config and the output of
Code:
 blkid
parted -l
I found something interesting:

Error: /dev/mmcblk0boot0: unrecognised disk label

Error: /dev/mmcblk0boot1: unrecognised disk label
 
Old 07-05-2019, 09:18 PM   #17
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,114

Rep: Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512
I think your missing a driver in your mkinitrd.gz. from the installer lsmod may clue you in on what driver is missing then chroot into your system and rerun mkinitrd to include the needed driver
 
Old 07-06-2019, 03:28 PM   #18
toodr
Member
 
Registered: Jul 2004
Location: Haskovo, Bulgaria
Distribution: Slackware64-current
Posts: 51

Rep: Reputation: 12
I had a similar situation like yours with a Dell laptop, which had almost identical hardware (32 GB eMMC).
And I had to figure out what drivers to include in the initrd.gz. That was the difficult part of it, because
I did't have a clue as to what modules did what in this laptop. After a lot of trying and errors this is what
my /etc/mkinitrd.conf looks like:

Code:
#
SOURCE_TREE="/boot/initrd-tree"
CLEAR_TREE="1"
OUTPUT_IMAGE="/boot/initrd.gz"
KERNEL_VERSION="4.19.56"
#KEYMAP="us"
MODULE_LIST="ext4:fuse:fat:vfat:mmc_core:mmc_block:pinctrl_cherryview:sdhci:sdhci_acpi:xhci_hcd:xhci_pci:usb_storage:uas"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
ROOTDEV="/dev/mmcblk0p3"
ROOTFS="ext4"
RESUMEDEV="/dev/mmcblk0p2"
UDEV="1"
#MODCONF="0"
#RAID="0"
#WAIT="1"

To do the next steps, it is best to boot from a live media (CD,USB) and chroot into the system. Like this:
Code:
mount -t ext4 /dev/your_systemPartition_maybe_mmcblk0p3 /mnt
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /dev /mnt/dev

chroot /mnt /bin/bash
mkdir -p /boot/efi
mount -t vfat /dev/mmcblk0p1 /boot/efi
Ajust yours mkinitrd.conf to include the lines from the example mkinitrd.conf, and then run:

Code:
mkinitrd -F
as root. And then copy as root
/boot/initrd.gz to /boot/efi/EFI/Boot/initrd.img (or this location may vary, depending where your elilo instalation is configured to look for this file)
and
/boot/vmlinuz-generic-4.19.56 to /boot/efi/EFI/Boot/vmlinuz-generic (or the generic kernel that initrd.gz was derived from and you are going to use on your system)

And my /boot/efi/EFI/Boot/elilo.conf looks like this:

Code:
# Linux bootable partition config begins 
prompt
timeout=600
default=Linux

image=vmlinuz-generic
  label=Linux
  initrd=initrd.img
  append="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=vmlinuz-generic"
# Linux bootable partition config ends
Then you can reboot the system.
 
1 members found this post helpful.
  


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
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM
Encrypted Reiserfs Fails to Mount -- Reiserfsck Fails as Well antic Linux - Hardware 0 07-30-2004 04:32 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM

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

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