Grub :Разница между (hd0 )и (ata0)

Это решил сам Александр. :)Резюме из списка рассылки:

Aleksander:

That is just an informative message. MM is not touching that interface for anything, it's just saying it cannot be used as part of a modem, as there is no control port. No udev rule to ignore the device will be hit, because MM is not even trying to use the device. That is definitely nothing to worry about.

Is MM really hanging the boot process? What exactly are you seeing? Any actual logs you can share?

At one time, it did appear to be MM hanging the boot process because once MM was removed, the boot hang was also removed. Now, it seems MM is not the culprit!*
Now, I only wonder, is it necessary that MM provide the informative message at all?

I think that message is not debug, and I agree that it may be a bit confusing to see it :D I'll see what I can do to silence those.

-- Aleksander

1
29.06.2020, 01:00
2 ответа

Имена устройств с hd— это ваши дисковые устройства, представленные системной прошивкой, независимо от того, является ли эта прошивка BIOS или UEFI.

Имена устройств с ataотносятся к прямой поддержке ATA, т. е. GRUB напрямую управляет контроллером диска, вообще не задействуя системную прошивку. В руководстве GNU GRUB сказано:

Direct ATA/AHCI support allows to circumvent various firmware limitations but isn’t needed for normal operation except on baremetal ports.

1
18.03.2021, 23:24

Кто-то дал мне объяснение в IRC..

  • hd0 означает, что grub использует загрузочную прошивку для загрузки диска
  • ata0 означает, что используются собственные драйверы дисков grub.

Чтобы получить ata0, просто запуститеgrub-install --disk-module=native /dev/sdX...

0
18.03.2021, 23:24

Теги

Похожие вопросы