LinuxQuestions.org
Visit Jeremy's Blog.
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-10-2018, 08:55 PM   #16
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43

Quote:
Originally Posted by Poprocks View Post
Could you run ls -l in the same directory.
sorry could you please be more specific?
 
Old 07-10-2018, 09:10 PM   #17
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 324

Rep: Reputation: 122Reputation: 122
Code:
cd /boot/efi/EFI/Slackware
ls -la
 
Old 07-10-2018, 09:18 PM   #18
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
Code:
bash-4.3$ cd /boot/efi/EFI/Slackware/
bash-4.3$ ls -la
total 32648
drwxr-xr-x 2 root root    1024 Jul 10 17:05 .
drwxr-xr-x 5 root root    1024 Jul  3 17:07 ..
-rwxr-xr-x 1 root root     468 Jul 10 17:02 elilo.conf
-rwxr-xr-x 1 root root  239720 Apr  1  2016 elilo.efi
-rwxr-xr-x 1 root root 7630144 Jul  9 12:23 vmlinuz
-rwxr-xr-x 1 root root 7630144 Jul 10 01:55 vmlinuz-old
-rwxr-xr-x 1 root root 8962384 Jul 10 17:00 vmlinuz-tv
-rwxr-xr-x 1 root root 8962384 Jul 10 17:01 vmlinuz-tv2
 
Old 07-10-2018, 11:42 PM   #19
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 324

Rep: Reputation: 122Reputation: 122
I honestly don't know, sorry. I don't see anything wrong with your elilo.conf. I feel like something went wrong on the kernel build. Try running "file vmlinuz*" in your /boot/efi/EFI/Slackware directory just to do a sanity check...
 
Old 07-11-2018, 12:00 AM   #20
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
bash-4.3$ cd /boot/efi/EFI/Slackware/
bash-4.3$ file vmlinuz*
vmlinuz: Linux kernel x86 boot executable bzImage, version 4.4.14 (root@hive64) #2 SMP Fri Jun 24 13:38:27 CDT 2016, RO-rootFS, swap_dev 0x7, Normal VGA
vmlinuz-old: Linux kernel x86 boot executable bzImage, version 4.4.14 (root@hive64) #2 SMP Fri Jun 24 13:38:27 CDT 2016, RO-rootFS, swap_dev 0x7, Normal VGA
vmlinuz-tv: Linux kernel x86 boot executable bzImage, version 4.17.2 (root@RoughRider2) #1 SMP Tue Jul 10 15:32:27 CDT 2018, RO-rootFS, swap_dev 0x8, Normal VGA
vmlinuz-tv2: Linux kernel x86 boot executable bzImage, version 4.17.2 (root@RoughRider2) #1 SMP Tue Jul 10 15:32:27 CDT 2018, RO-rootFS, swap_dev 0x8, Normal VGA
bash-4.3$
 
Old 07-11-2018, 12:51 PM   #21
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,631

Rep: Reputation: Disabled
I also think that the issue is rather with you kernel building that with the boot loader.

You can check doing this:
  • Boot with a working (genuine) kernel.
  • Run liloconfig with standard options.
  • Edit /etc/lilo.conf as you did for elilo.conf
  • Set you firmware to boot in legacy mode
  • Check that the alternate kernels work
You can put lilo in the MBR as in UEFI mode it is not used at all, so you should be able to boot in Legacy or UEFI mode as you like.
 
Old 07-11-2018, 02:12 PM   #22
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
I have win10 which if I understand correctly needs uefi bios enabled. I was using legacy mode and had no trouble with kernelwhile legacy bios was enabled.
 
Old 07-11-2018, 02:41 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,631

Rep: Reputation: Disabled
Was it with the same custom kernels?
  • If no, try tentatively to check your custom kernels
  • If yes, try to use grub instead of elilo.
 
Old 07-11-2018, 02:51 PM   #24
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
It was with the same kernel version. I reinstalled slackware and win10 after changing bios to uefi. I used same kernel file and patch. I think I will try grub.
 
Old 07-11-2018, 08:17 PM   #25
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
I installed grub and my kernel seems to be working now. somewhat disappointed elilo didnt work out for me. you guys seem to install kernels so effortlessly with elilo, in fact easier than using legacy bios and lilo though I was well familiar with legacy bios and lilo.
 
Old 07-11-2018, 08:29 PM   #26
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by mrapathy View Post
I installed grub and my kernel seems to be working now. somewhat disappointed elilo didnt work out for me. you guys seem to install kernels so effortlessly with elilo, in fact easier than using legacy bios and lilo though I was well familiar with legacy bios and lilo.
Honestly, I don't very often hear anyone say "GRUB solved my problem." That's good that it works though. I was totally new to elilo when I started using Slackware but I've really come to like it.
 
Old 07-11-2018, 08:33 PM   #27
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 201

Rep: Reputation: 92
This might be a little late but I use this script to update my kernel all I do is feed it kernel version number .Also it replaces the old kernel if you wanted to keep the old one it just needs a little modification..



makeboot.sh :
Code:
cd ~
cd /boot
./mkini.sh $1
echo Made Initrd Moving to EFI Directory
cd /boot/efi/EFI/Slackware/
echo copying vmlinuz-generic-$1
cp /boot/vmlinuz-generic-$1 ./vmlinuz-generic
echo copying new initrd.gz
cp /boot/initrd.gz ./initrd.gz

cd ~
my elilo.conf

Code:
chooser=simple
delay=1
timeout=1
#
image=vmlinuz-generic
        label=vmlinuz-generic
        initrd=initrd.gz
        read-only
        append="root=UUID=dd19f790-27af-44c2-9a29-5ab7bc2cfcbd vga=normal ro"
 
Old 07-11-2018, 08:36 PM   #28
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 185

Rep: Reputation: 92
Your elilo.conf has /dev/sda6 as your root file system. After reinstalling both Window 10 and Slackware are you sure that it still being detected as /dev/sda6. I believe grub uses UUID instead of the kernel name for device naming. I have seen several problems on multiboot system when I don't use persistent device names (i.e UUID) in my elilo.conf file. One of my hopes for Slackware 15 is that they go to persistent device naming in both eliloconfig and fstab.
 
Old 07-11-2018, 09:18 PM   #29
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
My root device is sda6 though maybe UUID use would fix things.

Things are running ok with grub installed now. I got the custom kernel I made to boot.
 
Old 07-11-2018, 11:24 PM   #30
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 218

Original Poster
Rep: Reputation: 43
I managed to find this thread on LQ Slackware section
https://www.linuxquestions.org/quest...mb-4175617952/
elilo does not boot >8mb kernel

I am using Slackware 14.2 and the custom kernel I want to boot are bigger than 8mb. My default kernel is 4.4.14 Huge which is 7.3mb my custom kernel is 8.5mb and 8.6mb

anyone know a fix?
just tried booting generic kernel and it loaded only to give me a kernel panic which is something I havent had before its not great but its progress.
couldnt load vfs on block 8,6

Last edited by mrapathy; 07-11-2018 at 11:58 PM.
 
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
[SOLVED] Updating the Kernel with a UEFI BIOS. cwizardone Slackware 17 08-23-2017 02:00 PM
[SOLVED] bios to uefi BAKABON Debian 4 09-05-2016 10:34 AM
UEFI Bios should upgrading hardware wait? westzilla Linux - Desktop 3 12-06-2012 09:53 PM
Help Creating UEFI A MENU For My Bootable (BIOS/UEFI) CDROM ssenuta Linux - Hardware 0 08-27-2012 10:11 PM
UEFI and BIOS: What is it really? cruiser General 10 09-27-2011 12:18 PM

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

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