只占一个扇区的引导器:mbldr

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: 只占一个扇区的引导器:mbldr

#16

帖子 billbear » 2008-12-09 23:36

adagio 写了:你个鼻子熊,光说好好好不算数,俺们看E文头痛得很,你教一下
安装、使用、出错处理,好在哪里,都说一下嘛
:em01
偶就用 win 版的 mbldrgui.exe 装的。图形界面。只是个人偏爱这种完全在 mbr 里的小 bootloader,不一定适合别人。我喜欢把 grub 装在分区引导扇区,又不是特别喜欢用 grldr 在 xp 下引导,所以只能给 ubuntu 一个活动主分区。用这个玩意可以把 ubuntu 弄到逻辑分区去又可以不用 grub4dos。各个 OS 可以平起平坐互相独立而不是谁引导谁,干掉任何一个不会影响其它。
我一向不喜欢各个 OS 之间的启动引导有关联(如果装 xp 和 vista,我也会给他们各自一个不同的 "c 盘",就是两个主分区,我不会让 vista 来引导 xp,这样可以按照任意顺序安装,他们俩就像不知道对方的存在一样。将来我可以随意干掉一个),我喜欢他们都老实呆在自己的分区里互不干涉,由一个独立于操作系统之外的东西(够强大的 mbr)统一调度。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: 只占一个扇区的引导器:mbldr

#17

帖子 billbear » 2008-12-10 0:51

ptptptptptpt 写了::em05 :em05
无意中在 boot-land 看到的
http://www.boot-land.net/forums/index.p ... 0&start=10
16楼


第一次是 chainloader ,死机;
第二次装到移动硬盘,从 usb 启动,仍旧死机;
第三次真正装到了内置硬盘 mbr ,还是死机。

===> 跟我的电脑不兼容。。。 :em20

已经在项目主页留言了,希望能解决。
计时器走吗?时间到能启动默认系统吗?
看看会不会是这个

Q12: What is the difference between system and user timers in the section of timed boot configuration?
A12: The main and most reliable way to configure timed boot is to use so-called "user timer" which corresponds to interrupt 1Ch. But unfortunately some buggy BIOSes (mainly on modern laptops) do not call this interrupt causing timer in mbldr to stand in idle. If you experience problems with timed boot while all other methods work fine (immediate boot, boot by request typing a key, etc.) try to change the timer from "user" to "system" in mbldr configuration.
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: 只占一个扇区的引导器:mbldr

#18

帖子 billbear » 2008-12-10 1:01

Since mbldr is able to boot operating systems from logical disks you may configure MS-DOS and Windows to work in that way. Install Windows to primary partition and then convert it to logical drive (for example using Partition Magic by PowerQuest). It was tested for Windows 98, ME and XP but others should work fine as well.
我想,也许 windows 需要一个主分区的认识不尽正确。也许可以用一种非安装的方式(ghost?)把 "c 盘" 弄到逻辑分区去,然后用 grub4dos chainloader ntldr?
头像
ptptptptptpt
帖子: 3711
注册时间: 2006-09-19 18:16

Re: 只占一个扇区的引导器:mbldr

#19

帖子 ptptptptptpt » 2008-12-10 2:03

billbear 写了:
Since mbldr is able to boot operating systems from logical disks you may configure MS-DOS and Windows to work in that way. Install Windows to primary partition and then convert it to logical drive (for example using Partition Magic by PowerQuest). It was tested for Windows 98, ME and XP but others should work fine as well.
我想,也许 windows 需要一个主分区的认识不尽正确。也许可以用一种非安装的方式(ghost?)把 "c 盘" 弄到逻辑分区去,然后用 grub4dos chainloader ntldr?

恐怕够呛。似乎 ntldr 只会在主分区中寻找 boot.ini。
头像
ptptptptptpt
帖子: 3711
注册时间: 2006-09-19 18:16

Re: 只占一个扇区的引导器:mbldr

#20

帖子 ptptptptptpt » 2008-12-10 2:07

billbear 写了:
ptptptptptpt 写了::em05 :em05
无意中在 boot-land 看到的
http://www.boot-land.net/forums/index.p ... 0&start=10
16楼


