Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux 2022.11.01 fails to boot if label is changed, despite patching #2086

Closed
5 of 10 tasks
Leo40Git opened this issue Nov 10, 2022 · 24 comments
Closed
5 of 10 tasks
Assignees
Milestone

Comments

@Leo40Git
Copy link

Leo40Git commented Nov 10, 2022

Checklist

  • I looked at https://github.com/pbatard/rufus/wiki/FAQ to see if my question has already been answered.
  • I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
  • I clicked the 'Log' button or pressed Ctrl-L in Rufus, and copy/pasted the log into the line that says <FULL LOG> below.
  • The log I am copying is the FULL log, starting with the line Rufus version: x.y.z - I have NOT removed any part of it.

Additionally (if applicable):

  • I ran a bad blocks check, by clicking Show advanced format options then Check device for bad blocks, and confirmed that my USB is not defective.
  • I also tried one or more of the following:
    • Using a different USB drive.
    • Plugging the USB into a different port.
    • Running Rufus on a different computer.
  • If using an image, I clicked on the (✓) button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.

Issue description

Changing the label from the default "ARCH_202211" value to something else (I used "Arch Linux 2022.11.01") seems to cause the boot loader to be unable to load the kernel - it cannot find "ARCH_202211".
This is despite the log claiming that references to this label have been patched (which is why I am opening an issue here rather than on Arch Linux - since it seems like a Rufus feature intended to avoid this exact scenario isn't working).

Log

Rufus x86 v3.20.1929
Windows version: Windows 11 Home, 64-bit (Build 25236.1010)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0409 (en-US)
Will use default UI locale 0x0409
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'en-US'
Found USB 2.0 device 'SanDisk Cruzer Glide USB Device' (0781:5575)
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1900, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x00000000
Drive has a Zeroed Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 14.6 GB (15630073856 bytes)
  Start Sector: 2048, Boot: No
Scanning image...
ISO analysis:
  Image is an ISO9660 image
  Will use '/syslinux/syslinux.cfg' for Syslinux
  Detected Syslinux version: 6.04/pre2-11-gbf6db5b4 (from '/syslinux/isolinux.bin')
Disk image analysis:
  Image has an unknown Master Boot Record
  Image is a bootable disk image
ISO label: 'ARCH_202211'
  Size: 766.4 MB (Projected)
  Uses: Syslinux/Isolinux v6.04
  Uses: EFI
Using image: archlinux-2022.11.01-x86_64.iso (782.3 MB)

Computing checksum for 'C:\Users\Leo\Documents\Linux\archlinux-2022.11.01-x86_64.iso'...
  MD5:    c908f303e24208691ca8cd4424c998e0
  SHA1:   f0173119e849405982d156f76190f29ba95caa09
  SHA256: df6749df55b02cec98e5a9177c7957acfb96fe14d04553b6e4714100a4824f68
Will reuse 'ldlinux.sys' and 'ldlinux.bss' from 'C:\Users\Leo\AppData\Local\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\' for Syslinux installation

Format operation started
Requesting disk access...
Will use 'D:' as volume mountpoint
Opened \\.\PhysicalDrive1 for shared write access
Analyzing existing boot records...
Drive has a Zeroed Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 6.6 GB)
● Creating Linux Persistence Partition (offset: 7041178624, size: 8.0 GB)
Waiting for logical drive to reappear...
Using Debian-like method to enable persistence
Notice: Using physical device to access partition data
Formatting (ext3)...
262143 possible inodes out of 2097151 blocks (block size = 4096)
104857 blocks (5.0%) reserved for the super user
Creating 64 inode sets: [1 marker = 1.0 set(s)]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Creating 8192 journal blocks: [1 marker = 102.4 block(s)]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Created 'persistence.conf' file
Formatting to FAT32 (using IFS)
Using cluster size: 8192 bytes
Quick format was selected
Creating file system...
Format completed.
Opened \\.\PhysicalDrive1 for shared write access
Writing Master Boot Record...
Partition is already FAT32 LBA...
Set bootable USB partition as 0x80
Using Syslinux MBR
Found volume \\?\Volume{aea6e923-6124-11ed-bdd3-8c16456ccfcb}\
Installing Syslinux 6.04...
Opened \\?\Volume{aea6e923-6124-11ed-bdd3-8c16456ccfcb} for shared write access
Using existing 'C:\Users\Leo\AppData\Local\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.sys' ✓
Using existing 'C:\Users\Leo\AppData\Local\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.bss' ✓
Successfully wrote 'ldlinux.sys'
Successfully wrote Syslinux boot record
Successfully remounted \\?\Volume{aea6e923-6124-11ed-bdd3-8c16456ccfcb}\ as D:
Extracting files...
Image is an ISO9660 image
This image will be extracted using Joliet extensions (if present)
Extracting: D:\EFI\BOOT\BOOTIA32.EFI (5.3 MB)
Extracting: D:\EFI\BOOT\BOOTx64.EFI (6.4 MB)
Extracting: D:\EFI\BOOT\grub.cfg (2.2 KB)
  Patched D:\EFI\BOOT\grub.cfg: 'ARCH_202211' ➔ 'ARCH\x20LINUX'
Extracting: D:\arch\boot\amd-ucode.img (50 KB)
Extracting: D:\arch\boot\intel-ucode.img (4.9 MB)
Extracting: D:\arch\boot\licenses\amd-ucode\LICENSE.amd-ucode (3.7 KB)
Extracting: D:\arch\boot\licenses\intel-ucode\LICENSE (1.6 KB)
Extracting: D:\arch\boot\licenses\memtest86+\license.txt (17.7 KB)
Extracting: D:\arch\boot\memtest (141.0 KB)
Extracting: D:\arch\boot\x86_64\initramfs-linux.img (64.4 MB)
Extracting: D:\arch\boot\x86_64\vmlinuz-linux (10.6 MB)
Extracting: D:\arch\grubenv (1 KB)
Extracting: D:\arch\pkglist.x86_64.txt (7 KB)
Extracting: D:\arch\version (11 bytes)
Extracting: D:\arch\x86_64\airootfs.sfs (671 MB)
Extracting: D:\arch\x86_64\airootfs.sfs.cms.sig (698 bytes)
Extracting: D:\arch\x86_64\airootfs.sfs.sig (471 bytes)
Extracting: D:\arch\x86_64\airootfs.sha512 (143 bytes)
Extracting: D:\shellia32.efi (908.6 KB)
Extracting: D:\shellx64.efi (1010.3 KB)
Extracting: D:\syslinux\archiso_head.cfg (809 bytes)
Extracting: D:\syslinux\archiso_pxe-linux.cfg (1.3 KB)
  Patched D:\syslinux\archiso_pxe-linux.cfg: 'ARCH_202211' ➔ 'ARCH\x20LINUX'
Extracting: D:\syslinux\archiso_pxe.cfg (82 bytes)
Extracting: D:\syslinux\archiso_sys-linux.cfg (875 bytes)
  Patched D:\syslinux\archiso_sys-linux.cfg: 'ARCH_202211' ➔ 'ARCH\x20LINUX'
