![]() |
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-08-12 08:03 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » How can grub boot an operating system on SATA? |
| Printable Version 1,463 / 6 |
| Floor1 zhaigy | Posted 2007-12-17 20:57 |
| 新手上路 Posts 3 Credits 8 | |
|
Question for all the experts:
How can grub boot an operating system on SATA?? Also, what do the fallback and map commands mean? There is no problem booting the operating system on IDE, and the BIOS can recognize the SATA hard disk, but how should it be set in grub?? |
|
| Floor2 fastslz | Posted 2007-12-17 21:49 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
title find and load NTLDR of Windows NT/2K/XP title boot from the first partition of the first hard disk title boot NTLDR from the first partition of the first hard disk |
|
| Floor3 zhaigy | Posted 2007-12-17 22:50 |
| 新手上路 Posts 3 Credits 8 | |
|
Thanks to the poster in reply #2, but we can't possibly always know whether the system on the current hard disk is 2000/xp/2003 or vista, so how can we make a menu that guarantees all four systems can boot???
Thanks, it seems to use fallback, but I don't know how to use it. Friends who know, please give some pointers!! |
|
| Floor4 fastslz | Posted 2007-12-17 23:10 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
There is a sample menu.lst in the grub4dos-0.4.3 package.
The problem is that you didn't say the booting rule; which should have priority among 2000/xp/2003/vista? # This is a sample menu.lst file. You should make some changes to it. |
|
| Floor5 fujianabc | Posted 2007-12-18 10:24 |
| 金牌会员 Posts 1,616 Credits 3,467 | |
|
No need to make it this complicated, just do this directly:
map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (hd0)+1 boot |
|
| Floor6 zhaigy | Posted 2007-12-19 11:38 |
| 新手上路 Posts 3 Credits 8 | |
|
What the poster in #5 said still doesn't work, at least on my system with a hidden partition it didn't boot successfully.
I remember there is a command to check all partitions of the system; is it root (hd0 Ah, why doesn't it work?? Thanks/ |
|
| Floor7 fastslz | Posted 2007-12-19 12:30 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
title map the fourth partition of the first hard disk as the first partition of the first hard disk
map --in-situ (hd0,6)+1 (hd0) find --set-root /ntldr chainloader /ntldr boot |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |