|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『楼 主』:
[求助]GRUB如何才能啓動第二個主分區的windows? hd(0,1)?
使用 LLM 解释/回答一下
已經這樣了:兩個主分區都是FAT格式,518MB,目前第一個分區是激活的。
title DOS/Win9x on (hd0,0)
root (hd0,0)
chainloader +1
title DOS/Me/2K on (hd0,1)
rootnoverify (hd0,1)
chainloader +1
選擇第二項時死機!
如果加上makeactive則返回錯誤的信息。
我想:雖然第二分區沒有激活,但是hd0,1表示它不錯吧?
在Linux知識寶庫網站上我就看到了這樣的寫法;莫非那些個玩Linux的,機器上就沒MS測試一下?
It has been like this: both primary partitions are in FAT format, 518MB, and currently the first partition is active.
title DOS/Win9x on (hd0,0)
root (hd0,0)
chainloader +1
title DOS/Me/2K on (hd0,1)
rootnoverify (hd0,1)
chainloader +1
It freezes when selecting the second item!
If you add makeactive, it returns an error message.
I think: Although the second partition is not active, but hd0,1 means it's okay?
I saw such a writing on the Linux Knowledge Base website; could it be that those who play Linux didn't test on MS machines?
|
|
2004-8-26 00:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
另外:問一下compile文件、patch、和1-5結尾的文件是否必須要?一定要自己編譯嗎?
Additionally: Ask about whether the compile files, patch, and files ending with 1-5 are necessary? Do I have to compile them myself?
|
|
2004-8-26 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
死机的原因是 windows 自乱阵脚(不知道你用什么版本的windows).
当一个主分区激活时, windows 有可能试图把它当作 C: 盘, 由此可能引起混乱.
GRUB 有几个专门的命令来对付这一情况, 比如 makeactive, hide partition 等, 你首先研究一下.
在 linux 下敲入 info grub 命令可以看详细的 GRUB 命令解释.
-------------
如果你不编译, 你就用不上那些文件, 它们是给那些自己看源代码的人用的.
你只需要 grub.exe 就够了(DOS下), 或者只要有 GRLDR 一个文件就够了(NT/2K/XP下)
The causes of system freeze are that Windows gets into a muddle (I don't know what version of Windows you are using).
When a primary partition is activated, Windows may try to treat it as drive C:, which may cause confusion.
GRUB has several specific commands to deal with this situation, such as makeactive, hide partition, etc. You can study them first.
Typing the info grub command under Linux can view detailed explanations of GRUB commands.
-------------
If you don't compile, you won't be able to use those files. They are for those who look at the source code by themselves.
You only need grub.exe (under DOS), or only one file GRLDR is enough (under NT/2K/XP)
|

因为我们亲手创建,这个世界更加美丽。 |
|
2004-8-26 00:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
hide unhide這兩個命令吧?我已經試過噢!hide (hd0,0)隱藏第一個分區;unhide (hd0,1)顯示第二個分區;是這樣用麽?實踐的結果是:第一個分區被隱藏了,但第二個分區依然是隱藏的!機器上原來的D盤變成了C盤。 死機的原因是:現在的C盤不是可引導的分區。難道是GRUB不能顯示PM隱藏的分區?好像沒有其他的GRUB命令處理這個問題?!另外:後來我打開PM打算顯示一個分區時,發現第一個分區依然標記為:ACTIVE——不是說必須有一個主分區是處在顯示狀態的嗎?怎麽會兩個主分區都被隱藏呢?
The hide and unhide commands? I've tried it! hide (hd0,0) hides the first partition; unhide (hd0,1) shows the second partition; is it used like this? The result of practice is: the first partition is hidden, but the second partition is still hidden! The original D drive on the machine has become the C drive. The reason for the crash is: the current C drive is not a bootable partition. Could it be that GRUB can't display partitions hidden by PM? It seems there are no other GRUB commands to handle this problem?! Also: later I opened PM to display a partition, and found that the first partition is still marked as: ACTIVE——It is said that there must be a primary partition in the displayed state, how can both primary partitions be hidden?
|
|
2004-8-28 00:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 5 楼』:
[求助] 老大:出事了!
使用 LLM 解释/回答一下
前天我在激活第二個分區的情況下在grub命令行下操作,當時我企圖引導第一分區的系統,使用了命令hide (hd0,1) unhide (hd0,0),結果啓動不成功,發現:第一分區已經顯示了,而第二分區卻沒有隱藏。接著我又重復試了兩次,突然發現擴展分區全都不見了!
情急之下錯用了不支持多主個主分區的工具來修復,分區更壞了,後來我幾乎花了一整天的時間才挽回損失。
現在我想問的是:上述兩次都是對第二主分區處理失敗引起的,而同樣的操作在第一個主分區上卻完全正常。這是否是GRUB的問題呢?
The day before yesterday, I was operating in the GRUB command line with the second partition activated. At that time, I attempted to boot the system of the first partition and used the commands hide (hd0,1) unhide (hd0,0). As a result, the boot was not successful. It was found that the first partition was already visible, but the second partition was not hidden. Then I repeated the operation twice, and suddenly all the extended partitions disappeared!
In a panic, I mistakenly used a tool that does not support multiple primary partitions to repair, and the partition was damaged even more. Later, it took me almost a whole day to retrieve the loss.
Now I want to ask: Both times above were failures in handling the second primary partition, while the same operation on the first primary partition was completely normal. Is this a problem with GRUB?
|
|
2004-8-28 00:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
莫非是我的問題太簡單了?沒人理睬~
Could it be that my question is too simple? No one pays attention~
|
|
2004-9-6 00:00 |
|
|
aria
高级用户
   
积分 924
发帖 243
注册 2003-7-9
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
有可能(hd0,1)是扩展分区而不是主分区吧先输入"(hd0," 再按Tab键查看一下
It is possible that (hd0,1) is an extended partition rather than a primary partition. First, type "(hd0," and then press the Tab key to check.
|
|
2004-9-6 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我不敢说 GRUB 没问题. 但是你自己的问题可能是主要的.
如果你只用 hide / unhide , 你的分区不会遭到破坏的.
我猜想你的扩展分区可能是被你隐藏了, 因而好像不见了.
你的问题确实不很复杂, 只要细心一些, 你自己就可以解决的.
I don't dare to say that GRUB is fine. But your own problem may be the main one.
If you only use hide/unhide, your partitions won't be damaged.
I guess your extended partition may have been hidden by you, so it seems to be gone.
Your problem is really not very complicated. As long as you are more careful, you can solve it by yourself.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2004-9-7 00:00 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我的錯!hd(0,1)果然是擴展分區!現在才搞清楚原來分區便表是這樣排的:第一主分區擴展分區(第二主分區第三主分區)其它邏輯分區……費了這麽大勁才搞清楚,真是來之不易呀!
My mistake! hd(0,1) is indeed an extended partition! Now I finally understand that the partition table is arranged like this: the first primary partition, extended partition (second primary partition, third primary partition), and other logical partitions... It took so much effort to figure it out, it's really hard-won!
|
|
2004-9-13 00:00 |
|