Page 1 of 1
[SOLVED] Slint Control Center Quirks
Posted: 4. Nov 2017, 04:47
by Atip
Slint-32bit
Slint Control Center>System>liloconfig>expert>Recycle
This stalls with the following message:
Duplicate entry 'lba32' at or above line 7 in file '/etc/lilo.conf
| |
Sorry, but the attempt to install LILO has returned an error, so LILO has
not been correctly installed.
The control center is placing this line into lilo.conf making it douplicate.
The solution is to delete the line first in lilo.conf.
On multi-boot the directories have to be mounted first,
otherwise the program will stall saying cannot find /dev/sdb*.
That too might have to be corrected.
Re: Slint Control Center Quirks
Posted: 4. Nov 2017, 14:04
by DidierSpaier
I will look at that, but these are a possible issues with liloconfig, certainly not with the Slint Control Center that just runs liloconfig in a terminal. In other words you would get the same behavior starting a terminal, becoming root then running liloconfig.
To try to reproduce I need your partitions' layout and usage, so please give the output of:
lsblk -o name,size,fstype,mountpoint
cat /etc/fstab
cat /etc/lilo.conf
And tell us what is the root directory of each system, and on which one you run liloconfig.
Re: Slint Control Center Quirks
Posted: 5. Nov 2017, 03:40
by Atip
NOW I JUST FOUND THIS PROBLEM IS ONLY IN SLINT,
if I run lilo from a terminal it does the same making a duplicate of line 7 in lilo.conf.
I booted into Salix-14.2 and Slackel-openbox. Run lilo und no such problem.
All have the same lilo version: LILO version 24.2 (released 22-November-2015)
It is from those 2 boxes that I normally do lilo.
This was the first time I run lilo in Slint.
All boxes have the same /etc/lilo.conf and similar /etc/fstab adjusted as to which is root.
The outputs on next post are from Slint.
Re: Slint Control Center Quirks
Posted: 5. Nov 2017, 03:50
by Atip
Code: Select all
lsblk -o name,size,fstype,mountpoint
NAME SIZE FSTYPE MOUNTPOINT
sda 74.5G
|-sda1 22.5M ext3
|-sda2 23.5M ext2
|-sda3 1K
|-sda5 34.2G ext4
|-sda6 15.6G ext4
`-sda7 24.7G ext4
sdb 465.8G
|-sdb1 1K
|-sdb2 78.3G ext4
|-sdb3 117.3G ext4 /
|-sdb4 58.9G ext4
|-sdb5 75G ext4
|-sdb6 40G ext4
`-sdb7 35G ext4
sr0 1024M
Code: Select all
cat /etc/fstab
/dev/sdb3 / ext4 defaults 1 1
/dev/sdb5 /mnt/Sdb5 ext4 defaults,noauto 0 0
/dev/sdb7 /mnt/Sdb7 ext4 defaults,noauto 0 0
/dev/sdb2 /mnt/Sdb2 ext4 defaults,noauto 0 0
/dev/sdb4 /mnt/Sdb4 ext4 defaults,noauto 0 0
/dev/sda5 /mnt/Sda5 ext4 defaults,noauto 0 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Code: Select all
cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/sdb
compact # faster, but won't work on all systems.
# disk = /dev/sdb
# bios = 0x81
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/salix.bmp
default = Slint32-Sdb3
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,20,255,20,255,20
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,29,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Append any additional kernel parameters:
append="quiet vt.default_utf8=1"
prompt
timeout = 50
# VESA framebuffer console @ 1280x1024x64k
vga = 791
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sdb3
label = Slint32-Sdb3
read-only # Partitions should be mounted read-only for checking
image = /mnt/Sdb7/boot/vmlinuz
root = /dev/sdb7
label = Salix-Sdb7
read-only
image = /mnt/Sdb2/boot/vmlinuz
root = /dev/sdb2
label = Slackel-Sdb2
read-only
image = /mnt/Sda5/boot/vmlinuz
root = /dev/sda5
label = SLint64-Sda5
read-only
# Linux bootable partition config ends
Re: [SOLVED] Slint Control Center Quirks
Posted: 6. Nov 2017, 03:00
by Atip
Solved the problem.
Copied /mnt/Sdb7/sbin/liloconfig to Slint /sbin.
Re: [SOLVED] Slint Control Center Quirks
Posted: 6. Nov 2017, 07:17
by DidierSpaier
Atip wrote:Solved the problem.
Copied /mnt/Sdb7/sbin/liloconfig to Slint /sbin.
Actually it rather confirms the problem.
Solving it is in my todo list, but right now I need to concentrate on the preparation of upcoming Slint64-14.2.1.
Thanks for your report.