The officially official Devuan Forum!

You are not logged in.

#601 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-08 08:02:08

Thanks. yes that's good confirmation.

The USB problem case came up because the "installer pre-boot" (on those isos) is insufficiently stocked with kernel modules, so it fails to operate that device to find the "actual installer". The onwards iso building is revised to comprehensively include all (current) block device options.

#602 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-08 04:26:44

Ok, yes that would be the isolinux (syslinux) menu. That boot case is supposedly the same for the daedalus iso although the actual boot menu is slightly different.

But it also depends on whether the legacy bios sees the USB as a cdrom at /dev/sdX or as a bootable partition at /dev/sdX1. There is then a slight difference between the chimaera and daedalus isos in  that the type code for the first partition is 0x00 (Empty) for the chimaera iso and 0x11 (Hidden..) for the daedalus iso. Possibly that difference is what causes your bios to treat them differently.

The upcoming rc4 will be "corrected" to use 0x00 as type code, and in addition include further changes towards handling Andre's use case.

#603 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-08 00:43:21

@sgage thanks for those.

It's quite peculiar that the chimaera and daedalus isos have different legacy boot behaviour since they supposedly are the same for legacy boot.

They do differ in UEFI boot loading where chimaera iso has grub whereas daedalus iso has syslinux.

Or, does the working chimaera iso come up as a grub boot menu for you?

#604 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-07 23:13:12

@Andre4freedom before we close of "missing module" as reason, would you mind posting output of lspci -v from your Alma-linux. (That should tell explicitly which modul(s) are in use).

EDIT: actually, now I realize the installer pre-boot doesn't have ehci-pci (nor ohci-pci) which I think means it doesn't support USB2 or USB1. That's not ideal. Looks like there is an rc4 coming up shortly for that...

#605 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-07 22:31:01

Peculiar.
Would you mind booting up chimaera and show both ls -l /dev/ and lsmod from there?

#606 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-07 20:55:59

I assume you still see the bootloader menu?
If so, try by pushing TAB, then remove "nomodeset" and then push ENTER... does that start up the installer?

If you don't seen the bootloader menu then the problem is at the ISO format level. That's a bit harder to debug.
Does chimaera netinstall work for you?

Note: the dd command of post#4 above is typically good, though I think there might be bogus variants of dd on some (non-linux) platforms.

#607 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-07 10:36:29

Thanks!
Evidently the installer pre-boot is missing the scsi block device support.
There will be an rc3 drop shortly without that problem.

#608 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-07 00:08:38

Thanks. Good information showing "normal" hardware, but I need more smile

In summary it seems that machine is able to load the pre-boot system if booted in UEFI mode, but not if booted in legacy mode. (is that correct? or does the installer start equivalently in legacy mode?)

One of possible reasons for such an outcome is if the USB stick requires a kernel module (device driver) that is missing from from the pre-boot system, and that is the information I am looking for.

For example, what does the Alma-linux system log say when the USB stick is inserted? Which kernel modules get loaded?.

#609 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-06 11:14:21

Yes I'll deal with reporting.

Which hardware is this?

EDIT:  Also, in the emergency shell: run "fdisk -l" and capture that output (too).

#610 Re: Installation » [SOLVED] Problems booting USB made from devuan_daedalus_5.0.0-rc2_amd64_* » 2023-07-06 09:49:29

Quite possibly we could turn this into a useful bug report; just describe in some detail which media you used and how did you prepare that? A memory stick or an actual CD? I assume you verified the sha256sum, but it's good if you confirm that.

EDIT: I seem to have ignored the title.. a USB would be a memory stick...

So how did you prepare it?

Could you run again and use the emergency shell to report the output from ls -l /dev

If you can install another USB stick, you could mount that and then copy /var/log/syslog to it, and put that into a code block of a post here.

#611 Re: Installation » [SOLVED] No wifi on Acer Aspire 3 » 2023-07-02 21:07:22

Sorry, I only use traditional ifupdown for my networking, and since you mentioned editing /etc/network/interfaces I thought you did the same.

By the looks of it the kernel recognizes the hardware. I would have thought the boot-up log would mention that hardware and which firmware gets loaded. At least there should be some mt7663* module loaded. You may check that with lsmod.

Surely someone that uses NetworkManager may have further ideas.

#612 Re: Installation » [SOLVED] No wifi on Acer Aspire 3 » 2023-07-02 13:36:42

what's the output of

# rfkill

