[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB wikipedia page incorrect

From: Andrey Borzenkov
Subject: Re: GRUB wikipedia page incorrect
Date: Sun, 9 Mar 2014 23:29:52 +0400

В Sat, 08 Mar 2014 19:53:33 -0500
Sam Mingo <address@hidden> пишет:

> 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.

While grub2 does not use terms stage1, stage1.5, stage2, description is
correct - functionally boot.img corresponds to stage1, core.img to
stage1.5 and all other module files comprise what would be stage2 in
grub legacy. Such comparison may actually help someone with grub legacy
background to better understand grub2.

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]