|
From: | Sam Mingo |
Subject: | GRUB wikipedia page incorrect |
Date: | Sat, 08 Mar 2014 19:53:33 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hi, I'd update this myself but I'm unclear how GRUB 2 actually works now, and the Wikipedia page seems to be describing how it works incorrectly. AFAIK GRUB2 did away with the Stage 1.5. https://en.wikipedia.org/wiki/GNU_GRUB#GRUB_version_2_.28GRUB.29 Specifically these bullets. - Stage 1: boot.img is stored in the master boot record (MBR), or optionally in any of the volume boot records (VBRs), and addresses the next stage by an LBA48 address (the 1024 cylinder boundary of GRUB legacy is omitted); at installation time it is configured to load the first sector of core.img. - Stage 1.5: core.img is by default written to the sectors between the MBR and the first partition, when these sectors are free and available. For legacy reasons, the first partition of a hard drive does not begin at sector 1 (counting begins with 0) but at sector 63, leaving a gap of 62 sectors of empty space. That space is not part of any partition or file system, and therefore not prone to any problems related with it. Once executed, core.img will load its configuration file and any other modules needed, particularly file system drivers; at installation time, it is generated from diskboot.img and configured to load the stage 2 by its file path. - Stage 2: files belonging to the stage 2 are all being held in the /boot/grub directory, which is a subdirectory of the /boot directory specified by the Filesystem Hierarchy Standard (FHS). Please let me know if I can help make these edits. Thanks, -Sam |
[Prev in Thread] | Current Thread | [Next in Thread] |