Summary: | [gptboot] Doesn't boot with GPT when # of entries over than 128. | ||
---|---|---|---|
Product: | Base System | Reporter: | Yeong.Hun, Jo <jyhpsycho> |
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | ae |
Priority: | Normal | ||
Version: | 10.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Yeong.Hun, Jo
2014-02-06 17:50:00 UTC
Responsible Changed From-To: freebsd-amd64->freebsd-fs reclassify. Using more entries to pad out the table isn't the normal way to handle 4k alignment. You can just leave a gap before the start of freebsd-boot. Having the sectors "free" vs having them contain zero'd GPT entries doesn't really make a difference. One question is when does the boot break? Does it make it into the loader and break trying to boot the kernel? Does it make it into gptboot and break trying to load the loader? -- John Baldwin That's right. Actually there's no any differences - between "free" sectors to "empty entries". In most cases 128 entries will be sufficient I said before. And I know that's not preferred way to align partitions. But, GRUB2 works even that cases. Of course that isn't GNU extension. Because of there's no any differences except total entry count, I think it should be work. I think there's some problem loading freebsd-boot partition. When I selected USB stick at boot menu, I can't see anything except black screen and it reboots immediately. If it boots correctly, it should display loading screen - rotating animation - and (if freebsd-ufs partition exists and /boot populated) Greeting message such as "BTX Loader 1.00 BTX Version is 1.02", then "Welcome to FreeBSD". I checked that behavior with work cases(128 entries, different boot partition's start location), and I found that it should display "rotating animation" even there's not exist later-step bootloader files in /boot; In that case, it automatically reboots after shows that animation because there's no freebsd-ufs partition. * I'm first use of FreeBSD's bug reporting system and it causes some confusion to me. I replied same mail to John, but not bug-followup system and I guess it is what my reply doesn't seen on bug tracking system. I hope that send reply mail to this address is right... *** This bug has been marked as a duplicate of bug 175086 *** |