Extracting: D:\syslinux\archiso_sys.cfg (110 bytes)
Extracting: D:\syslinux\archiso_tail.cfg (694 bytes)
Extracting: D:\syslinux\boot.cat (2 KB)
Extracting: D:\syslinux\cat.c32 (1.6 KB)
Extracting: D:\syslinux\chain.c32 (24.5 KB)
Extracting: D:\syslinux\cmd.c32 (1.2 KB)
Extracting: D:\syslinux\cmenu.c32 (3.6 KB)
Extracting: D:\syslinux\config.c32 (1.4 KB)
Extracting: D:\syslinux\cptime.c32 (4.1 KB)
Extracting: D:\syslinux\cpu.c32 (4.4 KB)
Extracting: D:\syslinux\cpuid.c32 (1.7 KB)
Extracting: D:\syslinux\cpuidtest.c32 (2.7 KB)
Extracting: D:\syslinux\debug.c32 (1.5 KB)
Extracting: D:\syslinux\dhcp.c32 (4.1 KB)
Extracting: D:\syslinux\dir.c32 (2.9 KB)
Extracting: D:\syslinux\disk.c32 (2.0 KB)
Extracting: D:\syslinux\dmi.c32 (8.5 KB)
Extracting: D:\syslinux\dmitest.c32 (12.2 KB)
Extracting: D:\syslinux\elf.c32 (3.2 KB)
Extracting: D:\syslinux\ethersel.c32 (2.7 KB)
Extracting: D:\syslinux\gfxboot.c32 (10.2 KB)
Extracting: D:\syslinux\gpxecmd.c32 (1.5 KB)
Extracting: D:\syslinux\hdt\modalias.gz (154.6 KB)
Extracting: D:\syslinux\hdt\pciids.gz (299.5 KB)
Extracting: D:\syslinux\hdt.c32 (163.1 KB)
Extracting: D:\syslinux\hexdump.c32 (3.6 KB)
Extracting: D:\syslinux\host.c32 (1.7 KB)
Extracting: D:\syslinux\ifcpu.c32 (4 KB)
Extracting: D:\syslinux\ifcpu64.c32 (1.7 KB)
Extracting: D:\syslinux\ifmemdsk.c32 (4.1 KB)
Extracting: D:\syslinux\ifplop.c32 (1.8 KB)
Extracting: D:\syslinux\isohdpfx.bin (432 bytes)
Extracting: D:\syslinux\isolinux.bin (38 KB)
Extracting: D:\syslinux\kbdmap.c32 (1.6 KB)
Extracting: D:\syslinux\kontron_wdt.c32 (4.7 KB)
Extracting: D:\syslinux\ldlinux.c32 (116.9 KB)
Extracting: D:\syslinux\lfs.c32 (5.0 KB)
Extracting: D:\syslinux\libcom32.c32 (165.8 KB)
Extracting: D:\syslinux\libgpl.c32 (66.0 KB)
Extracting: D:\syslinux\liblua.c32 (100.1 KB)
Extracting: D:\syslinux\libmenu.c32 (23.4 KB)
Extracting: D:\syslinux\libutil.c32 (23.3 KB)
Extracting: D:\syslinux\linux.c32 (4.6 KB)
Extracting: D:\syslinux\lpxelinux.0 (73.8 KB)
Extracting: D:\syslinux\ls.c32 (2.9 KB)
Extracting: D:\syslinux\lua.c32 (6.7 KB)
Extracting: D:\syslinux\mboot.c32 (10.6 KB)
Extracting: D:\syslinux\memdisk (26.2 KB)
Extracting: D:\syslinux\meminfo.c32 (2.4 KB)
Extracting: D:\syslinux\menu.c32 (25.6 KB)
Extracting: D:\syslinux\pci.c32 (3.2 KB)
Extracting: D:\syslinux\pcitest.c32 (3.4 KB)
Extracting: D:\syslinux\pmload.c32 (2.9 KB)
Extracting: D:\syslinux\poweroff.c32 (1.6 KB)
Extracting: D:\syslinux\prdhcp.c32 (3 KB)
Extracting: D:\syslinux\pwd.c32 (1.4 KB)
Extracting: D:\syslinux\pxechn.c32 (12.1 KB)
Extracting: D:\syslinux\reboot.c32 (1.3 KB)
Extracting: D:\syslinux\rosh.c32 (13.6 KB)
Extracting: D:\syslinux\sanboot.c32 (1.6 KB)
Extracting: D:\syslinux\sdi.c32 (2.9 KB)
Extracting: D:\syslinux\splash.png (44.3 KB)
Extracting: D:\syslinux\sysdump.c32 (14.5 KB)
Extracting: D:\syslinux\syslinux.c32 (8.6 KB)
Extracting: D:\syslinux\syslinux.cfg (153 bytes)
Extracting: D:\syslinux\vesa.c32 (2.9 KB)
Extracting: D:\syslinux\vesainfo.c32 (2.1 KB)
Extracting: D:\syslinux\vesamenu.c32 (26.1 KB)
Extracting: D:\syslinux\vpdtest.c32 (1.8 KB)
Extracting: D:\syslinux\whichsys.c32 (2.4 KB)
Extracting: D:\syslinux\zzjson.c32 (3.5 KB)
Created: D:\syslinux.cfg → /syslinux/syslinux.cfg
Finalizing, please wait...
Created: D:autorun.inf
Created: D:autorun.ico

Found USB 2.0 device 'SanDisk Cruzer Glide USB Device' (0781:5575)
Using 'autorun.inf' label for drive D: 'Arch Linux 2022.11.01'
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1900, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 2
Disk ID: 0x001A379B
Drive has a Syslinux Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 6.6 GB (7040130048 bytes)
  Start Sector: 2048, Boot: Yes
Partition 2:
  Type: GNU/Linux (0x83)
  Detected File System: ext3
  Size: 8.0 GB (8589934080 bytes)
  Start Sector: 13752302, Boot: No
@pbatard
Copy link
Owner

pbatard commented Nov 10, 2022

That's probably because you used a space in there. I'll test this, but what happens if you use underscores instead of spaces in your label?

@pbatard pbatard self-assigned this Nov 10, 2022
@Leo40Git
Copy link
Author

Will try using underscores instead of spaces shortly.

@pbatard
Copy link
Owner

pbatard commented Nov 10, 2022

For reference, the problem is that there are a mainstream distros out there (Red Hat, CentOS...) that require spaces in the FAT32 label to be converted to \x20 sequences, in order to work properly. So we fixed that in [55a5eb0]. But I guess Arch on the other hand does require actual spaces...

If that is the issue, this is going to be very difficult to fix, because we cannot "guess" what type of distro may require spaces and what type of distro may require \x20 sequences, and trying to maintain a list of " vs \x20 distros" would both be a major time sink and be sure to break in the long run as there's a new distro pretty much every other day.

Which means that, as long as it works with the default label proposed by Rufus, or when users don't try to change the label to something that includes spaces, I'm probably not going to do anything about this.

But again, I'll test this when I have a chance to see if this theory is correct...

@Leo40Git
Copy link
Author

Now trying "Arch_Linux_2022.11.01", here's the Rufus log.
Will respond in a bit if boot succeeded...

