Bug 5016 - fedora flash drive detect as mac OS
: fedora flash drive detect as mac OS
Status: CONFIRMED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: Konstantin Vlasov
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-06 20:24 MSK by Vladimir Potapov
Modified: 2015-02-11 17:00 MSK (History)
0 users

See Also:
RPM Package: grub
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Potapov 2015-02-06 20:24:48 MSK
1) Insert flash drive with fedora 21 to usb-port
2) update grub menu

See two items in menu (MacOS).
But
1) It's removable drive!
2) It's fedora, no MacOS!
Comment 1 Vladimir Potapov 2015-02-06 20:26:23 MSK
P.S. Fedora flash writed by rosa-imagewriter
Comment 2 Konstantin Vlasov 2015-02-06 21:41:32 MSK
Fedora Live image contains the Apple partition table. I'm not sure there is anything I can do, this is indeed a valid MacOS bootable device.
Comment 3 Vladimir Potapov 2015-02-07 04:02:37 MSK
(In reply to comment #2)
> Fedora Live image contains the Apple partition table. I'm not sure there is
> anything I can do, this is indeed a valid MacOS bootable device.
But it's removable drive.
Comment 4 Konstantin Vlasov 2015-02-09 15:23:12 MSK
(In reply to comment #3)
> But it's removable drive.

"Removable drive" is a very vague term nowadays. USB flash, USB HDD, USB SSD, eSATA HDD/SSD, SATA HDD/SSD - they all are hotplug devices and can be treated as "removable".

I probably could exclude all USB devices from adding to the boot manu, but what if user has a permanently attached USB HDD and boot from it regularly?
Comment 5 Vladimir Potapov 2015-02-09 15:30:43 MSK
If user use removable drive permanently, user must use boot loader from it's removable disk.
Comment 6 Konstantin Vlasov 2015-02-09 15:52:41 MSK
(In reply to comment #5)
> If user use removable drive permanently, user must use boot loader from it's
> removable disk.

If you need to do it regularly, it's much more convenient when you have an entry in your main boot menu and just select it, instead of having to tap furiously F9 or whatever key is used on this specific computer (also requiring you to always remember that key - different for different computers).

And even putting that aside, I have two questions:
1) How do other grub2-based Linux OSes behave in this situation?
2) Again, what is "removable drive"? All modern drives are removable, just by design. And I can tell you in advance, that it is technically impossible to distinguish between eSATA, and normal SATA - these are just two different outputs for absolutely identical bus/protocol, but one is "removable" and the other is "fixed"...
Comment 7 Vladimir Potapov 2015-02-11 17:00:35 MSK
Исследовал проблему
1) В кубунте так же
2) Проблема не в том, что подцепляет removable драйвы, а в том, что подцепляет нерабочие строчки в граб - если их выбрать, загрузки не происходит.
Т.е. просто можно исправить определение разделов мака на более валидное.