LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-01-2023, 06:52 PM   #31
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by camorri View Post
Did you install and configure elilo?

Did you install grub?

Have you copied a kernel to /boot/efi/EFI/Slackware ?

If you copied the generic kernel, did you copy the initrd.gz file to the above mentioned directory?
Do I copy bzImage from kernel/huge.s or
huge.s in EFI/boot on the DVD to .../EFI/slackware-15.0?

Last edited by SAJM; 04-01-2023 at 06:56 PM.
 
Old 04-01-2023, 09:19 PM   #32
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
Do I copy bzImage from kernel/huge.s or
huge.s in EFI/boot on the DVD to .../EFI/slackware-15.0?
I believe camorri was referring to the kernels in /boot of the slackware installation not the ones on the DVD if you are using elilo as the bootloader.

Last edited by colorpurple21859; 04-01-2023 at 09:27 PM.
 
Old 04-02-2023, 04:26 AM   #33
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
Hmmm. Let me give you a listing of what a working /boot/efi/EFI/Slackware/ directory has to contain. Here is one from my laptop.
Here is mine

Code:
bash-5.1# ls -l
total 20064
-rwxr-xr-x 1 root root  9328657 Apr  2 09:43 initrd.gz
-rwxr-xr-x 1 root root 11207136 Apr  2 09:41 vmlinuz-huge-5.15.19
bash-5.1#
I cannot find the file elilo.conf

the script:
Code:
bash-5.1# /usr/share/mkinitrd/mkinitrd_command_generator.sh.
bash: /usr/share/mkinitrd/mkinitrd_command_generator.sh.: No such file or directory
also does not seem to generate anything.
 
Old 04-02-2023, 04:28 AM   #34
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Here is
parted -l

Code:
bash-5.1# parted -l
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  525MB   524MB   fat16           sda1  boot, esp
 2      525MB   5894MB  5369MB  linux-swap(v1)  sda2  swap
 3      5894MB  1000GB  994GB   ext4            sda3


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Model: TSSTcorp CDDVDW SU-208DB (scsi)                                    
Disk /dev/sr0: 3781MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      6849kB  12.7MB  5898kB  primary               esp


bash-5.1#
 
Old 04-02-2023, 06:09 AM   #35
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post


This file is read by the boot loader, elilo.efi. This file is also in the /boot directory. If you look in /boot, the file is called elilo-x86_64.efi. On the cp command, you rename it to elilo.efi.
Do I rename the file elilo-x86_64.efi in the /boot directory as well as /EFI/slackware-15.0?

Can I create elilo.conf and copy across your example suitably modified to reflect my system, or is it created by a script?
 
Old 04-02-2023, 07:07 AM   #36
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Do I rename the file elilo-x86_64.efi in the /boot directory as well as /EFI/slackware-15.0?
No need to. The copy in /boot is not used to boot the system. The re-named one in /boot/efi/EFI/Slackware is used to boot the system.

Quote:
Can I create elilo.conf and copy across your example suitably modified to reflect my system, or is it created by a script?
Yes. Keep in mind you only need one kernel configured. Both kernels supplied with Slackware, Generec and huge will boot a system. Generic requires an initrd.gz file and huge; for the most part does not need a initrd.gz file.
 
Old 04-02-2023, 07:20 AM   #37
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Here are the contents of /EFI/slackware-15.0

Code:
bash-5.1# ls -l
total 57088
-rwxr-xr-x 1 root root   216219 Apr  2 11:22 elilo-ia32.efi
-rwxr-xr-x 1 root root      286 Apr  2 13:16 elilo.conf
-rwxr-xr-x 1 root root   238531 Apr  2 11:22 elilo.efi
-rwxr-xr-x 1 root root  9328657 Apr  2 11:22 initrd.gz
-rwxr-xr-x 1 root root 11207136 Apr  2 11:22 vmlinuz
-rwxr-xr-x 1 root root  7495840 Apr  2 11:22 vmlinuz-generic
-rwxr-xr-x 1 root root  7495840 Apr  2 11:22 vmlinuz-generic-5.15.19
-rwxr-xr-x 1 root root 11207136 Apr  2 11:22 vmlinuz-huge
-rwxr-xr-x 1 root root 11207136 Apr  2 11:22 vmlinuz-huge-5.15.19
bash-5.1#
and here is the config.

Code:
bash-5.1# cat elilo.conf
chooser=textmenu
default=Generic
delay=50
timeout=50
prompt
message=textmenu-message.msg

# image=vmlinuz-generic-5.15.19
# label=Generic
# initrd=initrd-6121.gz
# read-only
# append="root=/dev/sda3 vga=normal ro"

image=vmlinuz-huge-5.15.19
label=huge
read-only
append="root=/dev/sda3 vga=791" 
bash-5.1#
Will this work?

Last edited by SAJM; 04-02-2023 at 07:59 AM. Reason: Commented out the unused generic kernel
 
Old 04-02-2023, 09:40 AM   #38
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
image=vmlinuz-generic-5.15.19
# label=Generic
# initrd=initrd-6121.gz
# read-only
# append="root=/dev/sda3 vga=normal ro"
No, it will not work.

The file name of the initrd file is just a name. I suspect you took this from my example. Look in /boot for the name of your file, make sure that file is copied to /boot/efi/EFI/Slackware and the name of your initrd matches the the name in Slackware dir; most likkly it will be initrd.gz.

Also make sure the root dev is correct, /dev/sda3.
 
Old 04-02-2023, 11:16 AM   #39
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Still doesn't boot.
Here is the elilo.conf file:

Code:
chooser=textmenu
default=Generic
delay=50
timeout=50
prompt
message=textmenu-message.msg
image=vmlinuz-huge-5.15.19
label=huge
initrd=initrd.gz
read-only
append="root=/dev/sda1 vga=791"
When I boot up using the DVD to find an OS it displays the following

Code:
(hd0,gpt1)/efi/slackware-15.0/elilo.efi
(hd0,gpt1)/efi/slackware-15.0/elilo-ia32.efi
If I select the 1st line the following is displayed on the screen

Code:
near line 18: default image '' not defined
near line 1: Token is too long
Bad Token from elilo config file, parser read:
 elilo exiting
forced interactive mode due to config file error(s)

ELILO boot: ......................
It never boots and I then select the huge kernel manually
 
Old 04-02-2023, 12:15 PM   #40
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Still doesn't boot.
Here is the elilo.conf file:

Code:
chooser=textmenu
default=Generic
delay=50
timeout=50
prompt
message=textmenu-message.msg
image=vmlinuz-huge-5.15.19
label=huge
initrd=initrd.gz
read-only
append="root=/dev/sda1 vga=791"
When I boot up using the DVD to find an OS it displays the following

Code:
(hd0,gpt1)/efi/slackware-15.0/elilo.efi
(hd0,gpt1)/efi/slackware-15.0/elilo-ia32.efi
If I select the 1st line the following is displayed on the screen

Code:
near line 18: default image '' not defined
near line 1: Token is too long
Bad Token from elilo config file, parser read:
 elilo exiting
forced interactive mode due to config file error(s)

ELILO boot: ......................
It never boots and I then select the huge kernel manually
 
Old 04-02-2023, 12:27 PM   #41
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Should be:
append="root=/dev/sda3 vga=791"
 
Old 04-03-2023, 03:23 AM   #42
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
I got it working.

In the end I ran eliloconfig again.
eliloconfig seems to work differently outside the setup/install enviroment.

I certainly have a lot to absorb and thank you all for your time.
 
Old 04-03-2023, 05:37 AM   #43
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I'm glad you stayed with it, there is a learning curve with Slackware. It get much easier as time passes, and the reward is a very stable system.
 
Old 04-03-2023, 07:55 AM   #44
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
I'm glad you stayed with it, there is a learning curve with Slackware. It get much easier as time passes, and the reward is a very stable system.
One never stops learning!
 
  


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
install canon mg8620 on Toshiba c55 via usb cable running fedora 28 XFCE nix84 Fedora 3 10-20-2019 05:42 PM
Battery always stuck at 100% in a Toshiba C55-B5200 with Deepin 15.4 alucardx_ Linux Deepin 1 08-20-2017 02:17 PM
Centos 6.6 on Toshiba Satellite C55 screen only uses upper left corner laurat Linux - Laptop and Netbook 1 06-25-2015 10:22 PM
[SOLVED] Trying to disable HDD on Toshiba C55-A5126 nix84 Linux - Hardware 6 06-14-2015 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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