Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-27-2019, 09:45 PM
|
#61
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
did you try the linux /boot/vmlinuz root=PARTUUID=<some number> as per post 57
you can try it on any of the slackware entries that doesn't have generic in it.
|
|
|
10-28-2019, 07:02 AM
|
#62
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Dang, UEFI someone showed a example on that one.
2. this is why I personally would create bunch of them in my 40_config.
you can do an list of them in different syntax.
searching "40_custom and uefi boot linux distros"
here says,
https://www.zdnet.com/article/hands-...i-boot-part-2/
Code:
insmod part_gpt
insmod ext2
set root="hd0,gpt3"
linuxefi /boot/vmlinuz
initrdefi /boot/initrd
see how they are written different, adding efi ?
Have you tried going into the EFI dir in boot then fixing slacks file names and where they are located so it gets pick up like it should?
Last edited by BW-userx; 10-28-2019 at 07:05 AM.
|
|
|
10-28-2019, 02:32 PM
|
#63
|
Member
Registered: Aug 2019
Posts: 92
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
Dang, UEFI someone showed a example on that one.
2. this is why I personally would create bunch of them in my 40_config.
you can do an list of them in different syntax.
searching "40_custom and uefi boot linux distros"
here says,
https://www.zdnet.com/article/hands-...i-boot-part-2/
Code:
insmod part_gpt
insmod ext2
set root="hd0,gpt3"
linuxefi /boot/vmlinuz
initrdefi /boot/initrd
see how they are written different, adding efi ?
Have you tried going into the EFI dir in boot then fixing slacks file names and where they are located so it gets pick up like it should?
|
Not entirely sure what "going into the EFI dir in boot then fixing slacks file names and where they are located so it gets pick up like it should" means but I'm trying my best to keep up with all this new knowledge, lol. I did try the code you recommended and ended up with the pics I've inserted below.
|
|
|
10-28-2019, 02:36 PM
|
#64
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by nohopeforme
Not entirely sure what "going into the EFI dir in boot then fixing slacks file names and where they are located so it gets pick up like it should" means but I'm trying my best to keep up with all this new knowledge, lol. I did try the code you recommended and ended up with the pics I've inserted below.
|
for efi you have to have a boot partition, mount that and start investigating the file structure to find slacks files.
|
|
|
10-28-2019, 02:50 PM
|
#65
|
Member
Registered: Aug 2019
Posts: 92
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
for efi you have to have a boot partition, mount that and start investigating the file structure to find slacks files.
|
ok, I'm adding 2 pics. One pic is my installed ubuntu /boot directory. The other is my slack /boot directory. I remember reading somewhere about the BOOTX64.EFI file but I'm not even sure if it applies here or not...probably not :-/
|
|
|
10-28-2019, 03:08 PM
|
#66
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by nohopeforme
ok, I'm adding 2 pics. One pic is my installed ubuntu /boot directory. The other is my slack /boot directory. I remember reading somewhere about the BOOTX64.EFI file but I'm not even sure if it applies here or not...probably not :-/
|
from that link I posted
Code:
Copy the BOOTX64.EFI in the boot folder to a backup then
the grubx64.efi to replace the BOOTX64.EFI renaming it
to that. This should automatically load the grub loader
when the machine starts.
https://www.linuxquestions.org/quest...ll-4175646360/
|
|
|
10-28-2019, 03:42 PM
|
#67
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
What is all this about efi files, I'm missing something? The op is getting a grub menu, has a slackware menu entry, gets a kernel panic when the slackware kernel boots.
|
|
|
10-28-2019, 03:58 PM
|
#68
|
Member
Registered: Aug 2019
Posts: 92
Original Poster
Rep: 
|
Quote:
Originally Posted by colorpurple21859
What is all this about efi files, I'm missing something? The op is getting a grub menu, has a slackware menu entry, gets a kernel panic when the slackware kernel boots.
|
That's what I'm sayin, lol. I realize I'm no guru but it would seem to me that all the ingredients in the recipe are there :-/
|
|
|
10-28-2019, 04:01 PM
|
#69
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
if he as I am under the assumption that OP installed slack UEFI as Ubututu is efi??? windows efi?? so.... and he too shows an efi boot partition.
to 40_custom was to bypass the efi??? to my assumption that is not working, and I've been trying to get the efi thing a try back in a prior post(s).
all it takes is a renaming of slacks files ,and maybe moving them into EFI or efi. I forget it has been years since I've tried efi with slack.
OP might also be able to copy over the files from an install usb stick. but that would be me figuring it out on the fly. aka trouble shooting it until I get it to work.
that is if by chance slack did not get installed as UEFI on a UEFI partition table (GPT).
Last edited by BW-userx; 10-28-2019 at 04:10 PM.
|
|
|
10-28-2019, 04:10 PM
|
#70
|
Member
Registered: Aug 2019
Posts: 92
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
if he as I am under the assumption that OP installed slack UEFI as Ubututu is efi??? windows efi?? so.... and he too shows an efi boot partition.
to 40_custom was to bypass the efi??? to my assumption that is not working, and I've been trying to get the efi thing a try back in a prior post(s).
all it takes is a renaming of slacks files ,and maybe moving them into EFI or efi. I forget it has been years since I've tried efi with slack.
|
I really am tryin, lol. This drive has nothing but ubuntu installed and slack almost installed. No windows of any kind and I *do* have an /boot/efi partition. So, since I'm running ubuntu and ubuntu only, I'm assuming it's an efi install.
|
|
|
10-28-2019, 04:17 PM
|
#71
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
|
|
|
10-28-2019, 05:04 PM
|
#72
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
The op is using ubuntu grub to boot slackware. There was no bootloader installed when slackware was installed. If ubuntu grub is booting in efi mode, The slackware installation will be booting in efi mode if booted from ubuntu grub.
to the op the error in post 63
Code:
disk 'hd2,gpt3' not found
did you have a usb drive plugged in again?
When you first install slackware, did you have any problems booting the slackware install usb/dvd or problems during the installation of slackware, other than you didn't install elilo or lilo?
Last edited by colorpurple21859; 10-28-2019 at 05:11 PM.
|
|
|
10-28-2019, 05:15 PM
|
#73
|
Member
Registered: Aug 2019
Posts: 92
Original Poster
Rep: 
|
Quote:
Originally Posted by colorpurple21859
The op is using ubuntu grub to boot slackware. There was no bootloader installed when slackware was installed. If ubuntu grub is booting in efi mode, The slackware installation will be booting in efi mode if booted from ubuntu grub.
to the op the error in post 63 disk
Code:
'hd2,gpt3' not found
did you have a usb drive plugged in again?
When you first install slackware, did you have any problems booting the slackware install usb/dvd or problems during the installation of slackware, other than you didn't install elilo or lilo?
|
No usb drives plugged in. As far as I could tell, the installation went fine (produced no errors that I saw). I read that if secure boot is set in my bios, that slack won't work, but I've been all through my bios countless times and see no options for disabling/enabling secure boot. I don't *think* that's an issue because I don't *think* the boot process would advance as much as it has if secure boot was an issue. Then again, I'm definitely a fish outta water here.
|
|
|
10-28-2019, 05:33 PM
|
#74
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
No slackware won't boot if secure boot is enabled in efi mode, don't know about in legacy mode.
boot your slackware install usb
post the output of the following
Code:
fdisk -l
cat: /sys/firmware/efi/efivars:
not all efi bios are the same, but just check it out on my system, when legacy mode is enabled, secure boot is automatically disabled
Last edited by colorpurple21859; 10-28-2019 at 05:56 PM.
|
|
|
10-28-2019, 07:27 PM
|
#75
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
thanks for the refresher....
I have no idea, I'd suggest a reinstall, and have that BIOS set to efi no CMS and have Slackware install elio
then hopefully you will at least be able to get to it via your BIOS loot list. if it is anything like mine. that is.
(your boot/ is already set up so slack should see it, provided you're booting with your BIOS uefi mode only. no cms
therefore Slackware will install its elilo in /EFI/Slackware
Last edited by BW-userx; 10-28-2019 at 07:37 PM.
|
|
|
All times are GMT -5. The time now is 09:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|