Format operation started
Requesting disk access...
Will use 'D:' as volume mountpoint
Opened \\.\PhysicalDrive1 for shared write access
Analyzing existing boot records...
Drive has a Syslinux Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 6.6 GB)
● Creating Linux Persistence Partition (offset: 7041178624, size: 8.0 GB)
Waiting for logical drive to reappear...
Using Debian-like method to enable persistence
Notice: Using physical device to access partition data
Formatting (ext3)...
262143 possible inodes out of 2097151 blocks (block size = 4096)
104857 blocks (5.0%) reserved for the super user
Creating 64 inode sets: [1 marker = 1.0 set(s)]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Creating 8192 journal blocks: [1 marker = 102.4 block(s)]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Created 'persistence.conf' file
Formatting to FAT32 (using IFS)
Using cluster size: 8192 bytes
Quick format was selected
Creating file system...
Format completed.
Opened \\.\PhysicalDrive1 for shared write access
Writing Master Boot Record...
Partition is already FAT32 LBA...
Set bootable USB partition as 0x80
Using Syslinux MBR
Found volume \\?\Volume{aea6e976-6124-11ed-bdd3-8c16456ccfcb}\
Installing Syslinux 6.04...
Opened \\?\Volume{aea6e976-6124-11ed-bdd3-8c16456ccfcb} for shared write access
Using existing 'C:\Users\Leo\AppData\Local\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.sys' ✓
Using existing 'C:\Users\Leo\AppData\Local\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.bss' ✓
Successfully wrote 'ldlinux.sys'
Successfully wrote Syslinux boot record
Successfully remounted \\?\Volume{aea6e976-6124-11ed-bdd3-8c16456ccfcb}\ as D:
Extracting files...
Image is an ISO9660 image
This image will be extracted using Joliet extensions (if present)
Extracting: D:\EFI\BOOT\BOOTIA32.EFI (5.3 MB)
Extracting: D:\EFI\BOOT\BOOTx64.EFI (6.4 MB)
Extracting: D:\EFI\BOOT\grub.cfg (2.2 KB)
  Patched D:\EFI\BOOT\grub.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'
Extracting: D:\arch\boot\amd-ucode.img (50 KB)
Extracting: D:\arch\boot\intel-ucode.img (4.9 MB)
Extracting: D:\arch\boot\licenses\amd-ucode\LICENSE.amd-ucode (3.7 KB)
Extracting: D:\arch\boot\licenses\intel-ucode\LICENSE (1.6 KB)
Extracting: D:\arch\boot\licenses\memtest86+\license.txt (17.7 KB)
Extracting: D:\arch\boot\memtest (141.0 KB)
Extracting: D:\arch\boot\x86_64\initramfs-linux.img (64.4 MB)
Extracting: D:\arch\boot\x86_64\vmlinuz-linux (10.6 MB)
Extracting: D:\arch\grubenv (1 KB)
Extracting: D:\arch\pkglist.x86_64.txt (7 KB)
Extracting: D:\arch\version (11 bytes)
Extracting: D:\arch\x86_64\airootfs.sfs (671 MB)
Extracting: D:\arch\x86_64\airootfs.sfs.cms.sig (698 bytes)
Extracting: D:\arch\x86_64\airootfs.sfs.sig (471 bytes)
Extracting: D:\arch\x86_64\airootfs.sha512 (143 bytes)
Extracting: D:\shellia32.efi (908.6 KB)
Extracting: D:\shellx64.efi (1010.3 KB)
Extracting: D:\syslinux\archiso_head.cfg (809 bytes)
Extracting: D:\syslinux\archiso_pxe-linux.cfg (1.3 KB)
  Patched D:\syslinux\archiso_pxe-linux.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'
Extracting: D:\syslinux\archiso_pxe.cfg (82 bytes)
Extracting: D:\syslinux\archiso_sys-linux.cfg (875 bytes)
  Patched D:\syslinux\archiso_sys-linux.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'
Extracting: D:\syslinux\archiso_sys.cfg (110 bytes)
Extracting: D:\syslinux\archiso_tail.cfg (694 bytes)
Extracting: D:\syslinux\boot.cat (2 KB)
Extracting: D:\syslinux\cat.c32 (1.6 KB)
Extracting: D:\syslinux\chain.c32 (24.5 KB)
Extracting: D:\syslinux\cmd.c32 (1.2 KB)
Extracting: D:\syslinux\cmenu.c32 (3.6 KB)
Extracting: D:\syslinux\config.c32 (1.4 KB)
Extracting: D:\syslinux\cptime.c32 (4.1 KB)
Extracting: D:\syslinux\cpu.c32 (4.4 KB)
Extracting: D:\syslinux\cpuid.c32 (1.7 KB)
Extracting: D:\syslinux\cpuidtest.c32 (2.7 KB)
Extracting: D:\syslinux\debug.c32 (1.5 KB)
Extracting: D:\syslinux\dhcp.c32 (4.1 KB)
Extracting: D:\syslinux\dir.c32 (2.9 KB)
Extracting: D:\syslinux\disk.c32 (2.0 KB)
Extracting: D:\syslinux\dmi.c32 (8.5 KB)
Extracting: D:\syslinux\dmitest.c32 (12.2 KB)
Extracting: D:\syslinux\elf.c32 (3.2 KB)
Extracting: D:\syslinux\ethersel.c32 (2.7 KB)
Extracting: D:\syslinux\gfxboot.c32 (10.2 KB)
Extracting: D:\syslinux\gpxecmd.c32 (1.5 KB)
Extracting: D:\syslinux\hdt\modalias.gz (154.6 KB)
Extracting: D:\syslinux\hdt\pciids.gz (299.5 KB)
Extracting: D:\syslinux\hdt.c32 (163.1 KB)
Extracting: D:\syslinux\hexdump.c32 (3.6 KB)
Extracting: D:\syslinux\host.c32 (1.7 KB)
Extracting: D:\syslinux\ifcpu.c32 (4 KB)
Extracting: D:\syslinux\ifcpu64.c32 (1.7 KB)
Extracting: D:\syslinux\ifmemdsk.c32 (4.1 KB)
Extracting: D:\syslinux\ifplop.c32 (1.8 KB)
Extracting: D:\syslinux\isohdpfx.bin (432 bytes)
Extracting: D:\syslinux\isolinux.bin (38 KB)
Extracting: D:\syslinux\kbdmap.c32 (1.6 KB)
Extracting: D:\syslinux\kontron_wdt.c32 (4.7 KB)
Extracting: D:\syslinux\ldlinux.c32 (116.9 KB)
Extracting: D:\syslinux\lfs.c32 (5.0 KB)
Extracting: D:\syslinux\libcom32.c32 (165.8 KB)
Extracting: D:\syslinux\libgpl.c32 (66.0 KB)
Extracting: D:\syslinux\liblua.c32 (100.1 KB)
Extracting: D:\syslinux\libmenu.c32 (23.4 KB)
Extracting: D:\syslinux\libutil.c32 (23.3 KB)
Extracting: D:\syslinux\linux.c32 (4.6 KB)
Extracting: D:\syslinux\lpxelinux.0 (73.8 KB)
Extracting: D:\syslinux\ls.c32 (2.9 KB)
Extracting: D:\syslinux\lua.c32 (6.7 KB)
Extracting: D:\syslinux\mboot.c32 (10.6 KB)
Extracting: D:\syslinux\memdisk (26.2 KB)
Extracting: D:\syslinux\meminfo.c32 (2.4 KB)
Extracting: D:\syslinux\menu.c32 (25.6 KB)
Extracting: D:\syslinux\pci.c32 (3.2 KB)
Extracting: D:\syslinux\pcitest.c32 (3.4 KB)
Extracting: D:\syslinux\pmload.c32 (2.9 KB)
Extracting: D:\syslinux\poweroff.c32 (1.6 KB)
Extracting: D:\syslinux\prdhcp.c32 (3 KB)
Extracting: D:\syslinux\pwd.c32 (1.4 KB)
Extracting: D:\syslinux\pxechn.c32 (12.1 KB)
Extracting: D:\syslinux\reboot.c32 (1.3 KB)
Extracting: D:\syslinux\rosh.c32 (13.6 KB)
Extracting: D:\syslinux\sanboot.c32 (1.6 KB)
Extracting: D:\syslinux\sdi.c32 (2.9 KB)
Extracting: D:\syslinux\splash.png (44.3 KB)
Extracting: D:\syslinux\sysdump.c32 (14.5 KB)
Extracting: D:\syslinux\syslinux.c32 (8.6 KB)
Extracting: D:\syslinux\syslinux.cfg (153 bytes)
Extracting: D:\syslinux\vesa.c32 (2.9 KB)
Extracting: D:\syslinux\vesainfo.c32 (2.1 KB)
Extracting: D:\syslinux\vesamenu.c32 (26.1 KB)
Extracting: D:\syslinux\vpdtest.c32 (1.8 KB)
Extracting: D:\syslinux\whichsys.c32 (2.4 KB)
Extracting: D:\syslinux\zzjson.c32 (3.5 KB)
Created: D:\syslinux.cfg → /syslinux/syslinux.cfg
Finalizing, please wait...
Created: D:autorun.inf
Created: D:autorun.ico

