When first getting in touch with GRUB, there is no need to worry about files like stage1 and stage2. The files in the /boot/grub/ directory are used to install GRUB into the MBR.
Among the files in the /boot/grub/ directory, only menu.lst is worth paying attention to; the others can be set aside for the time being.
When grub.exe starts, it automatically looks for the file (hd0,0)/boot/grub/menu.lst. If it finds that file, it enters the menu interface; if it does not find it, it enters the grub command prompt interface.
(hd0,0) indicates a disk partition. In (hd0,0), hd0 indicates BIOS hard disk number 0x80, that is, hexadecimal 80,
and the 0 after the comma in (hd0,0) indicates partition number 0 on that disk.
GRUB.exe and the menu.lst file can be placed anywhere, and the two of them do not have to be in the same directory. However, by default, grub.exe always looks for (hd0,0)/boot/grub/menu.lst as the menu.
You need to learn GRUB's disk partition notation a bit.
Among the files in the /boot/grub/ directory, only menu.lst is worth paying attention to; the others can be set aside for the time being.
When grub.exe starts, it automatically looks for the file (hd0,0)/boot/grub/menu.lst. If it finds that file, it enters the menu interface; if it does not find it, it enters the grub command prompt interface.
(hd0,0) indicates a disk partition. In (hd0,0), hd0 indicates BIOS hard disk number 0x80, that is, hexadecimal 80,
and the 0 after the comma in (hd0,0) indicates partition number 0 on that disk.
GRUB.exe and the menu.lst file can be placed anywhere, and the two of them do not have to be in the same directory. However, by default, grub.exe always looks for (hd0,0)/boot/grub/menu.lst as the menu.
You need to learn GRUB's disk partition notation a bit.
因为我们亲手创建,这个世界更加美丽。
