The officially official Devuan Forum!

You are not logged in.

#201 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-20 16:03:47

Hello:

... how I could have imagined something ...

If I told you about the things I have imagined that were not there ...

No matter, everything is in order and fdisk does not give us another issue to tangle with.

... restore the disk image apart from the first sector after having changed the partition table.

Let me see if I have this right:

1. burn the *.iso image to the SD card as before.
2. change the partition table as per your instructions.
3. do this ...

dd if=devuan_daedalus_5.0.1_amd64_netinstall.iso of=/dev/sdg skip=1 seek=1 conv=notrunc

... which will restore the ISO9660 signature and DEVUAN501 label to the first partition so that disks will show this ...

Partition 1
Size: 478 MB (478150656 bytes)
Contents: ISO 9660 (version Joliet Extension) — Mounted at /media/groucho/DEVUAN501
Device: /dev/sdg1
Partition Type: 0x00 (bootable)

... and make it visible to the installer.

All that plus the renaming the EFI directories / files so that the it will work (?) properly.

... apologise for making this so confusing and convoluted.

Absolutely no need to apologise for anything.
You have been nothing but helpful and patient.

Confusing and convoluted seems to be the crap Debian installer which should work as expected but does not.
Probably by design more than by incompetence, but that is just me being overy sceptical.

I'll try to get this done today and report back.

Once again, thank you for your help with this.

Best,

A.

#202 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-20 12:52:11

Hello:

... peculiar that partition 1 (and the disk) loses its label....

Yes, and with the same fdisk version.

... had it mounted(!) when changing parition table.

Yes ... 8^°

It got remounted when I unmounted, ejected and inserted it again.
Did not notice.

But then, I think the only partition mounted was Partition 2.
As seen by disks:   <- gparted does not reveal it

---
Partition 2
Size: 23 MB (22507520 bytes)
Contents: FAT (16-bit version) — Not Mounted
Device: /dev/sdg2
UUID: FAE4-C64A
Partition Type: EFI (FAT-12/16/32)
---

The partition we were editing was not mounted. (IIRC)
I think that if it had been mounted fdisk would have printed out a warning.

... not a good idea.

Indeed, fdisk says so.
But then it also says 'probably'.

... re-run the test without that?

Of course.
I saw the error right after posting so I rewrote the *.iso file and reedited the partition like before.

The end result was the same.

---

# blkid /dev/sdg
/dev/sdg: PTUUID="3488f3e0" PTTYPE="dos"
# 
# blkid /dev/sdg1
/dev/sdg1: PTUUID="3488f3e0" PTTYPE="dos" PARTUUID="3488f3e0-01"
# 
# blkid /dev/sdg2
/dev/sdg2: SEC_TYPE="msdos" UUID="FAE4-C64A" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="3488f3e0-02"
# 
# blkid /dev/sdg3
/dev/sdg3: PARTUUID="3488f3e0-03"
# 

What could / would prevent fdisk to make good on its warning?

Thanks for your input.

Best,

A.

#203 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-20 11:37:51

Hello:

Sorry for the delay, I re-did the testing as the SD card had been used in another test.

Note:
My Daedalus fdisk version is 2.38.1-5+deb12u1devuan1

Here it is, from the start:

----

Kingston 4.0GB SD Card
Formatted as 'Cleared'

Listed by gparted:
Size: 3.64 GiB
File system: unallocated

Partition
Path: unallocated    First sector:  0
                    Last sector:   7626751
                    Total sectors: 7626752
Listed by disks:
Size: 3.9 GB (3904897024 bytes)
Contents: 3.9 GB (3904897024 bytes)
Device: 3.9 GB (3904897024 bytes)

---

Writing *.iso image to SD card:

# dd if=/media/storage/isos/daedalus/devuan_daedalus_5.0.1_amd64_netinstall.iso of=/dev/sdg
978560+0 records in
978560+0 records out
501022720 bytes (501 MB, 478 MiB) copied, 228.066 s, 2.2 MB/s
#

Detected by dmesg:

$ sudo dmesg
--- snip ---
[ ] usb 6-6: new high-speed USB device number 7 using ehci-pci
[ ] usb 6-6: New USB device found, idVendor=14cd, idProduct=125d, bcdDevice= 1.00
[ ] usb 6-6: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ ] usb 6-6: Product: Mass Storage Device
[ ] usb 6-6: Manufacturer: Generic
[ ] usb 6-6: SerialNumber: 125D20140310
[ ] usb-storage 6-6:1.0: USB Mass Storage device detected
[ ] scsi host8: usb-storage 6-6:1.0
[ ] scsi 8:0:0:0: Direct-Access     Mass     Storage Device        PQ: 0 ANSI: 0 CCS
[ ] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ ] sd 8:0:0:0: [sdg] 7626752 512-byte logical blocks: (3.90 GB/3.64 GiB)
[ ] sd 8:0:0:0: [sdg] Write Protect is off
[ ] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
[ ] sd 8:0:0:0: [sdg] No Caching mode page found
[ ] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ ]  sdg: sdg1 sdg2
[ ] sd 8:0:0:0: [sdg] Attached SCSI removable disk
$

blkid output:

# blkid /dev/sdg
/dev/sdg: BLOCK_SIZE="2048" UUID="2023-09-14-08-09-20-00" LABEL="DEVUAN501" TYPE="iso9660" PTUUID="3488f3e0" PTTYPE="dos"
#
# blkid /dev/sdg1
/dev/sdg1: BLOCK_SIZE="2048" UUID="2023-09-14-08-09-20-00" LABEL="DEVUAN501" TYPE="iso9660" PTUUID="3488f3e0" PTTYPE="dos" PARTUUID="3488f3e0-01"
#

Listed by gparted:
Size: 3.64 GiB
File system: iso9660
Label: DEVUAN501

Partition
Path: unallocated    First sector:  0
                    Last sector:   7626751
                    Total sectors: 7626752

Listed by disks:

Partition 1
Size: 478 MB (478150656 bytes)
Contents: ISO 9660 (version Joliet Extension) — Mounted at /media/groucho/DEVUAN501
Device: /dev/sdg1
Partition Type: 0x00 (bootable)

Partition 2
Size: 23 MB (22507520 bytes)
Contents: FAT (16-bit version) — Not Mounted
Device: /dev/sdg2
UUID: FAE4-C64A
Partition Type: EFI (FAT-12/16/32)

Free Space: 3.4 GB

---

*****
Edit Partition 1 with fdisk as per your instructions.
*****

# fdisk -V
fdisk from util-linux 2.38.1
#
# fdisk -l
--- snip ---
Disk /dev/sdg: 3.64 GiB, 3904897024 bytes, 7626752 sectors
Disk model: Storage Device
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3488f3e0

Device     Boot  Start    End Sectors  Size Id Type
/dev/sdg1  *         0 933887  933888  456M  0 Empty
/dev/sdg2       933888 977847   43960 21.5M ef EFI (FAT-12/16/32)
#
# fdisk /dev/sdg

Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.

The device contains 'iso9660' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

Command (m for help): t
Partition number (1,2, default 2): 2
Hex code or alias (type L to list all): c

Changed type of partition 'EFI (FAT-12/16/32)' to 'W95 FAT32 (LBA)'.

Command (m for help): n
Partition type
   p   primary (2 primary, 0 extended, 2 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3): 3
First sector (977848-7626751, default 978944):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (978944-7626751, default 7626751):

Created a new partition 3 of type 'Linux' and of size 3.2 GiB.

Command (m for help): w
The partition table has been altered.
Syncing disks.
#

Detected by dmesg:

$ sudo dmesg
--- snip ---
[ ] usb 6-6: new high-speed USB device number 8 using ehci-pci
[ ] usb 6-6: New USB device found, idVendor=14cd, idProduct=125d, bcdDevice= 1.00
[ ] usb 6-6: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ ] usb 6-6: Product: Mass Storage Device
[ ] usb 6-6: Manufacturer: Generic
[ ] usb 6-6: SerialNumber: 125D20140310
[ ] usb-storage 6-6:1.0: USB Mass Storage device detected
[ ] scsi host8: usb-storage 6-6:1.0
[ ] scsi 8:0:0:0: Direct-Access     Mass     Storage Device        PQ: 0 ANSI: 0 CCS
[ ] sd 8:0:0:0: Attached scsi generic sg6 type 0
[ ] sd 8:0:0:0: [sdg] 7626752 512-byte logical blocks: (3.90 GB/3.64 GiB)
[ ] sd 8:0:0:0: [sdg] Write Protect is off
[ ] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
[ ] sd 8:0:0:0: [sdg] No Caching mode page found
[ ] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[ ]  sdg: sdg1 sdg2 sdg3
[ ] sd 8:0:0:0: [sdg] Attached SCSI removable disk
$

blkid output:

# blkid /dev/sdg
/dev/sdg: PTUUID="3488f3e0" PTTYPE="dos"
#
# blkid /dev/sdg1
/dev/sdg1: PTUUID="3488f3e0" PTTYPE="dos" PARTUUID="3488f3e0-01"
#
# blkid /dev/sdg2
/dev/sdg2: SEC_TYPE="msdos" UUID="FAE4-C64A" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="3488f3e0-02"
#
# blkid /dev/sdg3
/dev/sdg3: PARTUUID="3488f3e0-03"
# 

Listed by gparted:
Size: 3.64 GiB

File System
File system: unallocated
Size: 456.00 MiB
Path: unallocated
First sector: 0
Last sector: 933887
Total sectors: 933888

File system: fat16
Size: 21.46 MiB
Label:
UUID: FAE4-C64A

Partition
Path: /dev/sdg2
Name:
Flags: lba
First sector: 933888
Last sector: 977847
Total sectors: 43960

File system: unknown
Size: 3.17 GiB
Label:
UUID:

Partition
Path: /dev/sdg3
Name:
Flags:
First sector: 978944
Last sector: 7626751
Total sectors: 6647808

---

Listed by disks:

Unallocated space
478 MB (478150656 bytes)
Device: /dev/sdg

Filesystem
Partition 2
Size: 23 MB — 2.1 MB free (90.8% full)
Contents: FAT (16-bit version) — Mounted at /media/groucho/FAE4-C64A
Device: /dev/sdg2
UUID: FAE4-C64A
Partition Type: W95 FAT32 (LBA)

Partition 3
Size: 3.4 GB (3403677696 bytes)
Contents: Unknown
Device: /dev/sdg3
Partition Type: Linux