Found USB 2.0 device 'SanDisk Cruzer Glide USB Device' (0781:5575)
Using 'autorun.inf' label for drive D: 'Arch_Linux_2022.11.01'
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1900, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 2
Disk ID: 0x0022A3DB
Drive has a Syslinux Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 6.6 GB (7040130048 bytes)
  Start Sector: 2048, Boot: Yes
Partition 2:
  Type: GNU/Linux (0x83)
  Detected File System: ext3
  Size: 8.0 GB (8589934080 bytes)
  Start Sector: 13752302, Boot: No

@Leo40Git
Copy link
Author

Does NOT work!
Printed message is:

error: no such device: ARCH_202211.
error: file `/arch/boot/x86_64/vmlinuz-linux' not found. 
error: you need to load the kernel first. 

@pbatard
Copy link
Owner

pbatard commented Nov 10, 2022

But it works when you don't change the label right?

I'm just going to point out that there's actually a good reason that Arch use a uppercase label with no spaces and less than 11 chars for their ISOs, so that it is compatible with the limitation of FAT32 and that while I can understand why one would want to change the label, the root of the problem is that there are too many Linux distros out there that use a search by label for the boot media (AFAIK the only ones that evolved from this are the good people of Debian, who realised that this was way too brittle a solution and are looking for a specific file on all the partitions that can be accessed, which is the MUCH SMARTER way to do it), and this is what leads users into exactly the kind of issue you are facing.

Plus it breaks UEFI file system transposition (the ability that UEFI provides of simply copy the content of a boot media like an ISO at the file system level and still end up with a bootable media, without the need to use any utility like Rufus), which is another problem...

At any rate, I will test this issue when I get a chance, but, yeah, I'm actually not surprised that things do break, as they have repeatedly done in the past, when distros rely on labels to identify the boot media...

@marcosfrm
Copy link
Contributor

Arch media uses by default /dev/disk/by-label/... to mount the device. Hence \x20 is not the issue probably.

@Leo40Git
Copy link
Author

Now attempting just leaving the stupid label option alone, and editing the autorun.inf file manually.

@pbatard
Copy link
Owner

pbatard commented Nov 10, 2022

Arch media uses by default /dev/disk/by-label/... to mount the device. Hence \x20 is not the issue probably.

Yeah, there's also a good chance that they have hardcoded a search for ARCH_202211 in their init script, in which case the minute you change the label it's game over (and I'm obviously not going to attempt to fix the init script in Rufus)... Usually though, the label is provided by a kernel option in the GRUB/Syslinux config files, which is what we update in Rufus, and picked up downstream by the scripts.

Another reason why looking for a boot media by label is a VERY STUPID IDEA and why the Debian folks have moved away from it.

@Leo40Git
Copy link
Author

Leo40Git commented Nov 10, 2022

Yep, it works when not changing the label.

@D3vil0p3r
Copy link

Hello guys, I have the same issue on another OS (Athena OS). The name of the ISO is athena-2022.11.13-x86_64.iso and I'm on Windows
image

At the end of the process, Rufus assigns the label "ATHENA-2022" to the USB device instead of the label shown in "Volume label" field of Rufus.

If I remove and replug the USB to Windows, it sees my USB device in "My Computer" as "athena-2022.11.13" and not more as "ATHENA-2022" but "athena-2022.11.13" is a "fake" label, because if I open Disk Management of Windows, the USB device is seen as "ATHENA-2022".

When I reboot the PC for booting Athena OS system, the grub is not able to find the device (as explained by @Leo40Git) because it refers to the "fake" label "athena-2022.11.13" and not the real assigned label "ATHENA-2022".

If I edit the "Volume label as athena-21234567.11.13, Rufus will make the label as "ATHENA-2123" so the issue could be related mainly to the length of the label.

It is needed that Rufus must assign as REAL label the one specified in "Volume label" field, that in my case is "athena-2022.11.13", so either force the program to have limited characters in "Volume label" or remove the limited characters (if possible, idk) from the final label name on the USB device.

@marcosfrm
Copy link
Contributor

When I reboot the PC for booting Athena OS system, the grub is not able to find the device (as explained by @Leo40Git) because it refers to the "fake" label "athena-2022.11.13" and not the real assigned label "ATHENA-2022".

Rufus should patch the GRUB configuration file, replacing the label. We must find out why it is not working anymore.

@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

At the end of the process, Rufus assigns the label "ATHENA-2022" to the USB device instead of the label shown in "Volume label" field of Rufus.

That's because the FAT specifications do limit labels to 11 uppercase characters with no space.
So Rufus has no choice but to assign a FAT-compliant label to the volume, which athena-2022.11.13 isn't but ATHENA-2022 is.

Now, to hide this behaviour and make it look like a non FAT restricted label was assigned, Rufus also creates an autorun.inf with the full athena-2022.11.13 label, which is why, if you use Windows File Explorer (which looks at the autorun.inf if one exists), you will see it display athena-2022.11.13. But the actual label of the FAT volume, which has to be compliant with the FAT specs, is ATHENA-2022

When I reboot the PC for booting Athena OS system, the grub is not able to find the device (as explained by @Leo40Git) because it refers to the "fake" label "athena-2022.11.13" and not the real assigned label "ATHENA-2022".

Usually, this should be handled by altering the GRUB or Syslinux configuration files, that would have a kernel option that specifies the label that should be looked for to find the boot media. For distros that don't deviate too much from the de-facto norm (i.e. distros that don't place their GRUB/Syslinux config files in weird places), Rufus can do that automatically, and you will see lines such as:

  Patched E:\syslinux\some.cfg: 'athena-2022.11.13' ➔ 'ATHENA-2022'

Unfortunately, since you did not attach a log, I can't tell what happened in your specific case.

so the issue could be related mainly to the length of the label.

No, it is related to the FAT specifications, that PROHIBIT the use of a label that is longer than 11 characters or that contains anything but UPPERCASE and a few other characters such as -, _...

It is needed that Rufus must assign as REAL label the one specified in "Volume label" field

Again, Rufus CANNOT do that, because FAT labels can only store a label up to 11 characters long, and using uppercase.

You are under the impression we somehow designed Rufus to screw up the label, but we don't go altering labels unless we don't have any other choice. That's the reason why Rufus converts the label in the first place and limits it to 11 characters.

Now, if you could provide a full log of how you created the ISO in Rufus, that would help, but it would tell us where the config files are locates and why they might not have been patches by Rufus.

@D3vil0p3r
Copy link

@pbatard in Windows where I can retrieve Rufus logs?

Furthermore, we have this limits due to FAT labels. At this point, cannot you limit also the "Volume label" field at the same 11 chars?

@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

where I can retrieve Rufus logs?

See the check list at the top of this issue.

At this point, cannot you limit also the "Volume label" field at the same 11 chars?

I won't change a thing, since the label that rufus assigned is the same as you would get with an 11-char limited field. The full field label is only used for autorun.inf and has no impact on anything else, so, for all intents and purposes, it's as if the Rufus field was limited to 11 uppercase characters already (we're doing the conversion internally).

I have to stress out that the issue is not with the UI or how Rufus processes the label, but with how we link that processed FAT compliant label with the config scripts that are used to boot the media.

On that note, it's really a shame that Arch derivatives like Athena don't take a hint from what Arch are doing with their ISO labels, and take a minute to wonder why on earth the official Arch maintainers would limit their labels to 11 uppercase characters, which is precisely because they want to make sure that the label is valid for both ISO-9660 and FAT32...

PS: I can only find downloads for athena-2022.11.04-x86_64.iso. Can you provide a URL for where you downloaded 2022.11.13?

@D3vil0p3r
Copy link

On that note, it's really a shame that Arch derivatives like Athena don't take a hint from what Arch are doing with their ISO labels, and take a minute to wonder why on earth the official Arch maintainers would limit their labels to 11 uppercase characters, which is precisely because they want to make sure that the label is valid for both ISO-9660 and FAT32...

Don't worry for it, Athena devs can be compliant quickly for labeling in a correct manner within 11 chars and thank you for the suggestion, I was ignoring this limitation.

PS: I can only find downloads for athena-2022.11.04-x86_64.iso. Can you provide a URL for where you downloaded 2022.11.13?

2022.11.13 is still not released because in testing phase. The latest one is athena-2022.11.04-x86_64.iso. Meanwhile, I try to get logs.

@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

Athena devs can be compliant quickly for labeling in a correct manner within 11 chars

Sounds good. Hopefully, if the issue (as is my current guess right now) is that they set the Syslinux/GRUB config files into different places or under different names than the ones Arch uses (since Rufus needs to have some idea where it should look in order to patch the kernel option to insert the actual FAT label), they can also revert to not deviating from what Arch does.

Especially, Rufus should produce something similar to what OP reported in their log above:

Extracting: D:\EFI\BOOT\grub.cfg (2.2 KB)
  Patched D:\EFI\BOOT\grub.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'
(...)
Extracting: D:\syslinux\archiso_pxe-linux.cfg (1.3 KB)
  Patched D:\syslinux\archiso_pxe-linux.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'
(...)
Extracting: D:\syslinux\archiso_sys-linux.cfg (875 bytes)
  Patched D:\syslinux\archiso_sys-linux.cfg: 'ARCH_202211' ➔ 'ARCH_LINUX_'

When dealing with Athena ISOs if you want to have any hope of finding the boot media (which, I am aware per the original issue still doesn't seem to work if you change the label, but which, for most distros, should be enough, even with a user-specified label).

@D3vil0p3r
Copy link

Here the Rufus logs:

Rufus x86 v3.20.1929 (Portable)
Windows version: Windows 11 Home, 64-bit (Build 22621.819)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0409 (en-US)
Will use default UI locale 0x0409
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'en-US'
Found USB 3.0 device 'Kingston DataTraveler 3.0 USB Device' (0951:1666)
1 device found
No volume information for drive 0x82
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1911, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 0
Disk ID: 0x7EB17A97
Drive has a Windows 7 Master Boot Record
Scanning image...
ISO analysis:
  Image is an ISO9660 image
  Will use '/syslinux/syslinux.cfg' for Syslinux
  Detected Syslinux version: 6.04/pre2-11-gbf6db5b4 (from '/syslinux/isolinux.bin')
Disk image analysis:
  Image has an unknown Master Boot Record
  Image is a bootable disk image
ISO label: 'athena-2022.11.13'
  Size: 2.1 GB (Projected)
  Uses: Syslinux/Isolinux v6.04
  Uses: EFI
Using image: athena-2022.11.13-x86_64.iso (2.1 GB)
Checking for Rufus updates...
Checking release channel...
No new release version found.
Will reuse 'ldlinux.sys' and 'ldlinux.bss' from 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\' for Syslinux installation

Format operation started
Requesting disk access...
Will use 'E:' as volume mountpoint
Opened \\.\PhysicalDrive2 for exclusive write access
Analyzing existing boot records...
Drive has a Windows 7 Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 14.6 GB)
Waiting for logical drive to reappear...
Formatting to FAT32 (using IFS)
Using cluster size: 8192 bytes
Quick format was selected
Creating file system...
Format completed.
Opened \\.\PhysicalDrive2 for exclusive write access
Writing Master Boot Record...
Partition is already FAT32 LBA...
Set bootable USB partition as 0x80
Using Syslinux MBR
Found volume \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056}\
Installing Syslinux 6.04...
Opened \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056} for shared write access
Using existing 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.sys' ✓
Using existing 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.bss' ✓
Successfully wrote 'ldlinux.sys'
Successfully wrote Syslinux boot record
Successfully remounted \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056}\ as E:
Extracting files...
Image is an ISO9660 image
This image will be extracted using Joliet extensions (if present)
Extracting: E:\EFI\BOOT\BOOTIA32.EFI (5.3 MB)
Extracting: E:\EFI\BOOT\BOOTx64.EFI (6.4 MB)
Extracting: E:\EFI\BOOT\grub.cfg (4.0 KB)
  Patched E:\EFI\BOOT\grub.cfg: 'athena-2022.11.13' ➔ 'ATHENA-2022'
Extracting: E:\arch\boot\amd-ucode.img (50 KB)
Extracting: E:\arch\boot\intel-ucode.img (5.4 MB)
Extracting: E:\arch\boot\licenses\amd-ucode\LICENSE.amd-ucode (3.7 KB)
Extracting: E:\arch\boot\licenses\intel-ucode\LICENSE (1.6 KB)
Extracting: E:\arch\boot\licenses\memtest86+\license.txt (17.7 KB)
Extracting: E:\arch\boot\memtest (141.0 KB)
Extracting: E:\arch\boot\x86_64\initramfs-linux-zen-fallback.img (156.0 MB)
Extracting: E:\arch\boot\x86_64\initramfs-linux-zen.img (156.0 MB)
Extracting: E:\arch\boot\x86_64\vmlinuz-linux-zen (11.3 MB)
Extracting: E:\arch\grubenv (1 KB)
Extracting: E:\arch\pkglist.x86_64.txt (16.4 KB)
Extracting: E:\arch\version (11 bytes)
Extracting: E:\arch\x86_64\airootfs.sfs (1.8 GB)
Extracting: E:\arch\x86_64\airootfs.sha512 (143 bytes)
Extracting: E:\shellia32.efi (908.6 KB)
Extracting: E:\shellx64.efi (1010.3 KB)
Extracting: E:\syslinux\archiso_head.cfg (808 bytes)
Extracting: E:\syslinux\archiso_pxe-linux.cfg (1.4 KB)
  Patched E:\syslinux\archiso_pxe-linux.cfg: 'athena-2022.11.13' ➔ 'ATHENA-2022'
Extracting: E:\syslinux\archiso_pxe.cfg (82 bytes)
Extracting: E:\syslinux\archiso_sys-linux.cfg (2.7 KB)
  Patched E:\syslinux\archiso_sys-linux.cfg: 'athena-2022.11.13' ➔ 'ATHENA-2022'
Extracting: E:\syslinux\archiso_sys.cfg (110 bytes)
Extracting: E:\syslinux\archiso_tail.cfg (694 bytes)
Extracting: E:\syslinux\boot.cat (2 KB)
Extracting: E:\syslinux\cat.c32 (1.6 KB)
Extracting: E:\syslinux\chain.c32 (24.5 KB)
Extracting: E:\syslinux\cmd.c32 (1.2 KB)
Extracting: E:\syslinux\cmenu.c32 (3.6 KB)
Extracting: E:\syslinux\config.c32 (1.4 KB)
Extracting: E:\syslinux\cptime.c32 (4.1 KB)
Extracting: E:\syslinux\cpu.c32 (4.4 KB)
Extracting: E:\syslinux\cpuid.c32 (1.7 KB)
Extracting: E:\syslinux\cpuidtest.c32 (2.7 KB)
Extracting: E:\syslinux\debug.c32 (1.5 KB)
Extracting: E:\syslinux\dhcp.c32 (4.1 KB)
Extracting: E:\syslinux\dir.c32 (2.9 KB)
Extracting: E:\syslinux\disk.c32 (2.0 KB)
Extracting: E:\syslinux\dmi.c32 (8.5 KB)
Extracting: E:\syslinux\dmitest.c32 (12.2 KB)
Extracting: E:\syslinux\elf.c32 (3.2 KB)
Extracting: E:\syslinux\ethersel.c32 (2.7 KB)
Extracting: E:\syslinux\gfxboot.c32 (10.2 KB)
Extracting: E:\syslinux\gpxecmd.c32 (1.5 KB)
Extracting: E:\syslinux\hdt\modalias.gz (154.8 KB)
Extracting: E:\syslinux\hdt\pciids.gz (301.0 KB)
Extracting: E:\syslinux\hdt.c32 (163.1 KB)
Extracting: E:\syslinux\hexdump.c32 (3.6 KB)
Extracting: E:\syslinux\host.c32 (1.7 KB)
Extracting: E:\syslinux\ifcpu.c32 (4 KB)
Extracting: E:\syslinux\ifcpu64.c32 (1.7 KB)
Extracting: E:\syslinux\ifmemdsk.c32 (4.1 KB)
Extracting: E:\syslinux\ifplop.c32 (1.8 KB)
Extracting: E:\syslinux\isohdpfx.bin (432 bytes)
Extracting: E:\syslinux\isolinux.bin (38 KB)
Extracting: E:\syslinux\kbdmap.c32 (1.6 KB)
Extracting: E:\syslinux\kontron_wdt.c32 (4.7 KB)
Extracting: E:\syslinux\ldlinux.c32 (116.9 KB)
Extracting: E:\syslinux\lfs.c32 (5.0 KB)
Extracting: E:\syslinux\libcom32.c32 (165.8 KB)
Extracting: E:\syslinux\libgpl.c32 (66.0 KB)
Extracting: E:\syslinux\liblua.c32 (100.1 KB)
Extracting: E:\syslinux\libmenu.c32 (23.4 KB)
Extracting: E:\syslinux\libutil.c32 (23.3 KB)
Extracting: E:\syslinux\linux.c32 (4.6 KB)
Extracting: E:\syslinux\lpxelinux.0 (73.8 KB)
Extracting: E:\syslinux\ls.c32 (2.9 KB)
Extracting: E:\syslinux\lua.c32 (6.7 KB)
Extracting: E:\syslinux\mboot.c32 (10.6 KB)
Extracting: E:\syslinux\memdisk (26.2 KB)
Extracting: E:\syslinux\meminfo.c32 (2.4 KB)
Extracting: E:\syslinux\menu.c32 (25.6 KB)
Extracting: E:\syslinux\pci.c32 (3.2 KB)
Extracting: E:\syslinux\pcitest.c32 (3.4 KB)
Extracting: E:\syslinux\pmload.c32 (2.9 KB)
Extracting: E:\syslinux\poweroff.c32 (1.6 KB)
Extracting: E:\syslinux\prdhcp.c32 (3 KB)
Extracting: E:\syslinux\pwd.c32 (1.4 KB)
Extracting: E:\syslinux\pxechn.c32 (12.1 KB)
Extracting: E:\syslinux\reboot.c32 (1.3 KB)
Extracting: E:\syslinux\rosh.c32 (13.6 KB)
Extracting: E:\syslinux\sanboot.c32 (1.6 KB)
Extracting: E:\syslinux\sdi.c32 (2.9 KB)
Extracting: E:\syslinux\splash.png (22.1 KB)
Extracting: E:\syslinux\sysdump.c32 (14.5 KB)
Extracting: E:\syslinux\syslinux.c32 (8.6 KB)
Extracting: E:\syslinux\syslinux.cfg (153 bytes)
Extracting: E:\syslinux\vesa.c32 (2.9 KB)
Extracting: E:\syslinux\vesainfo.c32 (2.1 KB)
Extracting: E:\syslinux\vesamenu.c32 (26.1 KB)
Extracting: E:\syslinux\vpdtest.c32 (1.8 KB)
Extracting: E:\syslinux\whichsys.c32 (2.4 KB)
Extracting: E:\syslinux\zzjson.c32 (3.5 KB)
Created: E:\syslinux.cfg → /syslinux/syslinux.cfg
Finalizing, please wait...
Created: E:autorun.inf
Created: E:autorun.ico

Found USB 3.0 device 'Kingston DataTraveler 3.0 USB Device' (0951:1666)
Using 'autorun.inf' label for drive E: 'athena-2022.11.13'
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1911, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x002ABB25
Drive has a Syslinux Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 14.6 GB (15723659264 bytes)
  Start Sector: 2048, Boot: Yes

@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

Thanks. So Rufus did properly patch the kernel options, but we still weren't able to find the media.

I guess this is indeed the same issue as OP's with recent Arch ISOs, where there must be some remnant option somewhere (not in the config files Rufus patched) that references the original ISO label. Except of course, in OP's case, the issue was brought forward by the user actively altering the label, whereas this time, it's because Rufus has not choice but to alter the label to make it FAT compliant...

I still haven't had a chance to look at it more closely, but I'll do so when I get a chance, coz I'd really like to know where, when the kernel options should be the only elements that specify the label to look for, there might be a residual label lookup in the Arch boot sequence.

Oh, and just so it helps with testing, can you indicate whether you tried to boot in UEFI mode (in which case E:\EFI\BOOT\grub.cfg would be used) or in BIOS/Legacy mode (in which case it'll be E:\syslinux\archiso_sys-linux.cfg).

@D3vil0p3r
Copy link

D3vil0p3r commented Nov 13, 2022

Oh, and just so it helps with testing, can you indicate whether you tried to boot in UEFI mode (in which case E:\EFI\BOOT\grub.cfg would be used) or in BIOS/Legacy mode (in which case it'll be E:\syslinux\archiso_sys-linux.cfg).

Currently I only tried in UEFI mode.

When dealing with Athena ISOs if you want to have any hope of finding the boot media (which, I am aware per the original issue still doesn't seem to work if you change the label, but which, for most distros, should be enough, even with a user-specified label).

Athena ISO is created by using Archiso, and the ISO label is defined in profiledef.sh that defines several variables that will be used in syslinux and grub config files (i.e., %ARCHISO_LABEL% variable). So, I think it is enough only to change iso_label="athena-2022.11.13" by another label... It could be athena-os. It should be good also for Rufus. I will submit a PR and I start to test by creating a new ISO and using athena-os string as ISO label. It will require around 30 min.

@D3vil0p3r
Copy link

Here when I use the new ISO with the new assigned label on Rufus:
image

It failed again because GRUB (or better, Linux environment) reads string in case-sensitive. athena-os as label does not work, I added manually ATHENA-OS and it worked. So, I will update the iso_label as iso_label="ATHENA-OS".

Here the logs:

Rufus x86 v3.20.1929 (Portable)
Windows version: Windows 11 Home, 64-bit (Build 22621.819)
Syslinux versions: 4.07/2013-07-25, 6.04/pre1
Grub versions: 0.4.6a, 2.06
System locale ID: 0x0409 (en-US)
Will use default UI locale 0x0409
SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E
Localization set to 'en-US'
Found USB 3.0 device 'Kingston DataTraveler 3.0 USB Device' (0951:1666)
Using 'autorun.inf' label for drive E: 'athena-2022.11.13'
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1911, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x002F6D5B
Drive has a Syslinux Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 14.6 GB (15723659264 bytes)
  Start Sector: 2048, Boot: Yes
Scanning image...
ISO analysis:
  Image is an ISO9660 image
  Will use '/syslinux/syslinux.cfg' for Syslinux
  Detected Syslinux version: 6.04/pre2-11-gbf6db5b4 (from '/syslinux/isolinux.bin')
Disk image analysis:
  Image has an unknown Master Boot Record
  Image is a bootable disk image
ISO label: 'athena-os'
  Size: 2.1 GB (Projected)
  Uses: Syslinux/Isolinux v6.04
  Uses: EFI
Using image: athena-2022.11.13-x86_64.iso (2.1 GB)
Will reuse 'ldlinux.sys' and 'ldlinux.bss' from 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\' for Syslinux installation

Format operation started
Requesting disk access...
Will use 'E:' as volume mountpoint
Opened \\.\PhysicalDrive2 for exclusive write access
Analyzing existing boot records...
Drive has a Syslinux Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Initializing disk...
Partitioning (MBR)...
● Creating Main Data Partition (offset: 1048576, size: 14.6 GB)
Waiting for logical drive to reappear...
Formatting to FAT32 (using IFS)
Using cluster size: 8192 bytes
Quick format was selected
Creating file system...
Format completed.
Opened \\.\PhysicalDrive2 for exclusive write access
Writing Master Boot Record...
Partition is already FAT32 LBA...
Set bootable USB partition as 0x80
Using Syslinux MBR
Found volume \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056}\
Installing Syslinux 6.04...
Opened \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056} for shared write access
Using existing 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.sys' ✓
Using existing 'C:\Users\Antonio\Downloads\Rufus\syslinux-6.04\pre2-11-gbf6db5b4\ldlinux.bss' ✓
Successfully wrote 'ldlinux.sys'
Successfully wrote Syslinux boot record
Successfully remounted \\?\Volume{9df42b13-6382-11ed-a489-48a472bde056}\ as E:
Extracting files...
Image is an ISO9660 image
This image will be extracted using Joliet extensions (if present)
Extracting: E:\EFI\BOOT\BOOTIA32.EFI (5.3 MB)
Extracting: E:\EFI\BOOT\BOOTx64.EFI (6.4 MB)
Extracting: E:\EFI\BOOT\grub.cfg (3.9 KB)
  Patched E:\EFI\BOOT\grub.cfg: 'athena-os' ➔ 'ATHENA-OS'
Extracting: E:\arch\boot\amd-ucode.img (50 KB)
Extracting: E:\arch\boot\intel-ucode.img (5.4 MB)
Extracting: E:\arch\boot\licenses\amd-ucode\LICENSE.amd-ucode (3.7 KB)
Extracting: E:\arch\boot\licenses\intel-ucode\LICENSE (1.6 KB)
Extracting: E:\arch\boot\licenses\memtest86+\license.txt (17.7 KB)
Extracting: E:\arch\boot\memtest (141.0 KB)
Extracting: E:\arch\boot\x86_64\initramfs-linux-zen-fallback.img (156.0 MB)
Extracting: E:\arch\boot\x86_64\initramfs-linux-zen.img (156.0 MB)
Extracting: E:\arch\boot\x86_64\vmlinuz-linux-zen (11.3 MB)
Extracting: E:\arch\grubenv (1 KB)
Extracting: E:\arch\pkglist.x86_64.txt (16.4 KB)
Extracting: E:\arch\version (11 bytes)
Extracting: E:\arch\x86_64\airootfs.sfs (1.8 GB)
Extracting: E:\arch\x86_64\airootfs.sha512 (143 bytes)
Extracting: E:\shellia32.efi (908.6 KB)
Extracting: E:\shellx64.efi (1010.3 KB)
Extracting: E:\syslinux\archiso_head.cfg (808 bytes)
Extracting: E:\syslinux\archiso_pxe-linux.cfg (1.4 KB)
  Patched E:\syslinux\archiso_pxe-linux.cfg: 'athena-os' ➔ 'ATHENA-OS'
Extracting: E:\syslinux\archiso_pxe.cfg (82 bytes)
Extracting: E:\syslinux\archiso_sys-linux.cfg (2.6 KB)
  Patched E:\syslinux\archiso_sys-linux.cfg: 'athena-os' ➔ 'ATHENA-OS'
Extracting: E:\syslinux\archiso_sys.cfg (110 bytes)
Extracting: E:\syslinux\archiso_tail.cfg (694 bytes)
Extracting: E:\syslinux\boot.cat (2 KB)
Extracting: E:\syslinux\cat.c32 (1.6 KB)
Extracting: E:\syslinux\chain.c32 (24.5 KB)
Extracting: E:\syslinux\cmd.c32 (1.2 KB)
Extracting: E:\syslinux\cmenu.c32 (3.6 KB)
Extracting: E:\syslinux\config.c32 (1.4 KB)
Extracting: E:\syslinux\cptime.c32 (4.1 KB)
Extracting: E:\syslinux\cpu.c32 (4.4 KB)
Extracting: E:\syslinux\cpuid.c32 (1.7 KB)
Extracting: E:\syslinux\cpuidtest.c32 (2.7 KB)
Extracting: E:\syslinux\debug.c32 (1.5 KB)
Extracting: E:\syslinux\dhcp.c32 (4.1 KB)
Extracting: E:\syslinux\dir.c32 (2.9 KB)
Extracting: E:\syslinux\disk.c32 (2.0 KB)
Extracting: E:\syslinux\dmi.c32 (8.5 KB)
Extracting: E:\syslinux\dmitest.c32 (12.2 KB)
Extracting: E:\syslinux\elf.c32 (3.2 KB)
Extracting: E:\syslinux\ethersel.c32 (2.7 KB)
Extracting: E:\syslinux\gfxboot.c32 (10.2 KB)
Extracting: E:\syslinux\gpxecmd.c32 (1.5 KB)
Extracting: E:\syslinux\hdt\modalias.gz (154.8 KB)
Extracting: E:\syslinux\hdt\pciids.gz (301.0 KB)
Extracting: E:\syslinux\hdt.c32 (163.1 KB)
Extracting: E:\syslinux\hexdump.c32 (3.6 KB)
Extracting: E:\syslinux\host.c32 (1.7 KB)
Extracting: E:\syslinux\ifcpu.c32 (4 KB)
Extracting: E:\syslinux\ifcpu64.c32 (1.7 KB)
Extracting: E:\syslinux\ifmemdsk.c32 (4.1 KB)
Extracting: E:\syslinux\ifplop.c32 (1.8 KB)
Extracting: E:\syslinux\isohdpfx.bin (432 bytes)
Extracting: E:\syslinux\isolinux.bin (38 KB)
Extracting: E:\syslinux\kbdmap.c32 (1.6 KB)
Extracting: E:\syslinux\kontron_wdt.c32 (4.7 KB)
Extracting: E:\syslinux\ldlinux.c32 (116.9 KB)
Extracting: E:\syslinux\lfs.c32 (5.0 KB)
Extracting: E:\syslinux\libcom32.c32 (165.8 KB)
Extracting: E:\syslinux\libgpl.c32 (66.0 KB)
Extracting: E:\syslinux\liblua.c32 (100.1 KB)
Extracting: E:\syslinux\libmenu.c32 (23.4 KB)
Extracting: E:\syslinux\libutil.c32 (23.3 KB)
Extracting: E:\syslinux\linux.c32 (4.6 KB)
Extracting: E:\syslinux\lpxelinux.0 (73.8 KB)
Extracting: E:\syslinux\ls.c32 (2.9 KB)
Extracting: E:\syslinux\lua.c32 (6.7 KB)
Extracting: E:\syslinux\mboot.c32 (10.6 KB)
Extracting: E:\syslinux\memdisk (26.2 KB)
Extracting: E:\syslinux\meminfo.c32 (2.4 KB)
Extracting: E:\syslinux\menu.c32 (25.6 KB)
Extracting: E:\syslinux\pci.c32 (3.2 KB)
Extracting: E:\syslinux\pcitest.c32 (3.4 KB)
Extracting: E:\syslinux\pmload.c32 (2.9 KB)
Extracting: E:\syslinux\poweroff.c32 (1.6 KB)
Extracting: E:\syslinux\prdhcp.c32 (3 KB)
Extracting: E:\syslinux\pwd.c32 (1.4 KB)
Extracting: E:\syslinux\pxechn.c32 (12.1 KB)
Extracting: E:\syslinux\reboot.c32 (1.3 KB)
Extracting: E:\syslinux\rosh.c32 (13.6 KB)
Extracting: E:\syslinux\sanboot.c32 (1.6 KB)
Extracting: E:\syslinux\sdi.c32 (2.9 KB)
Extracting: E:\syslinux\splash.png (22.1 KB)
Extracting: E:\syslinux\sysdump.c32 (14.5 KB)
Extracting: E:\syslinux\syslinux.c32 (8.6 KB)
Extracting: E:\syslinux\syslinux.cfg (153 bytes)
Extracting: E:\syslinux\vesa.c32 (2.9 KB)
Extracting: E:\syslinux\vesainfo.c32 (2.1 KB)
Extracting: E:\syslinux\vesamenu.c32 (26.1 KB)
Extracting: E:\syslinux\vpdtest.c32 (1.8 KB)
Extracting: E:\syslinux\whichsys.c32 (2.4 KB)
Extracting: E:\syslinux\zzjson.c32 (3.5 KB)
Created: E:\syslinux.cfg → /syslinux/syslinux.cfg
Finalizing, please wait...
Created: E:autorun.inf
Created: E:autorun.ico

Found USB 3.0 device 'Kingston DataTraveler 3.0 USB Device' (0951:1666)
Using 'autorun.inf' label for drive E: 'athena-os'
1 device found
Disk type: Removable, Disk size: 16 GB, Sector size: 512 bytes
Cylinders: 1911, Tracks per cylinder: 255, Sectors per track: 63
Partition type: MBR, NB Partitions: 1
Disk ID: 0x0069C2A5
Drive has a Syslinux Master Boot Record
Partition 1:
  Type: FAT32 LBA (0x0c)
  Detected File System: FAT32
  Size: 14.6 GB (15723659264 bytes)
  Start Sector: 2048, Boot: Yes

@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

Nah, the issue is that Arch recently added a new:

search --no-floppy --set=root --label ARCH_202211

line to their GRUB config script, and since it's new, and we don't replace everything with a label willy-nilly, we don't yet have code in Rufus to patch the search.

This means that, as soon as you don't have a label that matches your FAT partition's there, boot is going to fail.

I have a fix for this which I will commit shortly.

@pbatard pbatard added this to the 3.21 milestone Nov 13, 2022
@pbatard
Copy link
Owner

pbatard commented Nov 13, 2022

This should be fixed now (though I would still advise to follow Arch's example and use a default FAT compliant label for the ISO).

Feel free to test with the artefact from https://github.com/pbatard/rufus/actions/runs/3456902660 once it's built.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants