#linuxcnc-devel Logs

Aug 24 2022

#linuxcnc-devel Calendar

02:38 AM pere: Tom_L: no response on #debian-live. I guess no-one there know enough about rpi builds.
12:17 PM -!- #linuxcnc-devel mode set to +v by ChanServ
12:22 PM Tom_L: pere, i'm going to also try --debian-installer live
12:43 PM Tom_dev: pere, https://unix.stackexchange.com/questions/657474/debian-livebuild-how-to-make-the-bootloader-to-directly-boot-to-live
12:45 PM Tom_dev: config/bootloaders/ has isolinux.cfg but no syslinux
12:50 PM pere: perhaps isolinux is a better choice?
12:50 PM Tom_dev: gathering my best 'tricks' to try and that seems like one
12:51 PM Tom_dev: what about --debian-installer live instead of cdrom?
12:51 PM pere: what is the difference?
12:52 PM Tom_dev: i suppose we don't want a live boot on the rpi like you can boot off a cdrom live without installing
12:52 PM Tom_dev: i _think_ that's what that switch is
12:52 PM pere: I thought that was the entire point with a live iso. If you did not want that, we could use debootstrap to make a hd/sd image.
12:52 PM Tom_dev: maybe so
12:53 PM Tom_dev: see what you think of this:
12:53 PM Tom_dev: sudo lb config \
12:53 PM Tom_dev: --architecture arm64 \
12:53 PM Tom_dev: --linux-flavours arm64 \
12:53 PM Tom_dev: --debian-installer live \
12:53 PM Tom_dev: --binary-filesystem fat32 \
12:53 PM Tom_dev: --bootloaders isolinux \
12:53 PM Tom_dev: --bootstrap-qemu-arch arm64 \
12:54 PM Tom_dev: --bootloaders grub-efi \
12:54 PM Tom_dev: --bootstrap-qemu-static /usr/bin/qemu-arm-static
12:54 PM pere: I doubt --binary-filesystem fat32 will work, fat32 lack POSIX features used by Linux software.
12:55 PM Tom_dev: i added that due to this: http://tom-itx.no-ip.biz:81/~webpage/cnc/live-build/raspberrry_pi_amd64.jpg
12:55 PM Tom_dev: maybe that wasn't the solution
12:55 PM pere: I also doubt several --bootloaders work, probably need --bootloaders isolinux,grub-efi or something like that.
12:55 PM pere: I remember it, but believe it is the wrong fix to make the entire root fat32, you want at most /boot/ as fat32.
12:55 PM Tom_dev: not in the bootloaders directory
12:56 PM pere: perhaps --bootloaders "isolinux grub-efi"
12:56 PM pere: one can list several, I believe, but I do not remember the notation.
12:57 PM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/live-build/bootloaders.png
12:57 PM pere: lb config --help might give clues
12:57 PM Tom_dev: those are the choices i see
12:57 PM Tom_dev: i'm going with isolinux this round
01:01 PM pere: I suspect you want the hybrid variant, see "lb config --help|less"
01:04 PM Tom_dev: under --binary-images?
01:04 PM Tom_dev:
01:04 PM Tom_dev: [-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]
01:04 PM pere: yeah
01:04 PM Tom_dev: i'll add that
01:07 PM pere: look like boot loaders lists can be either space or comma separated.
01:07 PM Tom_dev: i noticed that yesterday
01:09 PM Tom_dev: ok here goes nuthin..
01:24 PM pere: andypugh: was it you that was going to look into <URL: https://github.com/LinuxCNC/linuxcnc/pull/581 >?
01:33 PM andypugh: Possibly, though I don’t recall offering.
06:15 PM Tom_L: pere, those changes didn't help any
06:16 PM pere: :(
06:16 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/live-build/raspberrry_pi_amd64_2nd.jpg
06:20 PM Tom_L: i'm running out of ideas
06:43 PM CaptHindsight[m]: Tom_L: I'm short on sleep so you may have posted a link to your file system for the Rpi4
06:44 PM CaptHindsight[m]: but ntulinux offered to help build the sd-card image
06:44 PM CaptHindsight[m]: ntulinux/memfrob
08:03 PM Tom_dev: pere, maybe that offers a direction clue
08:15 PM Tom_dev: from a working sd card:
08:15 PM Tom_dev: Device Boot Start End Sectors Size Id Type
08:15 PM Tom_dev: dev/sdd1 8192 532479 524288 256M c W95 FAT32 (LBA)
08:15 PM Tom_dev: dev/sdd2 532480 124735487 124203008 59.2G 83 Linux
08:38 PM -!- #linuxcnc-devel mode set to +v by ChanServ
08:38 PM -!- #linuxcnc-devel mode set to +v by ChanServ