---

I only have one other Linux box to check this:

$ uname -a
Linux eee-dev3 5.10.0-0.deb10.16-686-pae #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) i686 GNU/Linux
$
# fdisk -V
fdisk from util-linux 2.33.1
#
$ sudo fdisk -l
--- snip ---
Disk /dev/sdb: 3.7 GiB, 3904897024 bytes, 7626752 sectors
Disk model: Storage Device
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3488f3e0

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdb1  *         0  933887  933888  456M  0 Empty
/dev/sdb2       933888  977847   43960 21.5M  c W95 FAT32 (LBA)
/dev/sdb3       978944 7626751 6647808  3.2G 83 Linux

$ sudo blkid /dev/sdb
/dev/sdb: PTUUID="3488f3e0" PTTYPE="dos"
$
$ sudo blkid /dev/sdb1
/dev/sdb1: PTUUID="3488f3e0" PTTYPE="dos" PARTUUID="3488f3e0-01"
$
groucho@eee-dev3:~$ sudo blkid /dev/sdb2
/dev/sdb2: SEC_TYPE="msdos" UUID="FAE4-C64A" TYPE="vfat" PARTUUID="3488f3e0-02"
$
sudo blkid /dev/sdb3
/dev/sdb3: PARTUUID="3488f3e0-03"
$

Sorry for the length but I wanted to get everything from the screen printout as it happened, from the start and not have to come and go from other posts.
Please let me know if you need more data.

Thank you for your help.

Best,

A.

#204 Re: Off-topic » Getting there, slowly but steadily ... » 2025-01-19 21:29:26

Hello:

... old L.T. management style verbally smacking younglings doing dumb things.

While I agree, it is not the solution.

What failed here was management.

-> Big -> Time -> Fail

Borislav Petkov wrote:

... went in without a single x86 maintainer Ack ...
...  still there instead of getting reverted.

Uncanny.

Coming from where it came from, I think this was a test to see what would happen if ...
The response must be swift and ruthless.

ie:
The 'unfortunate individual' should be banned from the Linux team.
Permanently.

There is far too much at risk to do anything else.

Of course, YMMV.

Best,

A.

#205 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-19 13:44:30

Hello:

... first partition should remain starting at sector 0 ...
fdisk would have left things good ...

Indeed ...

I tried it just to see if the warning fdisk printed would effectively materialise.
And it would seem it did, see below.

... saved the original to try again ...

No, but not a problem.
I dd'd another (smaller) installer which was the one I originally intended to use (devuan_daedalus_5.0.1_amd64_netinstall.iso)

Here's the output of what I just did:

[root@devuan ~]# fdisk /dev/sdg

Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

The device contains 'iso9660' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

Command (m for help): t
Partition number (1,2, default 2): 2
Hex code or alias (type L to list all): c

Changed type of partition 'EFI (FAT-12/16/32)' to 'W95 FAT32 (LBA)'.

Command (m for help): n
Partition type
   p   primary (2 primary, 0 extended, 2 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3):
First sector (977848-7626751, default 978944):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (978944-7626751, default 7626751):

Created a new partition 3 of type 'Linux' and of size 3.2 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

This is the result:

# fdisk -l /dev/sdg
Disk /dev/sdg: 3.64 GiB, 3904897024 bytes, 7626752 sectors
Disk model: Storage Device
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3488f3e0

Device     Boot  Start     End Sectors  Size Id Type
/dev/sdg1  *         0  933887  933888  456M  0 Empty
/dev/sdg2       933888  977847   43960 21.5M  c W95 FAT32 (LBA)
/dev/sdg3       978944 7626751 6647808  3.2G 83 Linux
#

gparted shows this for /dev/sdg:

- 456 MiB of unallocated space      ### not reported as bootable or ISOIMAGE.
- /dev/sdg2    FAT16 21.46 MiB
- /dev/sdg3 3.17 GiB unformatted partition

disks utility shows the same thing:

------------------------------------------------
Partition 1
Size: 478 MB (478150656 bytes)
Contents: Unknown
Device: /dev/sdg1
Partition Type: 0x00 (Bootable)     ### reported as bootable but not as ISOIMAGE.

Partition 2
Size: 23 MB (22507520 bytes)
Contents: FAT (16-bit version) — Not Mounted
Device: /dev/sdg2
UUID: FAE4-C64A
Partition Type: W95 FAT32 (LBA)

Partition 3
Size: 3.4 GB (3403677696 bytes)
Contents: Unknown
Device: /dev/sdg3
Partition Type: Linux
------------------------------------------------

Does this USB stick boot?
Yes, it does.
And faster, from the GRUB welcome to installer menu in a flash.

The problem is that the installer fails as it cannot find the ISOIMAGE:

--- snip ---
mount: mounting LABEL=DEVUAN501 on /cdrom failed: No such file or directory.
[  39.XXXX ] random: crng init dome
mount: mounting UUID= on /cdrom failed: No such file or directory.
mount: mounting LABEL=DEVUAN501 on /cdrom failed: No such file or directory.
--- snip ---
*** failed to mount the cdrom
*** Staring emergency shell ...

BusyBox v1.35.0 (Debian 1:1.35.0-4+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty: job control turned off
/ # _

Re: your edit, found while posting this:

... first partition starts at sector 0.

Yes.

... second partition comes after the first (non-overlapping).

Yes.

... safe to use fdisk to change the type of the second partition and to add a 3rd primary partition.

Yes.

All that was done, the EFI directory and files were renamed.

But it seems fdisk does not issue idle warnings:

The device contains 'iso9660' signature and it will be removed by a write command.

So, no ISOIMAGE, no installation.

If I use disks to edit that 'unknown' bootable 478MB dev/sdc1 partition and make it W95 FAT32 (LBA) (Bootable) it remains unknown and as such, inaccesible.

That can't be undone but it is not a problem as I can dd the *.iso again.
Let me know if there's anything else I can do.

Thank you very much for your help.

Best,

A.

#206 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-19 09:40:23

Hello:

... run fdisk on the USB stick and change the partition type to 0x0c.
... partition should not be seen as an EFI partition....
... mount the partition somewhere and rename its EFI directory, say to OFF ...

Worth trying.

... wouldn't try any other partitioning tool since I would fear it may well be too intelligent ...

Seems fdisk knows what's going on.

# fdisk /dev/sdg

Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

The device contains 'iso9660' signature and it will be removed by a write command. See fdisk(8) man page and --wipe
option for more details.
--- snip ---

I did not try it with fdisk yet but disks let me do it without affecting the rest of the layout.
ie: I can still see the ISOIMAGE in PC-Man as well as its full contents.

I then renamed the efi directory and edited the extensions of /efi/boot/bootx64.efi and /efi/boot/bootia32.efi.

The installer should not see any hint of anything EFI.

# fdisk -l /dev/sdg
Disk /dev/sdg: 3.64 GiB, 3904897024 bytes, 7626752 sectors
Disk model: Storage Device  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0291be20

Device     Boot Start     End Sectors  Size Id Type
/dev/sdg1  *       64 2842463 2842400  1.4G  0 Empty
/dev/sdg2         556    3435    2880  1.4M  c W95 FAT32 (LBA)
# 

Edit:
One side effect this may/will have is a fail when using the installer to check the installation media.

I'll try this later today or tomorrow and report back.

Thanks for your input.

Best,

A.

#207 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-18 19:31:00

Hello:

greenjeans wrote:

... but you just helped me solve one of mine ...

You're welcome, but all merit belongs ralph.ronnquist.

Not being at all familiar with all this UEFI crap, I just asked the question because it seemed odd that gparted showed me one thing and disks another.
Maybe it is time for gparted to make the necessary adjustments.

Ralph's explanation as to how it works (+the ascii art) is what set you on the right track.

Best,

A.

#208 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-18 17:46:18

Hello:

... solved the grub problem ...

No, I haven't.
Not if I want to install Devuan to a USB stick to use with non-UEFI hardware.

I still have to try installing from a Devuan-Live *.iso.
Maybe this week-end if I have time.

Best,

A.

#209 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-18 16:10:40

Hello:

... get the netinstall .iso do a minimal install ...

See my previous post.
The problem also crops up with a Debian *.iso.

... test if the changes made by Devuan ...

Apparently, the Debian installer has not been forked by Devuan, so it is the same one save for some branding and such things.

Or do the cloning ...

Could be.
But I need something more straightforward than that.

Thanks for your input.

Best,

A.

#210 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-18 15:53:15

Hello:

... told you that it appears grub gets confused upon seeing the EFI partition of the installer ...

Indeed, you did.

You also took the time to write up an explanation along with some neat ascii art.
Forgot to thank you for that, my apologies.

I'd say it is a bug in the installer.
Or maybe it is a feature in the installer?

... afaik it's not a forked package ...
... good to have someone making a focussed effort ...
... lodging a bug report ...

If not forked it is a bug report to bugs.debian.org

That being the case, then it would not matter how focused the effort.
ie: I have already seen where that ends.

See this bug report and the reply from the dev/maintainer.

TL;DR

bugs.debian.org wrote:

Hi,
Since sysvinit is not enabled by default in Debian, I do not consider this
bug as release-critical. Downgrading the bug severity to "normal".

In all probability, filing a well documented bug report would get you a reply akin to this one:

bugs.debian.org wrote:

Hi,
Since UEFI boot is the default configuration for Debian, I do not consider this
bug as release-critical. Downgrading the bug severity to "normal".

And that will be it.

Maybe someone with non-UEFI hardware can confirm this and then (maybe) someone here at Devuan can have a look.
If it can be fixed and fixing it deemed worthwhile, the package would then have to be forked.

The one thing I can confirm is that when I tried to install debian-10.13.0-amd64-netinst.iso to a USB stick, I got the same result.

Unfortunately, I have no other amd64 hardware to test on.

Best,

A.

#211 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-18 12:19:05

Hello:

... looks like it is the installer itself then with it passing all those tests.

Yes, that was my thought from the start.
And unless anyone can come up with a better/more reasonable explanation to what is going on, it would seem that that is what we are seeing.

Not a good sign.

BTW:
Installing GRUB as described in my previous post was not followed through with the needed grub-update so I was left with a grub rescue > prompt on my screen ('grub_file_filters' not found) and the USB drive behaving as before.

I recovered my system drive this morning (the easy way) with a Super Grub2 image Super Grub2 for non-UEFI systems.
I was not feeling lucky and did not want to risk screwing up any further.

---
I should learn to do it the old way / manually ie: via grub rescue >.
One day I may not have anything else at hand and then, what?

I have always thought that the day will come when the only way to get anything done properly, securely and without any restraints/controls will be by being proficient in command line at the terminal. Seems it may be sooner than later.

But I digress ...
---

The purpose behind my wanting to install a very small footprint Devuan on small capacity SD/MicroSD cards was to 1. make use of a few I had and 2. put together a Devuan based Clonezilla-Live (it is Debian based) to always have at hand or to boot into from an on-board USB socket my system MB has.

That went awry when I was not able to install Devuan on any card or USB stick (old or brand new), the results being those reported in my OP and others.

It would be great if anyone with non-UEFI hardware could run a test to see if they get the same / similar result.

Thanks in advance.

Best,

A.

#212 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 23:27:25

Hello:

Altoid wrote:

... testing continues.

Right, here we go:

Test 1

# dd if=/home/groucho/Desktop/data1.txt of=/dev/sdg bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 8.4841e-05 s, 5.2 MB/s
#

Half hour later ...

# dd if=/dev/sdg of=/home/groucho/Desktop/data1bis.txt bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 0.000129402 s, 3.4 MB/s
#

Check the file integrity:

~$ diff /home/groucho/Desktop/data1.txt /home/groucho/Desktop/data1bis.txt
~$

---------------

Test 2

# dd if=/home/groucho/Desktop/data2.txt of=/dev/sdg bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 7.8027e-05 s, 5.6 MB/s
#

Another half hour later ...

# dd if=/dev/sdg of=/home/groucho/Desktop/data2bis.txt bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 0.00010365 s, 4.2 MB/s
#

Check the file integrity:

~$ diff /home/groucho/Desktop/data2.txt /home/groucho/Desktop/data2bis.txt
~$

---------------

That one passed: no problem with the first 440 bytes in the USB drive.
Now to install GRUB on the USB stick via command line.

1. check I won't screw up

# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
--- snip ---
sdg      8:96   1  14.4G  0 disk
`-sdg1   8:97   1  14.4G  0 part /media/groucho/testusb
#

2. install GRUB

# grub-install /dev/sdg
Installing for i386-pc platform.
Installation finished. No error reported.   ### <-
#

I then booted my box from the USB stick and was greeted by GRUB and was able to boot my system.

That one also passed: GRUB can be installed with no issues to the USB stick.

So:
1. not a system memory issue
2. not a problem with the first USB stick's 440 bytes
3. no problem installing GRUB manually, worked as expected.

At this point, it may be worthwhile to try installing from Devuan-Live and see if it fails or not.

Will report later or this week-end.

Best,

A.

#213 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 16:02:49

Hello:

Update:

Altoid wrote:

... memtester which I am putting to work now.

# memtester 4096 5
memtester version 4.6.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).
--- snip ---

Memtester ran 5 loops for ~360 minutes and all of them came up with no failures, like this one:

--- snip ---
Loop 1/5:
  Stuck Address       : ok         
  Random Value        : ok
  Compare XOR         : ok
  Compare SUB         : ok
  Compare MUL         : ok
  Compare DIV         : ok
  Compare OR          : ok
  Compare AND         : ok
  Sequential Increment: ok
  Solid Bits          : ok         
  Block Sequential    : ok         
  Checkerboard        : ok         
  Bit Spread          : ok         
  Bit Flip            : ok         
  Walking Ones        : ok         
  Walking Zeroes      : ok         
  8-bit Writes        : ok
  16-bit Writes       : ok

Loop 2/5:
  Stuck Address       : ok         
  Random Value        : ok
  Compare XOR         : ok
  Compare SUB         : ok
  Compare MUL         : ok
  Compare DIV         : ok
  Compare OR          : ok
  Compare AND         : ok
  Sequential Increment: ok
--- snip ---

I think that can most probably rule out any memory corruption issues.
The testing continues.

Best,

A.

#214 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 12:45:50

Hello:

... met USB sticks that refuse to change the first 440 bytes ...

I see.

The first two USB sticks I used were 8.0Gb/16.0Gb USB2.0 Kingston Data Traveler SE9s, have had them for a while now and always worked without any fuss.
The new ones are USB3.2 64Gb Kingston Data Traveler Exodia M, new/unused up to yesterday.

They surely have different chips / controllers yet they suffer the same issue, at least in my box.

... check that your sticks don't have that problem: e.g. write some certain data to there, take the USB out, eat an apple, plug in the USB ideally in a different port, then verify that data.

I was looking around to see how to do something like that.

... twice with different data, to confirm that your data gets written and is preserved.

Right.

# dd if=data1 of=/dev/sdg bs=440 count=1

Will it do if data1 / data2 each are a few different SHA256SUMS strings?
I understand that a byte is more or less the equivalent of 440 letters and seven strings would sum up 448 bytes or so.

... use the rescue approach to chroot to the target file system and install grub-pc as well as to run a manual grub-install /dev/sdg.

I see.

That would be (while in rescue mode) executing a shell in the installed system ie: /dev/sdX.
Right? I have seen there is an option for that.

I was just wondering if there was any installer which did not have all this UEFI crap.
Maybe one of the first Devuan installers. (?)

Thanks a lot for your input.

Best,

A.

#215 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 11:10:59

Hello:

... try a memtest ...

Yes, there's also memtester which I am putting to work now.

# memtester 4096 5
memtester version 4.6.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).
--- snip ---

Between the OS and memtester 78% of available RAM is being used.

... only other thing I can suggest is junk USB controller/driver for the controller.

The on board USB2.0 controller has always worked perfectly well.
As for the driver(?), it is the one from this distribution.

... no way a fresh install should have a corrupted file system ...

I'll take your word for that but then, the installer should have written GRUB to the USB stick and it did not.

... unlikely a new stick would be useless ...

Agreed.

... use it on another device and see if it boot there.

The only amd64 box I have is this one.
My other one is an Asus 1000HE. (32 bit)

I will see about running a test to do an intensive write from one USB drive to another.
Data corruption in the controller (if that is the case) should show up there.

Thanks for your input.

Best,

A.

#216 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 10:32:33

Hello:

... installation ISOs are set up as "Hybrid ISOs". This means that the ISO is a union of two ...
... like this (in beautiful ascii art):

I understand, your ascii art makes it quite clear.
I have always used gparted, which does not show the detail disks shows so I was not aware of this layout.

... fools grub's intelligent install logic ...

Not good if your hardware is not UEFIable, like mine.

... need to exercise some manual hands-on ...
... where doing it right using the rescue mode.

Good to know.
Buy still no joy.

... cannot install linux onto a FAT32 partition ...

I'm sorry, I have not expressed myself correctly.

I started the installation with the USB stick which I first formatted to cleared and then as a single primary FAT32 partition.
But during the installation I deleted that partition it and re-partitioned it like this:

# fdisk -l
Disk /dev/sdg: 57.62 GiB, 61872793600 bytes, 120845300 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6a8163af

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdg1  *         2048   4990975   4988928  2.4G 83 Linux
/dev/sdg2       120258560 120844287    585728  286M 82 Linux swap / Solaris
/dev/sdg3         4993022 120258559 115265538   55G  5 Extended
/dev/sdg5         4993024 120258559 115265536   55G 83 Linux

When the time came for the installer to write GRUB to the disk, I selected the boot partition of the USB stick.
But it did not get installed so the BIOS did not see an OS when I tried to boot.

Both disks and gparted report a healthy filesystem on the USB drive.

Besides testing my system's memory, what do you suggest?

Thanks in advance.

Best,

A.

#217 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-17 05:05:59

Hello:

RedGreen925 wrote:

... hard to believe you could have file system errors on first boot ...

It is all in the screen printout.

RedGreen925 wrote:

... suggest corruption during the install.

Could be, no idea what it is.

RedGreen925 wrote:

... memtest86+ boot disk and let it run a few passes ...

Have not done that in a while but then have not had any motive to suspect memory corruption at any point.

This box runs many hours a day every day of the year.
If there were any sort of memory corruption, I would have had memory errors before now.
And they would have shown up in the usual places. eg: dmesg ECC error printout

... where does the 6.10 kernel come from? ...

This is devuan_daedalus_5.0.1_amd64_netinstall.iso | 15-Apr-2024 22:38 | 478M

Comes from the same place every other Daedalus

It is the same kernel my box runs on:

$ uname -a
Linux devuan 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
$

Thanks for your input.

Best,

A.

#218 Re: Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-16 23:24:19

Hello:

Sorry for the delay in answering, it has taken me some time to test all this.

ralph.ronnquist wrote:

... it would amount to chroot onto the target and then run update-grub ...

I have never had to deal with any of that, no idea how.

Just to rule out my having placed the old index finger on the wrong key during the install, I decided to do it all again and see.
I confirmed that I did exactly that and reinstalled but with no luck.

I'll cut this short so as to spare you the details of my last week attempting to see what was going on.

After achiving the two Kingston DataTraveller USB 2.0 drives I was using as installation candidates I purchased another two 64Gb Kingston USB 3.0 Exordia drives, checked the SHA256SUM of the a newly downloaded devuan_daedalus_5.0.1_amd64_netinstall.iso, dd'd it on a 2.0Gb MicroSD card and after booting checked that the installation media was healthy.

Everything was as it should be so I went on to install Daedalus 5.0.1 to one of the 64Gb drives with nothing but an msdos partition table and FAT32 format. ie: no previous partitioning / EXT4-fs formatting and nothing but the default options for the installation.

This is all on a Sun Ultra 24 box with a BIOS boot, no UEFI.

---

On attempting to boot I see that there is no OS.

I then reboot the installation media, run rescue mode and install GRUB to the USB drive containing the Daedalus installation.
Save the fact that GRUB was not where it should have been, no issues.

I shut down the box, reboot and press F8 to get the BIOS boot menu, choose the Kingston USB drive and hit enter.

At first things go as expected:

---

GRUB loading.
Welcome to GRUB!
GNU GRUB version 2.06-13+deb12u1 -> [choose Devuan GNU/Linux]

Booting  Devuan GNU/Linux
Loading Linux 6.10.0-10-AMD64 ...
Loading initial ramdisk ...
---
Here the usual ACPI BIOS Error (bug) printouts we have all seen for years
---
/dev/sda1/: clean, 41420/156160 files, 353650/623616 blocks
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Starting hot-plug events dispatcher: udevd.
Synthesizing the intial hotplug events (subsystems) ...done
Synthesizing the intial hotplug events (devices) ...done
Waiting for /dev to be fully populated ...

Then all hell breaks loose ...

INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
INIT: cannot execute "/sbin/getty"
--- snip ---
INIT: cannot execute "/sbin/getty"
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: cannot execute "/sbin/getty"
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: cannot execute "/sbin/getty"
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
[35.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #2:
com init: reading lblock 0
[36.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #13:
com init: reading lblock 0
[36.xxx] Ext-fs error (device sda1): __ext4_find_entry:1678: inode #1443:
com init: reading lblock 0
--- snip ---

--------------------------------------------------------------------
Note:
There's no /etc/inittab.d directory present.
/sbin/getty is a link to /sbin/agetty
--------------------------------------------------------------------

It goes on and on till I do a hard reset, no other way out.

Now, this has also happened with the previous USB sticks and SD cards when attempting to install devuan_beowulf_3.1.1_amd64_netinstall.iso.

I ran a few tests on the USB 2.0 sticks and they showed no issues but got a new pair just to be sure they were not at fault.

When I look at the installation media with gparted, it shows me a single ISO9660 file system taking up the whole 2.0Gb MicroSD card.
But when I look at it with the gnome-disk-utility, it shows me two partitions and free space.

I know about the free space because the *.iso file is only ~478Mb.
But it turns out that between the 478Mb ISO9660 Partition 1 and the free space at the end there is a 23Mb FAT Partition 2.

In any case, I don't have much of a clue as to what is going on but I would not be at all surprised if it is some side effect of whatever the UEFI/secureboot crowd is up to these days.

I'd appreciate some insight on this.

Thanks in advance.

Best,

A.

#219 Off-topic » Getting there, slowly but steadily ... » 2025-01-14 20:21:19

Altoid
Replies: 5

From today's edition of The Register:

------------------------------------------------------------------------------------------------------
Intel and AMD engineers rush to save Linux 6.13 after dodgy Microsoft tweak
'Let's not do this again please'... days before release date
------------------------------------------------------------------------------------------------------
By Richard Speed - Tue 14 Jan 2025 // 14:02 UTC

See https://www.theregister.com/2025/01/14/ … ge_pulled/

Richard Speed @TheRegister wrote:

Microsoft is notable for dubious quality control standards regarding releases of its flagship operating system, Windows. That one of its engineers should drop some dodgy code into the Linux kernel is not hugely surprising, and the unfortunate individual is not the first and will not be the last to do so, regardless of their employer.

Seems that something went very (very) wrong ...

Best,

A.

#220 Hardware & System Configuration » Devuan Daedalus: /i386-pc/normal.mod not found » 2025-01-10 09:06:47

Altoid
Replies: 42

Hello:

I dd'd devuan_daedalus_5.0.1_amd64_netinstall.iso to an 4.0Gb SD card.
Then installed it on an 8.0Gb USB stick.
The usual precautions taken:

- checked SHA256 of the downloaded *.iso
- installer check of the installation media before anything else

This is how the USB is partitioned:

# fdisk -l /dev/sdg 
Disk /dev/sdg: 7.22 GiB, 7757398016 bytes, 15151168 sectors
Disk model: DataTraveler 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdb4d27ce

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sdg1  *        2048  4190207  4188160    2G 83 Linux
/dev/sdg2        4192254 15151103 10958850  5.2G  5 Extended
/dev/sdg5        4192256 14741503 10549248    5G 83 Linux
/dev/sdg6       14743552 15151103   407552  199M 82 Linux swap / Solaris
# 

On booting the USB, I get this:

GRUB loading.
Welcome to GRUB!

error: file ` /boot/grub/i386-pc/normal.mod not found.
grub rescue> 

The installation was run on my Sun Ultra 24 which is not hampered by att the UEFI whatever crap.
Just plain BIOS boot, thank you.

It is as bare as could be (still needs a good clean-up) as I want to use it to run Clonezilla-Live.
Just the defaults, no desktop enviroment.cd.

When I mount the drive, CD to /boot, I get this:

$ /boot/grub$ ls
grub.cfg  splash.png  unicode.pf2
$

Seems that grub is pointing to my system drive UUID ...

search --no-floppy --fs-uuid --set=root d6841f29-e39b-4c87-9c52-3a9c3bafe2d3

... instead of pointing to the USB UUID:

# blkid
--- snip ---
/dev/sdb1: LABEL="devuan" UUID="d6841f29-e39b-4c87-9c52-3a9c3bafe2d3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0004a8f4-01"
--- snip ---
/dev/sdg1: UUID="68f8d933-a2a1-40eb-916f-eba5582c8968" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="db4d27ce-01"
--- snip ---
# 

No idea how that happened, but it did.

Question:
Manually changing all instances of the system UUID for the correct one will do?
If not, which is the easiest/fastest way to fix this?

Thanks.

Best,

A.

#221 Re: Hardware & System Configuration » [SOLVED] syslinux.cfg help » 2024-12-31 06:44:38

Hello:

stargate-sg1-cheyenne wrote:

... for future thread visitors ...

Thanks for that.

I have been using Conezilla-live without issues but, as it is Debian based, wanting make it Devuan based.
I had a look at what is available in the Devuan repositories but it is only the Clonezilla SE version.

The links you have posted are definitely a very worthwhile find.

That said, putting Clonezilla in your system drive seems like a good idea because everything gets streamlined.
Till the streamlining goes south along with the systerm drive.  8^°
Having Clonezilla-live on a USB drive will always be a necessary option.

My Sun Ultra 24 has an on-board internal USB socket from which (years ago) I would boot a maintenance TCore Linux installation with all the tools.
Maybe I could put it to use again.

Thank you very much for your input.

Have a Happy New Year.

Best,

A.

#222 Re: Hardware & System Configuration » [SOLVED] syslinux.cfg help » 2024-12-29 20:21:17

Hello:

Altoid wrote:

... to get clonezilla-live to boot with my keyboard options hard coded.
... dead tilde, right AltGr and no compose key set up.

After a while I traced back to the installation process of any/most Linux installation/s.
The data I needed was located in /etc/default/keyboard, which is where the installation process stores those options.

In my specific case it is this:

$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
# Set for IBM 82G3294 Model 'M'
#
XKBMODEL="pc105"
XKBLAYOUT="latam"
XKBVARIANT="deadtilde"
XKBOPTIONS="lv3:ralt_switch,terminate:ctrl_alt_bksp"
BACKSPACE="guess"
$ 

So I edited syslinux.cfg to reflect that set of parameters, hoping that the syntax would hold:

--- snip ---
label Clonezilla live
  MENU DEFAULT
  # MENU HIDE
  MENU LABEL Clonezilla live (VGA 800x600)
  # MENU PASSWD
  kernel /live/vmlinuz
  append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap
edd=on nomodeset enforcing=0 locales=en_GB.UTF-8 keyboard-model=pc105 keyboard-layouts=latam
keyboard-variants=deadtilde ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788
net.ifnames=0 nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
--- snip ---

It worked properly: no questions asked and locale/keyboard configuration hard coded in.
That hurdle passed, I got rid of quiet and added all the command line options I use with my Devuan installations.

ie: security=none apparmor=0 nmi_watchdog=0 agp=off ipv6.disable=1 enable_mtrr_cleanup=1

Now, how is it that this tidbit ie: keyboard configuration is not part of the Clonezilla documentation is beyond me.
Not everyone uses what Clonezilla offers as the default settings for locale and keyboard model/layout/variants.
And, just like me they will also find it tiresome to have to set it up every time Clonezilla boots.

One problem I see is that Clonezilla-Live is Debian based ie: systemd crapped and (to me) not trustworthy.
But no doubt about it, I think Clonezilla is a life saver.

Have a Happy New Year.

Best,

A.

#223 Re: Hardware & System Configuration » [SOLVED] syslinux.cfg help » 2024-12-27 10:18:21

Hello:

stargate-sg1-cheyenne wrote:

... specifically this particular subpage ...

Yes, I've been there and read it all.

But all that is specific to clonezilla.

What I am looking for is specific to syslinux / isolinux and/or kernel command line instructions and syntax.
ie: stuff that the various linux installers have been doing for us when we select the language and keyboard options offered at the very start of the installation process.

I recall (long ago) my first attempts to install Linux from floppies on a 486DX (?) Toshiba and it was the same process.

Thanks for your input.
And for taking the time to look it up.

Best,

A.

#224 Re: Devuan » Xfce 4.20 released in Dec 15,2024 » 2024-12-27 10:09:10

Hello:

greenjeans wrote:

... already disliked CSS ...

Not CSD?

Anyway, there was a really huge row about the nimplementation of CSD in Xfce a couple of years ago at the Xfce forum.
Anyone with a modicum of common sense would have taken notice.

See https://forum.xfce.org/viewtopic.php?id=13689
But no, and here we are.

After all these years (!), devs and maintainers at Xfce haven't managed to get a properly functioning menu editor for Xfce.
Or the only two things I miss from MS Explorer: the Send To -> Any Folder and Snap to Grid actions.
Xfce4 desktop icons still have an atavistic tendency to position themselves as they please on the desktop

It would seem that devs and maintainers at Xfce just copy the shiny flashy crap but can't get the necessary basics right.

greenjeans wrote:

... they just do mindless crap because they can.

Maybe it is the same virus that has been affecting Mozilla devs for the longest time?

greenjeans wrote:

</old man yelling at clouds>

Here's another one.

Best,

A.

#225 Re: Hardware & System Configuration » [SOLVED] syslinux.cfg help » 2024-12-26 22:26:30

Hello:

... messed up the APPEND line with ...

Indeed ...
With my progressively decaying eyesight.  8^°

This is the working syslinux.cfg:

kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user config components quiet loglevel=0 noswap edd=on nomodeset enforcing=0 noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=788 net.ifnames=0  nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1

ie: copy/pasted from the read-only file opened with LO Writer.
Boots without a hitch.

What I want to do is edit the command line to get clonezilla-live to boot with my keyboard options hard coded.
I can easily do that with isomaster or similar software but I first need to know the correct syntax.

ie:
locales=?????
keyboard-layouts=?????

+ whatever else I have to add to the command line to get dead tilde, right AltGr and no compose key set up.

Thanks a lot for your input.

Best,

A.

Board footer

Forum Software