(install it if you don't have it)

#613 Re: Installation » [SOLVED] No wifi on Acer Aspire 3 » 2023-07-01 22:57:40

I guess for an mt7663 you'll need to install firmware-misc-nonfree, possibly from chimaera-backports/non-free, unless version 20210315-3 in chimaera/non-free is enough.

Typically kernel modules that need firmware will say so into dmesg and/or syslog.

#614 Re: Documentation » HOWTO : use bash instead of dash as the default shell in daedalus » 2023-06-20 00:13:25

It is worth to highlight that the ramification of changing the "meaning" of "/bin/sh" is much larger than merely saving the typing of  two characters more in new bash scripts.

The "/bin/sh" binary is the most fundamental pathname of a GNU/Linux system since that binary is the one used by the execve system call. It affects all system scripts from top to bottom, from the very boot up of the system. So one must be very sure that the "new meaning" (bash) of "/bin/sh" is fully equal to the "old meaning" (dash) in terms of script interpretation for all existing "/bin/sh" scripts.

Probably "bash" is still a language superset of "dash". But "bash" has significant ongoing development and it is much more intended for interactive use. My worry would be that "bash" suddenly one day has a deviation from "dash" that makes a difference, possibly breaking my system in some obscure way.

#615 Re: Installation » post install: cdrom error - .iso image as a primary apt source » 2023-06-16 14:39:54

If it's mounted then the file: source line is best, but it does need a trusted=yes attribute, like this

deb [trusted=yes] file:/mnt/dev-dvd-only chimaera contrib main non-free non-free-firmware

The cdrom: source line will probably need an /etc/fstab declaration as well, but I've never had any luck with it so I've stayed with the file: method.

When it works, you can check overall policy with apt-cache policy and then as said, possibly tune it with pinning preferences.

#616 Re: Off-topic » Obtaining data from an Android-formatted SD/MMC Card » 2023-06-11 22:56:38

Maybe clip out the two partitions into their own image files, and see if the file command tells... EFI partitions would be fat... with mtools you'd do

mdir -i part1.img -a

to see the files in that.

EDIT: I guess you know, but the clipping out would be dd commands like

$ dd if=sdc64gb.img of=part1.img skip=2048 count=32768
$ dd if=sdc64gb.img of=part2.img skip=34816 count=124700639

#617 Re: Off-topic » Obtaining data from an Android-formatted SD/MMC Card » 2023-06-11 16:33:21

Firstly It might be a help to use dd to make an image file of the card, and then work with that. Like

# dd if=/dev/sdc of=diskimage bs=100M

Being Android sdcard the setup for the partitions might be FAT32 (or vfat?) with an ext2 (or perhaps ext4) within.
And it might be encrypted.

EDIT: attempt to clarify smile

#619 Re: Installation » Daedalus previews in VBox » 2023-06-01 22:23:25

ok. thanks. So far limited to virtualbox; i.e. it's not a problem with qemu. I haven't seen it reported from other use cases.

#620 Re: Installation » Daedalus previews in VBox » 2023-06-01 14:35:33

Thanks.

Yes, that installer is missing libgcc_s.so.1 (due to an undeclared dependency).

New ISOs are in progress that should be better in that, though you still need to add nopat by hand; that issue seems to be limited to virtualbox with EFI and it's not yet confirmed to be a universally useful fix.

#622 Re: Installation » Daedalus previews in VBox » 2023-05-30 21:58:32

No my issue was different.

I'm not sure what it is, @rolfie, but it all seems to work on virtualbox if you add 'nopat' to the boot command line (push 'e' at the startup splash, then add 'nopat' to the 'linux' line and boot with '^x').

This is regardless of whether the ISO file is writable or not.

Afaict that 'pat' feature is something new for the kernel's memory management and apparently some module(s) are not fully revised and tested with respect to it. Using the 'nopat' option presumably makes the kernel use different code paths that get around this.

#623 Re: Installation » Daedalus previews in VBox » 2023-05-30 04:25:38

@rolfie, the cause for me was that qemu EFI emulation actually requires the ISO to be writable. I believe it's part of the EFI emulation which will want the EFI partition to be writable so it's likely the same for you on vbox.

#624 Re: Installation » Daedalus previews in VBox » 2023-05-30 00:02:13

Also, a similar issue turns up with EFI in qemu ... I can explore that myself

#625 Re: Installation » Daedalus previews in VBox » 2023-05-29 21:45:15

In that case you might switch to a console with C-A-F2, push newline, mount a target filesystem (which you have to prepare beforehand, eg with qemu-image etc), then copy /var/log/syslog to it, unmount and mount that to somewhere accessible, and finally copy out that syslog ... easy peasy smile

EDIT: btw, if you want to explore that vbox UEFI startup it's also possible to make it use a special "disk composite" where you single out grub.cfg as an editable byte block.
(eg for preview 20230522 that file starts at byte 3033088 and ends before byte 3037172 )

If that sounds useful and fun for you I can give some more detail instructions...

EDIT 2 : corrected ending 3037642 to be 3037172

Board footer

Forum Software