SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
elilo is for an efi system you have a legacy system, use lilo or grub, in your case dont' install a bootloader in slackware use debians grub to boot slackware.
boot debian copy debians /etc/resolv.conf to slackware /etc/resolv.conf
chroot into slackware
edit /etc/slackpkg/mirrors remove the # sign from the mirror you want to use
update your system with
Code:
slackpkg update
slackpkg upgrade kernel
This being a new system, at the prompt for new configuration file select O to overwrite old files.
Well, perhaps I am making a mistake. I was guided by this page, under "Slackware install and chrooting into the live system". The crucial question is: are elilo and legacy mode compatible?
Instead of saying 'maybe I am wrong', why don't you go into the bios to check whether or not you are using legacy mode or uefi? - that would save a lot of guesswork for all the folks wanting to help you.
If it is infact uefi (which I believe) - then there is no way I am able to help you. As I said in a post above, I use legacy mode on all my rigs and even legacy grub.
There is no efi partition, sda1 is an ntfs partition, efi partitions are fat filesystem.
stf92 run
Code:
cat /sys/firmware/efi
if the you get no directory your booting in legacy mode.
post
Code:
parted -l
\
on a side note once a grub menu is reached efi or legacy is immaterial, to be able to boot into a system, it is all correct kernel options, initrd, config files.
Last edited by colorpurple21859; 07-03-2020 at 07:19 PM.
Instead of saying 'maybe I am wrong', why don't you go into the bios to check whether or not you are using legacy mode or uefi? - that would save a lot of guesswork for all the folks wanting to help you.
If it is infact uefi (which I believe) - then there is no way I am able to help you. As I said in a post above, I use legacy mode on all my rigs and even legacy grub.
When I began to look for linux distros to install on this machine (it had only windows 10 occupying the whole eMMC and there was no way to stop it making updates which would soon leave no room for my own files; the eMMC is only 32GB in size), between the several ones I tried, I found only arch and debian understood the machine. What is more, I only could installed them by setting the BIOS/UEFI to legacy mode. Perhaps there is a way to make Debian work with UEFI but, for the moment, lets assume the machine is in legacy mode, which it is.
based on the lsmod I made and suggested by colorpurple21859. And this is grub.cfg:
Code:
root@darkstar:/boot/grub# cat grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
insmod png
if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
echo 'Loading Linux 4.19.0-8-amd64 ...'
linux /boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro edd=off noapic i8042.nopnp quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.19.0-8-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-advanced-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
echo 'Loading Linux 4.19.0-8-amd64 ...'
linux /boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro edd=off noapic i8042.nopnp quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.19.0-8-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-recovery-3b7be193-a2fd-4b48-8d07-bd2311b0f5ba' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
else
search --no-floppy --fs-uuid --set=root 3b7be193-a2fd-4b48-8d07-bd2311b0f5ba
fi
echo 'Loading Linux 4.19.0-8-amd64 ...'
linux /boot/vmlinuz-4.19.0-8-amd64 root=UUID=3b7be193-a2fd-4b48-8d07-bd2311b0f5ba ro single edd=off noapic i8042.nopnp
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.19.0-8-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### 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 'osprober-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-huge-smp-4.4.14-smp root=/dev/mmcblk0p2 noapic edd=off rootdelay=15
initrd=/boot/initrd.gz
}
submenu 'Advanced options for Slackware 14.2 (on /dev/mmcblk0p2)' $menuentry_id_option 'osprober-gnulinux-advanced-2d63e598-b1b4-4e32-a781-9fe9ceae2c11' {
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--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-4.4.14 root=/dev/mmcblk0p2
}
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-smp-4.4.14-smp--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
}
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--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-huge-4.4.14 root=/dev/mmcblk0p2
}
menuentry 'Slackware 14.2 (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-smp-4.4.14-smp--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-huge-smp-4.4.14-smp root=/dev/mmcblk0p2
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
root@darkstar:/boot/grub#
I'm sorry for being stooopid, but ... you have a 32-gig disk and are trying to squeeze _3_ distros onto it??
Only two: debian and slackware, 16GB for each. I managed, until now, with 16GB for debian and 16GB for personal data. I moved the data to a usb stick to make room for slacware. When slackware is finally installed i'll discard debian and restore the data to its partition. I always, on desktop machines, managed with 20GB for slackware. 14.2 takes less than 10GB.
try booting one of the kernels in the submenu of slackware, at the menu you will have to edit to add the initrd /boot/initrd.gz line
I edited my post 76 to only upgrade the kernel, maybe a newer kernel will fix it.
Last edited by colorpurple21859; 07-03-2020 at 08:41 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.