Originally posted by guanhai at 2007-3-16 10:25:
谢谢回复,你说的GRUB+DeepFreeze,我今天已经试过了,看来效果还成。
我的应用是这样的:硬盘分2个主分区和一个扩展分区,每个主分区上都装有 ...
你分区是在保护卡内分的还是分好区之后插的保护卡?华超的我没用过,所以不清楚。
假如是保护卡内分的话是不可能都被GRUB识别的。保护卡一般会在BIOS自举后取得控制权,然后修改MBR。照你所述,我觉得是保护卡分的区。
如果不是保护卡分的区,是不可能将你所分的每个主分区都保护起来的。
假如这样的话,只能采用deepfreeze之类的逻辑盘保护方式。
或者你可以采用南京科镖出品的硬盘保护卡,他支持多系统,无须GRUB。我在学校机房接触过的保护卡就这一种。抱歉。
如果不用保护卡,可以采用deepfreeze+NTLDR+grub。首先你要保证分区都能被grub识别。
方法是安装一个XP;
或保存一个激活主分区的引导记录为bootsect.dos。
用bootpart.exe重建FAT主分区的NT引导记录,然后把NTLDR,BOOT.INI,NTDETECT.COM,GRLDR,menu.lst拷到这个主分区。
在boot.ini内加入
c:\bootsect.dos="Win9X"
c:\grldr="GRUB"
然后你要编辑一个menu.lst作为GRUB引导菜单。例子可以搜索本论坛。
你可能用到的命令:
hide,unhide
(hd0,0)~hd(0,3)分别对应4主分区。
(hd0,5)... 为逻辑分区。
Originally posted by guanhai at 2007-3-16 10:25:
Thanks for the reply. The GRUB + DeepFreeze you mentioned, I tried it today, and it seems to work.
My application is like this: the hard drive is divided into 2 primary partitions and an extended partition, and each primary partition has installed ...
Did you partition within the protection card or insert the protection card after partitioning? I haven't used Huachao's, so I don't know.
If it's partitioned within the protection card, it's impossible for GRUB to recognize all of them. The protection card generally gains control after BIOS boot and then modifies the MBR. According to what you described, I think it's the partitioned by the protection card.
If it's not partitioned by the protection card, it's impossible to protect each of the primary partitions you divided.
If that's the case, you can only use logic disk protection methods like deepfreeze.
Or you can use the hard disk protection card produced by Nanjing Kebiao, which supports multiple systems and doesn't need GRUB. The only protection card I've come across in school computer labs is this one. Sorry.
If you don't use a protection card, you can use deepfreeze + NTLDR + grub. First, you need to ensure that the partitions can be recognized by grub.
The method is to install an XP;
or save a boot record that activates the primary partition as bootsect.dos.
Use bootpart.exe to rebuild the NT boot record of the FAT primary partition, then copy NTLDR, BOOT.INI, NTDETECT.COM, GRLDR, menu.lst to this primary partition.
Add in boot.ini
c:\bootsect.dos="Win9X"
c:\grldr="GRUB"
Then you need to edit a menu.lst as the GRUB boot menu. Examples can be searched in this forum.
The commands you might use:
hide,unhide
(hd0,0)~hd(0,3) correspond to 4 primary partitions respectively.
(hd0,5)... are logical partitions.