Salix 15 Alpha 1 issues/feedback

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
EricC
Posts: 79
Joined: 24. Sep 2009, 02:11
Location: Under an overpass in a shipping crate

Salix 15 Alpha 1 issues/feedback

Post by EricC »

I have started testing alpha 1 in VMware Workstation 16.2.3 and Hyper-V on W10 21H2.

For both hypervisors (set to boot UEFI), I am unable to install alpha 1.

Steps:

1. Boot VMs and select English (USA in this case) and hit enter.

Resulting messages:

1. VMware Workstation provides the not so helpful: Not Found

2. Hyper-V provides: elilo.c (line 77):Kernel file not found bzImage
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix 15 Alpha 1 issues/feedback

Post by djemos »

Report from testing salix15-alpha
test made in VMware Workstation 16.2.3
1. I could not boot in UEFI. After boot choosing any language i was getting the message not found, EFI network. It seems it could not find from where to boot.
2. Then booting in bios mode. I choose Greek language. Installation went fine until i choose to set local clock. Then i get a message about libunrar.so
But everything else went fine and installation finished.

3. Rebooted and connected with the user i have created at installation time. I tested all apps. All run, except gtkclocksetup
Running from terminal to see why is not open i got this message
Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 99, in utcstate
f = open('/etc/hardwareclock', 'r')
FileNotFoundError: [Errno 2] Δεν υπάρχει τέτοιο αρχείο ή κατάλογος: '/etc/hardwareclock'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 322, in <module>
app = GTKClockSetup()
File "/usr/sbin/gtkclocksetup", line 296, in __init__
self.utccheckbutton.set_active(utcstate())
File "/usr/sbin/gtkclocksetup", line 112, in utcstate
setutc(False)
File "/usr/sbin/gtkclocksetup", line 117, in setutc
f = file('/etc/hardwareclock', 'w')
NameError: name 'file' is not defined
And there is no /etc/hardwareclock file. It is not gtkclocksetup problem but it is because there is no hardwareclock file.

4. trying to play a video from youtube. It was playing but no sound. I set sound volume but no sound again. Maybe it is vmware problem.

5. Next tried to investigate the message about libunrar.so at installation time.
typing in terminal ldconfig i get
ldconfig: Cannot mmap file /usr/lib64/libunrar.so.6.

ldconfig: Cannot mmap file /usr/lib64/libunrar.so.6.1.

ldconfig: Cannot mmap file /usr/lib64/libunrar.so
I even recompiled unrur and also compiled a new version unrar-6.1.6 but again i get the same message.
Note: I get the same message when also reinstalling the package or when upgraded to new package i have build.

6. Network is working and i could connect to other shares i had and transfer files.
User avatar
EricC
Posts: 79
Joined: 24. Sep 2009, 02:11
Location: Under an overpass in a shipping crate

Re: Salix 15 Alpha 1 issues/feedback

Post by EricC »

Yay, it's at least not just me with the UEFI issues :D

I just did a minimal install in BIOS mode that succeeded on VMware Workstation (Hyper-V will come later). I also saw the unrar message but like you everything else went fine and the install finished.

I can verify #4 with VMware.
Image
hugok
Posts: 373
Joined: 7. Dec 2011, 22:44
Location: Portugal
Contact:

Re: Salix 15 Alpha 1 issues/feedback

Post by hugok »

No Portuguese or Portuguese (Portugal) language option in the installer...

Portuguese (pt, pt_PT) translation is 100% done.
https://www.transifex.com/gapan/
Hugo Carvalho
Portuguese translator

https://github.com/hugok79
User avatar
EricC
Posts: 79
Joined: 24. Sep 2009, 02:11
Location: Under an overpass in a shipping crate

Re: Salix 15 Alpha 1 issues/feedback

Post by EricC »

More install testing.

Hyper-V - BIOS (Gen1 VM)
-Booting from the alpha1 ISO, Salix could not find the hard disk. So I booted the VM with the Slackwarwe 15 ISO and Slackware was able to find the disk. Playing around, I made a copy of the alpha1 ISO. With this new ISO, I removed the Salix bzImage, config, and System.map.gz files from /kernels/huge.s and replaced them with equivalent files from the Slackware 15 ISO. I booted the VM with the new ISO and the Salix installer was able to see disk.


VMware-UEFI/Hyper-V UEFI (Gen2 VM)
-Thought I would see if the modified ISO from above would make a difference for the test UEFI Salix VMs. The answer is no :D
Image
jsalpha2
Posts: 21
Joined: 23. Jul 2013, 22:38

Re: Salix 15 Alpha 1 issues/feedback

Post by jsalpha2 »

