Opened 13 months ago
Last modified 13 months ago
#17659 assigned bug
EFI fat filesystem prepared by fat fs-shell tool invalid
Reported by: | kallisti5 | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/beta3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
[kallisti5@freeframe rune]$ fsck.fat /dev/loop0p1 fsck.fat 4.2 (2021-01-31) There is no label in boot sector, but there is volume label 'Haiku Boot' stored in root directory 1) Copy volume label from root directory to boot sector 2) Remove volume label from root directory [12?q]? 1 *** Filesystem was changed *** The changes have not yet been written, you can still choose to leave the filesystem unmodified: 1) Write changes 2) Leave filesystem unchanged [12?q]? 1 /dev/loop0p1: 12 files, 324/16343 clusters
This isn't a problem to mount it, but rune and the fat tools can't properly detect the volume label.
Change History (5)
comment:1 by , 13 months ago
comment:2 by , 13 months ago
Summary: | EFI fat filesystem prepared by new internal filesystem tool invalid → EFI fat filesystem prepared by fat fs-shell tool invalid |
---|
comment:3 by , 13 months ago
The problem appears to be here: https://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/file_systems/fat/mkdos.cpp#n551
We write the volume label to the root directory, but not the boot sector of the partition.
Looking at dosfstools example here: https://github.com/dosfstools/dosfstools/blob/1da41f0e70dcbfb874e8191c639b91fa58205ea4/src/boot.c#L578
comment:4 by , 13 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
oh.. easy fix lol. we write "NO NAME " to the bootsector, but then give the root the actual name
Note:
See TracTickets
for help on using tickets.
before fsck:
after fsck repair: