-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Error: Invalid device label #1506
Comments
We do sanitize labels (see here), so your assumption that we simply forgot to filter unallowed characters is wrong. Especially I am not seeing any issue with a FreeDOS drive labelled Please provide a log, because I have no idea where you are getting your error from. You are not above following the checklist, even if you (erroneously) think you know what the problem is. At the very least, please indicate where exactly you are seeing that |
I tried formatting with a volume label of 7.8 in Windows when I entered 7.8 , I received the warning "Invalid input: volume names FAT and FAT32 the volume label cannot contain the following characters: *? / \ | . ,; : + = [] <> " The reason is found: In the Russian version of the interface, rufus tries to write the label 7.8 on that - it is indicated in the "Volume label" field and we get an error, but in the English version of the interface the program displays the label in the "Volume label" 7.8 field and writes label 7_8 and the error is not generated. |
I still don't see it even when switching to Russian Please provide your full log (you can access it with Ctrl-L or by clicking the last small icon left of 'START'), and tell me exactly what you enter in the 'Volume label' field. |
|
Thanks. Now I'm starting to see a bit clearer at last. I wish you had provided your log from the start, because the one important line is this:
I need to look into it some more, but at least now I have a starting point to try to understand the issue. |
This will be fixed in the next release. |
* If a converted label contains mostly underscore, the proposed label is used for FAT32 instead. However this label still has the KB/MB/GB symbols localized so it may be invalid. * Ensure that we use a non-localized version of the size when using such a label. * Closes pbatard#1506. * Also fix a VS2019 static analysis warning in net.c.
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. |
When creating a boot disk WITHOUT LABEL, for example "Freedos", Rufus sets the volume label, for example "New 7.8GB volume label (set by the size of the disk)" after process which it gives an "Error: Invalid device label" and you have to change it manually. If I remember correctly, on FAT and FAT32 the volume label cannot contain the following characters (this restriction does not apply to NTFS):
*? / \ | . ,; : + = [] <> "
The text was updated successfully, but these errors were encountered: