无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 10594|回复: 17
打印 上一主题 下一主题

Syslinux引导程序的替代品SIBLO

[复制链接]
跳转到指定楼层
1#
发表于 2007-11-18 11:36:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
SIBLO - Simple Boot Loader,此引导程序derived from syslinux,专门针对U盘设计


功能肯定没有grub4dos强大,但是兼容性方面应该继承了syslinux的特点,并且提供了直接启动NTLDR, SETUPLDR.BIN的功能



SIBLO - Simple Boot Loader(c) 2007 Dipl.-Ing. Michael Niederle
(c) 1994-2007 H. Peter Anvin

Last update: May, 19th, 2007
SIBLO is the first working part of the Simplux-Project. (Simplux will be a complete working environment on a USB-stick offering Linux and (optional) Windows functionality. It should work on the majority of modern PC systems without the need of installation and without using builtin drives - not even for swapping.) SIBLO is a boot loader intended to be used with USB-sticks, where several operating systems and tools share one single FAT-formatted partition. It is derived from SYSLINUX by H. Peter Anvin.
download siblo.zip (contains source code and binary files)
1.) LICENSEThis software is available under the GNU Public License. See gpl.txt for further information.
2.) DIFFERENCES TO SYSLINUXCurrently there are three main differences to SYSLINUX:

  • SIBLO can directly start NT-loaders (NTLDR, SETUPLDR.BIN) - so you can boot Windows Live Systems like BartPE from FAT32-formatted USB-sticks of any size (up to 2 terrabyte).
  • SIBLO writes itself into the reserved sectors at the beginning of a partition - there is no boot loader file (with the exception of the configuration file)
  • SIBLO comes with its own installer program
Some compatibility options for old BIOSes were removed. (They surely won't boot from USB ...)
3.) INSTALLATIONThe installation tool is Windows-only.
To install the boot loader onto a partition just call the "install.bat" batch-file with the partition name as its only argument, e.g.
install f:SIBLO is intended to be used with (large) FAT32 formatted USB-Sticks. It will work on FAT16 partitions, too, but will need at least 23 reserved sectors on the partition. By default FAT32 partions will have enough reserved sectors, but FAT16 partitions won't. Under Linux you can specify the number of reserved sectors as an option to the format tools.
A FAT32 "info sector" is left untouched if it is stored immediately behind the boot sector (which is usually the case) otherwise it might get overwritten. In this case the device will still work but IO-performance might suffer.
Despite the fact that the installer works under Windows, big USB-sticks are best formatted using Linux, which offers the option to use small cluster sizes. Cluster size affects performance and waste of space. A cluster size of 2KB (4 sectors) seems to be appropriate.
I'm currently investigating optimal cluster sizes. Maybe not even the size but also the offset of the first cluster from the beginning of the partition might considerably influence stick performance.
File fragmentation is no problem with an USB-stick, because there are practically no seek overheads!
4.) THE CONFIGURATION FILEThe configuration file is named "siblo.cfg" and has the same structure as "syslinux.cfg".
There is currently one single new option (compared to SYSLINUX) for use in configuration files:
  • ntloader
Here is an example siblo.cfg:

prompt 1
timeout 0
default 1
say 1 Linux
say 2 Bart PE
say 3 Bart PE / RAM-Disk
say 4 RAM-Test (memtest86)
say 5 RAM-FS
label 1
  kernel vmlinuz
  append root=/dev/ram0 initrd=initrd.gz PMEDIA=usbflash
label 2
  ntloader setupldr.xp
label 3
  ntloader setupldr.2k3
label 4
  kernel memdisk
  append initrd=memtest.ima
label 5
  kernel ramboot
  append initrd=rbdisk.ima PMEDIA=usbflash


The above example from one of my own USB-sticks uses two different ways of loading BartPE:

  • directly from the stick - using the Windows XP version of "setupldr.bin"
  • from a RAM-Disk - using the Windows 2003 version of "setupldr.bin" (you will also need "ramdisk.sys")
5.) CREATING SIBLO FROM SOURCETo build the boot loader from source you need NASM and Perl. (You will need Perl only, if you want to introduce new keywords.)
To start the build process just call the "build" batch-file.
The installer uses Windows specific function calls to access the partition. It shouldn't be too complicated to replace them with Linux specific function calls to build an installer runable from the Linux command prompt.
To build the installer from source you need a C++-Compiler. The sources contain a project file for Visual Studio .NET but it should be easy to to create a Makefile - there are just three source code files.






[ 本帖最后由 barton 于 2007-11-18 11:45 AM 编辑 ]

siblo.rar

33.56 KB, 下载次数: 706, 下载积分: 无忧币 -2

2#
发表于 2007-11-18 12:17:04 | 只看该作者
收下备用咯,谢谢分享。。。。o(∩_∩)o
回复

使用道具 举报

3#
发表于 2007-11-18 17:38:25 | 只看该作者
谁给翻译一下文档。。。。
回复

使用道具 举报

4#
发表于 2007-11-18 18:02:03 | 只看该作者
咱也收一个备用,学习学习。
回复

使用道具 举报

5#
发表于 2007-11-18 18:29:51 | 只看该作者
收下备用,也许什么时候用的上,呵呵。。。。。。
回复

使用道具 举报

6#
 楼主| 发表于 2007-11-19 11:02:21 | 只看该作者
^_^

syslinux兼容性还是不错的哦

谁用谁知道。。。

是解决grub4dos兼容性问题的替代方案。。。
回复

使用道具 举报

7#
发表于 2007-12-31 20:13:03 | 只看该作者
原帖由 haonan 于 2007-11-18 05:38 PM 发表
谁给翻译一下文档。。。。


SIBLO - 简单启动加载器
(c) 2007年工学硕士。迈克尔·尼德拉
(c) 1994-2007 彼得昂万

最后更新日期: 2007年5月19日

SIBLO是Simplux项目的第一部份...(晕,太长了,还是请楼下的翻译吧)
回复

使用道具 举报

8#
发表于 2007-12-31 20:49:36 | 只看该作者

用翻译翻译的

siblo -简单的B ootL oader(三) 2 007年工学硕士。 Michael Niederle迈克尔niederle
(c) 1994-2007 H. Peter Anvin (三) 1994-2007每小时彼得昂万

Last update: May, 19th, 2007最后更新日期: 5月19日, 2007年
SIBLO is the first working part of the Simplux-Project . siblo是第一份工作的一部分,该simplux项目 。 (Simplux will be a complete working environment on a USB-stick offering Linux and (optional) Windows functionality. It should work on the majority of modern PC systems without the need of installation and without using builtin drives - not even for swapping.) SIBLO is a boot loader intended to be used with USB-sticks, where several operating systems and tools share one single FAT-formatted partition. ( simplux将是一个完整的工作环境,对一个USB棒提供Linux和(可选)的视窗功能,它应工作,对大多数现代PC系统,而不需要安装和使用内嵌式驱动器-甚至没有为交换) 。 s iblo是一个引导装载程序的目的,是用来与USB的棍棒,有几个操作系统和工具都有一个单一的脂肪格式化分割。 It is derived from SYSLINUX by H. Peter Anvin.它是来自syslinux由每小时彼得昂万。
download siblo.zip (contains source code and binary files) 下载siblo.zip (包含源代码和二进制文件)
1.) LICENSEThis software is available under the GNU Public License. 1 ) 。 licensethis软件可按照GNU公共许可证。 See gpl.txt for further information.见gpl.txt为进一步资料。
2.) DIFFERENCES TO SYSLINUXCurrently there are three main differences to SYSLINUX: 2 )的差异,以syslinuxcurrently有三个主要分歧syslinux :


