LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-27-2019, 09:45 PM   #61
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683

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.
 
Old 10-28-2019, 07:02 AM   #62
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
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.
 
Old 10-28-2019, 02:32 PM   #63
nohopeforme
Member
 
Registered: Aug 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
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.
Attached Thumbnails
Click image for larger version

Name:	efi-linux-edit.jpg
Views:	22
Size:	51.4 KB
ID:	31688   Click image for larger version

Name:	efi-linux-error.jpg
Views:	19
Size:	52.5 KB
ID:	31689  
 
Old 10-28-2019, 02:36 PM   #64
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by nohopeforme View Post
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.
 
Old 10-28-2019, 02:50 PM   #65
nohopeforme
Member
 
Registered: Aug 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
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 :-/
Attached Thumbnails
Click image for larger version

Name:	BOOTX64.EFI.jpg
Views:	18
Size:	180.6 KB
ID:	31690   Click image for larger version

Name:	slackboot-dir.jpg
Views:	18
Size:	219.0 KB
ID:	31691  
 
Old 10-28-2019, 03:08 PM   #66
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by nohopeforme View Post
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/
 
Old 10-28-2019, 03:42 PM   #67
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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.
 
Old 10-28-2019, 03:58 PM   #68
nohopeforme
Member
 
Registered: Aug 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
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 :-/
 
Old 10-28-2019, 04:01 PM   #69
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
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.
 
Old 10-28-2019, 04:10 PM   #70
nohopeforme
Member
 
Registered: Aug 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
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.
Attached Thumbnails
Click image for larger version

Name:	boot-efi.png
Views:	12
Size:	60.5 KB
ID:	31692  
 
Old 10-28-2019, 04:17 PM   #71
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
1. https://www.youtube.com/watch?v=1-kzq6XRzrc
2. https://www.youtube.com/watch?v=2TcTfRIhu8Q
3. https://www.youtube.com/watch?v=kBIWSEoWIkw

Slackware uefi youtube vids, I have no idea how much they may help you.

(pdf) slack uefi

http://slackware.osuosl.org/slackware64/README_UEFI.TXT
 
Old 10-28-2019, 05:04 PM   #72
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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.
 
Old 10-28-2019, 05:15 PM   #73
nohopeforme
Member
 
Registered: Aug 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
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.
 
Old 10-28-2019, 05:33 PM   #74
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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.
 
Old 10-28-2019, 07:27 PM   #75
BW-userx
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

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
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.
 
  


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
Are people really so vain? hazel General 27 05-03-2018 04:54 PM
Error msg on trying to install Ubuntu 10.4 alongside Windows ZombyWoof Ubuntu 2 01-28-2011 05:00 AM
Tried but in vain to list contents of a directory rs_vijay Programming 3 01-17-2007 03:59 PM
Trying in vain to netinstall linux clavin42 Linux - Software 5 02-09-2006 06:01 PM
Ubuntu: GCC, PPPOE, and vain attempts to connect to the internet trevorv Linux - Newbie 11 02-04-2005 07:57 PM

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

All times are GMT -5. The time now is 09:24 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
Open Source Consulting | Domain Registration