![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-10 22:05 |
47,815 topics / 349,922 posts / today 2 new / 48,285 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Question: How should I get started learning to use grub for dos |
| Printable Version 4,302 / 15 |
| Floor16 不点 | Posted 2004-04-30 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
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. |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |