Release Engineering

Tasklist

FS#25505 - boot fails to start if the disk label contains a space

Attached to Project: Release Engineering
Opened by seth (xdseth) - Thursday, 11 August 2011, 01:08 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 17 August 2011, 15:24 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To No-one
Architecture i686
Severity Very Low
Priority Normal
Reported Version 2010.05
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I was trying to install arch from a usb disk.
It printed "boot device din't show up after 30 seconds", "job control turned off" and then there was a prompt "[ramfs /]$"
The disk label was "USB DISK" and in /dev/usb/by-label/ there was USB\x20DISC
"mv /dev/usb/by-label/USB* /dev/usb/by-label/USB;exit" solved the problem

Maybe the it's related to this: https://bbs.archlinux.org/viewtopic.php?pid=599823
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Wednesday, 17 August 2011, 15:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in mkinitcpio
Comment by seth (xdseth) - Thursday, 11 August 2011, 03:29 GMT
It's /dev/disk, not /dev/usb
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 11 August 2011, 13:22 GMT
Use a proper/fiendly label. Ascii "A" to "Z" and "_" only (recommended)
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 16 August 2011, 06:56 GMT
If mkfs supports spaces in labels, I think we should too.
After all, aif should be able to display preexisting labels as well.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 16 August 2011, 13:36 GMT
Spaces in filesystems label and filenames are a bit crazy. Anyway, this currently works fine (thanks to mkinitcpio) since this commit d1264eb145c0aa0adc219dfb71fa5d7acc4e26ff thats add support for spaces in kernel command line.

Nothing to fix in archiso.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 17 August 2011, 07:56 GMT
Oh, I thought this was an AIF bug report.
I do think if FS labels are allowed to have spaces, all our tools should support them. just like our tools support filenames with spaces in them.
So to clarify: this bug is fixed, and we support spaces?
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 17 August 2011, 15:21 GMT
Fixed in mkinitcpio (not directly for this purpose, just for supporting arguments with spaces).
Sure spaces and others chars are allowed but not recommended.

Yes, bug indirectly fixed.

Loading...