Installed in Virtualbox when I was half asleep. Just went back and checked. No sound here too. Hope it is an easy fi.
User avatar
EricC
Posts: 79
Joined: 24. Sep 2009, 02:11
Location: Under an overpass in a shipping crate

Re: Salix 15 Alpha 1 issues/feedback

Post by EricC »

Using a minimal install and full install

Settings -> Appearance -> Icons

There is a warning symbol to the right of the icon theme names.

The warning message: "This icon theme has no cache file. You can create this..."
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix 15 Alpha 1 issues/feedback

Post by mimosa »

It also won't boot in my pre-EFI laptop, which must be about ten years old.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix 15 Alpha 1 issues/feedback

Post by djemos »

salix-15-alpha not booting in UEFI SOLVED.
I was examined all menus in elilo.conf and path from where load bzImage. I could not find the problem. Because i use in slackel also elilo for live iso to boot in UEFI, finally i had to mount efiboot.img to see the contents of the efiboot.img and there i saw the problem. efiboot.img must have also the bzImage and initrd.img which are missing so the message elilo.c:77 cannot find bzImage
Since we will add the two files have to recreate the efiboot.img with at least 70MB because default 30 are not enough to hold the files.
1.Copy the contents of iso to a folder

Code: Select all

mkdir -p /tmp/newiso/iso
sudo mount -o loop salix-xfce-15.0alpha1.iso /mnt/floppy
cp -R /mnt/floppy/* /mnt/newiso/iso
sudo umount /mnt/floppy
2. Create new efiboot.img

Code: Select all

sudo dd if=/dev/zero of=/tmp/efiboot.img bs=1M count=70
sudo mkdosfs -n "EFIBOOT" /tmp/efiboot.img
sudo mount -o loop /tmp/efiboot.img /mnt/floppy
sudo mkdir -p /mnt/floppy/EFI/BOOT
sudo cp /tmp/newiso/iso/EFI/BOOT/* /mnt/floppy/EFI/BOOT
sudo umount /mnt/floppy
3. Copy the new efiboot.img to the iso

Code: Select all

cp /tmp/efiboot.img /tmp/newiso/iso/isolinux/efiboot.img
cd /tmp/newiso

and recreate the iso.
copy these contents in a newiso.sh file

Code: Select all

#!/bin/bash

edition=xfce
ver=15.0alpha2
arch=x86_64

ISOHYBRID_MBR=/usr/share/syslinux/isohdpfx.bin
unset LIBDIRSUFFIX
unset MKISOFS_EFI_OPTS
unset ISOHYBRID_EFI_OPTS
if [ "$arch" = "x86_64" ]; then
	export LIBDIRSUFFIX="64"
	EFIOPTIONS="-eltorito-alt-boot -e isolinux/efiboot.img"
fi

(
  cd iso
  xorriso -as mkisofs \
    -iso-level 3 \
    -full-iso9660-filenames \
    -R -J -A "Salix${LIBDIRSUFFIX} Install" \
    -hide-rr-moved \
    -v -d -N \
    -eltorito-boot isolinux/isolinux.bin \
    -eltorito-catalog isolinux/boot.cat \
    -no-emul-boot -boot-load-size 4 -boot-info-table \
    -isohybrid-mbr $ISOHYBRID_MBR \
    $EFIOPTIONS -no-emul-boot -isohybrid-gpt-basdat \
    -output ../salix${LIBDIRSUFFIX}-${edition}-${ver}.iso \
    .
)

# Distrowatch like to have this easily accessible
cp iso/PACKAGELIST salix${LIBDIRSUFFIX}-${edition}-${ver}.pkglist
and type

Code: Select all

sh newiso.sh
then boot with new iso in uefi.

new efiboot.img https://people.salixos.org/djemos/salix ... fiboot.img
User avatar
gapan
Salix Wizard
Posts: 6236
Joined: 6. Jun 2009, 17:40

Re: Salix 15 Alpha 1 issues/feedback

Post by gapan »

Hi everyone, many thanks for testing!

I think I know what the UEFI booting problem is. I think we've had the exact same issue with an early 14.2alpha release, but it's been so much time since then, I just forgot about it and repeated the same mistake. :oops: On my hardware and in virtualbox it works. But not all UEFI implementations are the same, so it's probably that the kernel needs to be within efiboot.img too. More specifically reverting the changes to lines 72 and 75 in this commit would probably fix it: https://github.com/gapan/iso-creation/c ... b62d92cf6b

I might also switch to grub, which seems to work without needing to do that.

The libunrar thing was a packaging error on my part. It is now fixed in the updated unrar packages in the repos.

I'll take a look at the gtkclocksetup and all other issues that have been reported. Thanks again!
Image
Image
Post Reply