SIBLO can directly start NT-loaders (NTLDR, SETUPLDR.BIN) - so you can boot Windows Live Systems like BartPE from FAT32-formatted USB-sticks of any size (up to 2 terrabyte). siblo可以直接启动新台币-装载机( ntldr , setupldr.bin ) -让您可以启动的W indowsL ive系统,如b artpe从和F AT32格式化的U SB-枝任意大小(最多2 t errabyte) 。
SIBLO writes itself into the reserved sectors at the beginning of a partition - there is no boot loader file (with the exception of the configuration file) siblo写到自己融入了预留部门在年初的一个分区-没有b ootl oader的文件(除配置文件)
SIBLO comes with its own installer program siblo具有自己的安装程序
Some compatibility options for old BIOSes were removed.一些兼容性选择旧的BIOS被拆除。 (They surely won't boot from USB ...) (他们势必无法启动,从USB ... )
3.) INSTALLATIONThe installation tool is Windows-only. 3 ) 。 installationthe安装工具,是仅限于Windows 。
To install the boot loader onto a partition just call the "install.bat" batch-file with the partition name as its only argument, e.g.安装Boot Loader可以到一个分区的正义呼声的" install.bat "批处理文件与分割名称作为其唯一的论点,例如
install f:SIBLO is intended to be used with (large) FAT32 formatted USB-Sticks.安装传真: siblo是打算用来与(大)和FAT32格式化USB的棍棒。 It will work on FAT16 partitions, too, but will need at least 23 reserved sectors on the partition.它将工作,将FAT16分区中,太,但至少需要23个部门保留对分割。 By default FAT32 partions will have enough reserved sectors, but FAT16 partitions won't.默认和FAT32 partions将有足够的预留部门,但将FAT16分区的情况不会这样。 Under Linux you can specify the number of reserved sectors as an option to the format tools.在Linux下,你可以指定若干保留行业作为一个选择的格式工具。
A FAT32 "info sector" is left untouched if it is stored immediately behind the boot sector (which is usually the case) otherwise it might get overwritten. 1和FAT32 "信息部门" ,是留,如果是存放立即背后引导扇区(这是通常的情况) ,否则它可能获得被覆盖。 In this case the device will still work but IO-performance might suffer.在这种情况下,该设备仍然可以工作,但印务局高性能也许会受到影响。
Despite the fact that the installer works under Windows, big USB-sticks are best formatted using Linux, which offers the option to use small cluster sizes.尽管事实是安装工程,在Windows环境下,大的USB -枝,最好是格式化使用Linux ,它提供了选择使用小簇的大小。 Cluster size affects performance and waste of space.簇大小会影响性能和浪费空间。 A cluster size of 2KB (4 sectors) seems to be appropriate.一组大小2 KB ( 4 ) ,似乎是适当的做法。
I'm currently investigating optimal cluster sizes.我目前正在调查最优簇大小。 Maybe not even the size but also the offset of the first cluster from the beginning of the partition might considerably influence stick performance.也许不是连尺寸也抵消了第一组从一开始的分割可能会相当的影响力棒的表现。
File fragmentation is no problem with an USB-stick, because there are practically no seek overheads!文件分割是没有问题的一个USB的坚持,因为还有几乎没有寻求间接!
4.) THE CONFIGURATION FILEThe configuration file is named "siblo.cfg" and has the same structure as "syslinux.cfg" . 4 )配置filethe配置文件命名为" siblo.cfg " ,有相同的结构,作为" syslinux.cfg " 。
There is currently one single new option (compared to SYSLINUX) for use in configuration files:目前有一个单一的新方案(相比syslinux )使用的配置文件:

ntloader
Here is an example siblo.cfg:下面是一个例子siblo.cfg :

prompt 1迅速一日
timeout 0超时0
default 1默认一日
say 1 Linux说的Linux
say 2 Bart PE说二巴特体育
say 3 Bart PE / RAM-Disk例如3巴特聚乙烯/ RAM的磁盘
say 4 RAM-Test (memtest86)说,四羊试验( memtest86 )
say 5 RAM-FS例如5 RAM的财政司司长
label 1标签一日
  kernel vmlinuz内核vmlinuz
  append root=/dev/ram0 initrd=initrd.gz PMEDIA=usbflash附录根= / dev/ram0的initrd = initrd.gz pmedia = usbflash
label 2标签二日
  ntloader setupldr.xp ntloader setupldr.xp
label 3标签三日
  ntloader setupldr.2k3 ntloader setupldr.2k3
label 4标签四日
  kernel memdisk内核memdisk
  append initrd=memtest.ima附上的initrd = memtest.ima
label 5标签五日
  kernel ramboot内核ramboot
  append initrd=rbdisk.ima PMEDIA=usbflash附上的initrd = rbdisk.ima pmedia = usbflash


The above example from one of my own USB-sticks uses two different ways of loading BartPE:上面的例子从一个我自己的USB接口枝采用了两种不同的方法加载bartpe :


directly from the stick - using the Windows XP version of "setupldr.bin"直接从坚持-使用W indowsX P版本的" s etupldr.bin"
from a RAM-Disk - using the Windows 2003 version of "setupldr.bin" (you will also need "ramdisk.sys")从RAM的盘-它使用了W indows2 003操作系统的" s etupldr.bin" (你还需要" r amdisk.sys" )
5.) CREATING SIBLO FROM SOURCETo build the boot loader from source you need NASM and Perl. 5 )创造siblo从sourceto建设Boot Loader可以从源代码,你需要nasm和Perl 。 (You will need Perl only, if you want to introduce new keywords.) (你需要的Perl只,如果你想引入新的关键字) 。
To start the build process just call the "build" batch-file.开始构建过程只是称之为"建立"批处理文件。
The installer uses Windows specific function calls to access the partition.安装程序使用Windows操作系统的具体功能调用,以获取分割。 It shouldn't be too complicated to replace them with Linux specific function calls to build an installer runable from the Linux command prompt.它不应该太复杂,以取代他们与Linux的具体功能调用,以建立一个安装程序runable从Linux命令提示符。
To build the installer from source you need a C++-Compiler.建立安装程序从源代码,你需要一个C + +的编译器。 The sources contain a project file for Visual Studio .NET but it should be easy to to create a Makefile - there are just three source code files.来源包含一个项目文件,为Visual Studio 。 NET的,但它应该会很容易解决,以创造一个Makefile中-有三个源代码文件。


[ 本帖最后由 barton 于 2007-11-18 11:45 AM 编辑 ] [ 本帖最后由巴顿于2007年11月18日上午11时45分编辑 ]
回复

使用道具 举报

9#
发表于 2007-12-31 20:52:23 | 只看该作者

无语

黏贴无用 直接看链接吧
回复

使用道具 举报

10#
发表于 2007-12-31 20:52:45 | 只看该作者
回复

使用道具 举报

11#
发表于 2007-12-31 21:49:01 | 只看该作者
原帖由 barton 于 2007-11-19 11:02 AM 发表
^_^

syslinux兼容性还是不错的哦

谁用谁知道。。。

是解决grub4dos兼容性问题的替代方案。。。

我用过,我知道兼容性确实不错。 ^_^
回复

使用道具 举报

12#
发表于 2008-1-1 02:29:25 | 只看该作者
原帖由 huangdi99 于 2007-12-31 08:52 PM 发表
http://translate.google.com/translate?u=http%3A%2F%2Fbbs.wuyou.net%2Fviewthread.php%3Ftid%3D116584&langpair=en|zh-CN

刚刚阅读过它的源代码,发现它至少存在下面的问题不太适合于U盘启动:
它安装时是安装到分区引导扇区的,而不是MBR,这样就需要一个健壮的MBR代码来支持它。而现在最常见的对U盘分区格式化的方法一般都是使用WinXP的,然而WinXP的MBR代码不支持LBA方式访问,从而容易造成U盘USB-HDD方式启动不成功,按照木桶原理来说启动的成功可能性存在薄弱环节。
它的前身:SYSLINUX就不是这样了,它可以安装到MBR中,这样系统启动过程“尽在掌握”,不会“受制于人”。
回复

使用道具 举报

13#
发表于 2008-1-1 10:39:17 | 只看该作者
这样就需要一个健壮的MBR代码来支持它。


这个健壮的MBR的重任就交给楼上的大侠了……
回复

使用道具 举报

14#
发表于 2008-1-2 22:23:32 | 只看该作者
原帖由 无优处男 于 2008-1-1 10:39 AM 发表


这个健壮的MBR的重任就交给楼上的大侠了……

这事不必找我,前人已经做好了,我们只要利用它就行了,不必重新发明轮子。比如install-mbr包或者win98的fdisk中带的那个。
我的意思是这种事情本应由boot loader一站式搞定,结果现在还要求用户对采用哪个MBR代码有足够的判断能力。SIBLO在这点上可算不上是一个成熟的东西。

[ 本帖最后由 wangjg 于 2008-1-2 10:25 PM 编辑 ]
回复

使用道具 举报

15#
发表于 2008-1-15 14:27:02 | 只看该作者
这个东西太好了,解决了我很久以来没有解决的问题
回复

使用道具 举报

16#
发表于 2008-1-31 23:40:36 | 只看该作者
收下,春节假试一下!谢谢!
回复

使用道具 举报

17#
发表于 2008-8-7 16:37:28 | 只看该作者
这个看起来不错,学习一下。
回复

使用道具 举报

18#
发表于 2009-4-20 03:07:50 | 只看该作者
咱也收一个备用,学习学习。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-18 06:20

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表