LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-14-2019, 05:16 PM   #91
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

yes thats true colorpurple21859, I was just saying if you did want persistence, you know
I noticed too that some distros use syslinux in the efi/boot folder, not grub...have you tried throwing the contents of /boot/syslinux folder into EFI/BOOT folder?
 
Old 07-14-2019, 05:31 PM   #92
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
No you have to use the syslinux.efi which is similar to the grub.efi but works with syslinux setup

https://wiki.syslinux.org/wiki/index.php?title=Install

Last edited by colorpurple21859; 07-14-2019 at 07:24 PM. Reason: syslinux efi info
 
Old 07-14-2019, 05:45 PM   #93
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ok I'll check that out thanks a bunch
 
Old 07-15-2019, 08:52 AM   #94
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
The thing I was wondering, should I chroot into the newly copied over system in order to install eLilo ? Or do it from the system booted from the USB, also I'm not really sure of where I should have my boot set at since it is NVMe+UEFI, my bet would be to have the kernel alongside the boot files in the UEFI partition in the EFI/Slackware folder, but I'm sure of nothing and had no success so far.
 
Old 07-15-2019, 08:58 AM   #95
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I'm working on new iso today with uefi/efi support I hope...
If running from live usb/dvd did you try installing grub/lilo/elilo?
did you open a terminal and type in "pkgtool" and choose rerun slackware scripts then choose lilo/elilo install?
I believe you can also use the slackware dvd current to do same in setup menu
have you made the /etc/lilo.conf as in readme? and /etc/fstab?
thanks for trying it out and helping me too
 
Old 07-15-2019, 09:01 AM   #96
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
Imma try this, and filling Lilo won't do anything as only eLilo is needed.

Also I filled the fstab and I dunno if I should also include the boot partition in it.
 
Old 07-15-2019, 09:05 AM   #97
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
oh when I install linux distros I give each distro it's own partition, no seperate /home /boot etc partitions.
do efi systems make a seperate /boot partition?
if so, copy the boot and EFI folders there and kernel, then do mkinitrd command as in readme to make a hard drive initrd in /boot or EFI/BOOT/
colorpurple21859 has a efi system too so he knows more than me about it...

hopefully I'm helping you lol
 
Old 07-15-2019, 09:12 AM   #98
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
The thing is, UEFI hardware needs a separate UEFI booting partition, to install the bootloader on, since I already have a big one that contains my Win10 installation, it becomes obligatory to use this one in order to properly install the loader, so yeah, a separate /boot is needed on EFI installations, I'm totes new to this too but I know it works that way...

It just tells me no EFI system partition is mounted on /boot/efi, which brings me to the fact I should chroot into the installed system and add the UEFI partiton to the fstab as /boot/efi

Last edited by iNC0GNi70; 07-15-2019 at 09:18 AM.
 
Old 07-15-2019, 09:37 AM   #99
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Quote:
oh when I install linux distros I give each distro it's own partition, no seperate /home /boot etc partitions.
do efi systems make a seperate /boot partition?
On efi systems I do the same thing, no seperate /home /boot etc partitions.
The efi partition can either be mounted manually to /boot/efi before running grub-install, elilo.confg. or have an entry in your fstab to mount the efi partition at boot time to /boot/efi. Elilo requires the elilo.config, kernel and initrd be in the same folder as the elilo.efi bootloader file on the efi partition. Grub just needs the grubx64.64 bootloader file to be on the efi partition. Not sure how syslinux.efi needs to be setup

Note This isn't written in stone as other distros may setup grub-efi differently, fedora based distros are one in that they set up grub efi differently and requires the grub.cfg to be on the efi partition also.

Last edited by colorpurple21859; 07-15-2019 at 09:43 AM.
 
1 members found this post helpful.
Old 07-15-2019, 09:44 AM   #100
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
Now though, is the version of GRUB2 shipped with Slackware_Current compatible with NVMe drives ?
 
Old 07-15-2019, 09:51 AM   #101
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
Quote:
Now though, is the version of GRUB2 shipped with Slackware_Current compatible with NVMe drives ?
I think it is but can't be for sure as I don't have any systems with NVMe drives.
 
Old 07-15-2019, 10:02 AM   #102
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
So, correct me if I'm wrong, I mount the new installation path like this


mount /dev/nvme0n1p5 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys

chroot in it with

chroot /mnt

and then

mount /dev/nvme0n1p1 /boot/efi

And then eliloconfig/grub-install ?
 
Old 07-15-2019, 10:28 AM   #103
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
That should work
 
Old 07-15-2019, 10:34 AM   #104
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
mount /dev/nvme0n1p5 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys

chroot in it with

chroot /mnt /bin/bash
. /etc/profile

I did that, installed grub but the system won't boot.
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
grub-mkconfig -o /boot/grub/grub.cfg
____________________________________________

Imma try with eLilo

Last edited by iNC0GNi70; 07-15-2019 at 10:44 AM.
 
1 members found this post helpful.
Old 07-15-2019, 10:37 AM   #105
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,368

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
are you getting a grub prompt?
in chroot need to run grub-mkconfig -o /boot/grub/grub.cfg

edit try running grub-install like this grub-install --target=x86_64-efi

Last edited by colorpurple21859; 07-15-2019 at 10:44 AM.
 
  


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
Announcing Linux-Live-Kit x86_64 Debian Stretch Live XFCE MultiDistro Remasterable/Persistent HDD/USB linus72 Debian 6 04-22-2019 09:05 PM
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
LXer: G+ "Lets Talk About It" Sunday Featuring Special Guest Dietrich Schmitz LXer Syndicated Linux News 0 04-09-2013 07:30 PM
Script driven Ubuntu 9.10 builds Featuring e17-svn and LXDE ready for download! linus72 Linux - General 38 08-22-2010 04:15 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM

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

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