第一次是 chainloader ,死机;
第二次装到移动硬盘,从 usb 启动,仍旧死机;
第三次真正装到了内置硬盘 mbr ,还是死机。

===> 跟我的电脑不兼容。。。 :em20

已经在项目主页留言了,希望能解决。
计时器走吗?时间到能启动默认系统吗?
看看会不会是这个

Q12: What is the difference between system and user timers in the section of timed boot configuration?
A12: The main and most reliable way to configure timed boot is to use so-called "user timer" which corresponds to interrupt 1Ch. But unfortunately some buggy BIOSes (mainly on modern laptops) do not call this interrupt causing timer in mbldr to stand in idle. If you experience problems with timed boot while all other methods work fine (immediate boot, boot by request typing a key, etc.) try to change the timer from "user" to "system" in mbldr configuration.

对,作者也说 调一下 timer 选项。我试了,还是不行。

后来发现我用的 1.45 版是非稳定版,于是试了稳定版 1.44 ,可以正常运行。
youminbuluo
帖子: 7
注册时间: 2007-10-03 12:22

Re: 只占一个扇区的引导器:mbldr

#21

帖子 youminbuluo » 2008-12-12 8:23


又发现一个好东西啊
感谢pt
头像
ptptptptptpt
帖子: 3711
注册时间: 2006-09-19 18:16

Re: 只占一个扇区的引导器:mbldr

#22

帖子 ptptptptptpt » 2008-12-12 8:47

youminbuluo 写了:
又发现一个好东西啊
感谢pt
这位潜水员。。。太给面子了。。。 :em05
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 只占一个扇区的引导器:mbldr

#23

帖子 adagio » 2008-12-12 9:44

厉害啊pt,如此资深的潜水员都让你整出来了!
:em06
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
wjjs
帖子: 145
注册时间: 2007-07-08 19:21

Re: 只占一个扇区的引导器:mbldr

#24

帖子 wjjs » 2008-12-15 18:32

mark
:em11
wjjs
帖子: 145
注册时间: 2007-07-08 19:21

Re: 只占一个扇区的引导器:mbldr

#25

帖子 wjjs » 2008-12-15 18:34

正在为error 18头疼时。。。
头像
anriqing
帖子: 189
注册时间: 2008-08-19 12:59

Re: 只占一个扇区的引导器:mbldr

#26

帖子 anriqing » 2008-12-17 20:15

说下我的情况。
我的机器Dell1420,单SATA硬盘,Vista/Ubuntu双系统,Vista安装在第一个分区(当然是主分区兼活动分区兼NTFS分区了),Ubuntu安装在后面的扩展分区(ext3fs)上。
我用的是Windows版本的mbldrgui1.45,用它写入MBR后,能正常引导,计时器,快捷键都很正常。
上次由 anriqing 在 2008-12-17 21:01,总共编辑 1 次。
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386

CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
头像
anriqing
帖子: 189
注册时间: 2008-08-19 12:59

Re: 只占一个扇区的引导器:mbldr

#27

帖子 anriqing » 2008-12-17 20:34

再说说dos下运行的情况,还是1.45版本,我使用可启动U盘进入dos后运行mbldr.exe,提示错误信息如下:

代码: 全选

Load error:no DPMI -Get cspmi*b.zip
然后我到它官网查了一下,找到以下信息:

DOS version requires DPMI interface (it also works under Windows 98 or ME in DOS-emulation mode). DOS version does not work under NT-family of Windows in DOS emulation mode, you need to use special version for Windows 2000/XP/Vista.

DPMI接口是什么?special version是怎样的特别?有人知道是怎么回事吗?
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386

CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
头像
anriqing
帖子: 189
注册时间: 2008-08-19 12:59

Re: 只占一个扇区的引导器:mbldr

#28

帖子 anriqing » 2008-12-17 20:57

OK!Dos版本的也搞定了,在我的机器上完全OK!非常棒。
可以参考这段帮助信息:

Q3: When I run mbldr.exe I see "Load error: no DPMI - get csdpmi*b.zip", what should I do?
A3: It seems you are running mbldr.exe in a pure DOS environment. You need to get DPMS extender in order to run mbldr.exe. You may use free CWS DPMI server (redistributable under the GPL). Release 5 of CWS DPMI could be found at ftp://ftp.delorie.com/pub/djgpp/current ... dpmi5b.zip or here is a local copy. Unpack binaries to the same directory where mbldr.exe is stored and run it once again.

我根据提示的网址下载一个DPMI之后将它的bin目录下的文件拷贝到和mbldr.exe同目录后就可以正常工作了。其实作者应该将它内置到dos版本。

另外,运行的时候需要注意选择硬盘。我是从U盘启动的,直接在dos下输入mbldr半天没有响应,后来查看帮助信息后输入mbldr -d 0x81就OK了。原来默认只输入mbldr它是在读我的U盘。

非常感谢PT!I love this tool so much!

无论是windows版本还是*nix版本的都会有一个限制:当这个系统进不去了该怎么办?那么最方便的当然是DOS咯。我相信以后dos版本会给我非常大的帮助。
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386

CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
头像
ptptptptptpt
帖子: 3711
注册时间: 2006-09-19 18:16

Re: 只占一个扇区的引导器:mbldr

#29

帖子 ptptptptptpt » 2008-12-17 23:21

呵呵,我也很 love 这个 tool 。应该谢作者。
无论是windows版本还是*nix版本的都会有一个限制:当这个系统进不去了该怎么办?那么最方便的当然是DOS咯。我相信以后dos版本会给我非常大的帮助。
dos 确实比较方便。不过,说实在话,我现在不太信任 dos 。

曾遇到这样的情形:dos 下运行 giskgen ,来修复硬盘分区表。本来这个操作我很熟悉,也做过不止一次。然而,有一次很奇怪,搜索、重建分区表,总是不成功。后来没办法,我想,先把找到的分区写进去吧。然而写入失败!试了几次,均是如此。突然我意识到,这次修复的是usb移动硬盘,而以前搞的都是内置硬盘。

我们知道,dos 自身没有 usb 驱动,必须依靠 bios 来读写 Usb 设备。那台电脑 usb 启动兼容性很好,usb-hdd 很容易成功。然而,看起来这么“完美”的主板,在 dos 下操作USB盘还是出了问题。后来移动硬盘还是在 xp 下用 pedit32 搞好的。

还有一次,用 dos 版的 ghost 备份系统,保存到一个 ntfs 分区中,没想到,后来翻遍硬盘,怎么也找不到备份的 gho 文件。

这些经历使得我对 dos 非常不信任。现在基本不用 dos。以前常用的 dos 版 diskgen、pq8、ghost 等都不再用了,系统维护主要用 pe ,用 ghost32 、win pm 等。现在 diskgen 也有了win 版本。linux 下也有分区表修复工具。 dos 只是偶尔用来 fdisk /mbr 一下。即便这个功能,有时候对移动硬盘都会失败。不知各位是否也遇到过。

mbldr 的 windows 安装程序可以在 win pe 中运行。linux版的我没试,想来应该能在 live cd 中运行。所以,我想不必担心 win 或 linux 都挂掉时束手无策。 :em11
头像
anriqing
帖子: 189
注册时间: 2008-08-19 12:59

Re: 只占一个扇区的引导器:mbldr

#30

帖子 anriqing » 2008-12-18 7:49

还有一次,用 dos 版的 ghost 备份系统,保存到一个 ntfs 分区中,没想到,后来翻遍硬盘,怎么也找不到备份的 gho 文件。
我一般都用dos的ghost,你说的这种情况我碰到过。解决的办法是将gho文档放到某个目录下,而不要放到分区根目录下。
我还是觉得dos在很多情况下是非常有用的。
上次由 anriqing 在 2008-12-18 16:27,总共编辑 1 次。
Windows Vista Ultimate SP1 CHS + Ubuntu 8.04.1 desktop i386

CPU:Intel Core 2 Duo T7250 RAM:2048MB DDR2-667
VGA:NVidia Geforce 8400M GS 128MB HD:SumSung 160G 5400R
LAN:Broadcom NetLink WIFI:Intel 3945ABG
WebCam:2.0M
回复