无忧启动论坛

标题: 放在C盘的GRUB4DOS,怎么启动U盘? [打印本页]

作者: 2013abcdefg    时间: 2014-10-16 11:17
标题: 放在C盘的GRUB4DOS,怎么启动U盘?
放在C盘的GRUB4DOS,怎么启动U盘?
这样?(好像不太科学)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
作者: 不才    时间: 2014-10-16 11:35
嘿嘿,简单的说说
首先得保证你的bios能识别出你的u盘,之后就是让g4d去寻找只有你的u盘上才有的东东,这样便能定位u盘;后面的事情楼主自己yy吧。
作者: 2013abcdefg    时间: 2014-10-17 08:59
可行,不通用。如果能引导UD区的GRUB也可以
作者: lbw2007    时间: 2014-10-17 21:51
马克,我做过试验,一旦g4d从硬盘启动,就不认U盘了,一定要到系统里才能看到
作者: 826773297    时间: 2014-10-17 22:03
这个好,如果实现了,那就可以用硬盘来引导U盘了,给力啊
作者: 俊采星驰    时间: 2014-10-17 23:42
稍学点grub4dos命令,能进入命令行就可以了。find,root,chainloader,boot,搞定。
作者: mdyblog    时间: 2014-10-23 13:28
本帖最后由 mdyblog 于 2014-10-23 13:31 编辑

#用新版grubd4os

title Boot U grldr/menu.lst
    usb --init || set _=
    map (hd0) (hd1) && map (hd1) (hd0) && map --rehook
    if exist (hd0)/grldr  root (hd0) && chainloader /grldr  && boot
    if exist (hd0)/menu.lst root (hd0) && configfile /menu.lst  && boot
    if exist (hd0,0)/grldr  root (hd0,0) && chainloader /grldr  && boot
    if exist (hd0,0)/menu.lst root (hd0,0) && configfile /menu.lst  && boot
    if exist (hd0,1)/grldr  root (hd0,1) && chainloader /grldr  && boot
    if exist (hd0,1)/menu.lst root (hd0,1) && configfile /menu.lst  && boot
    if exist (hd0,2)/grldr  root (hd0,2) && chainloader /grldr  && boot
    if exist (hd0,2)/menu.lst root (hd2,2) && configfile /menu.lst  && boot
    if exist (hd0,3)/grldr  root (hd0,3) && chainloader /grldr  && boot
    if exist (hd0,3)/menu.lst root (hd0,3) && configfile /menu.lst  && boot
    if exist (hd0,4)/grldr  root (hd0,4) && chainloader /grldr  && boot
    if exist (hd0,4)/menu.lst root (hd0,4) && configfile /menu.lst  && boot
    if exist (hd0,5)/grldr  root (hd0,5) && chainloader /grldr  && boot
    if exist (hd0,5)/menu.lst root (hd0,5) && configfile /menu.lst  && boot
    if exist (hd0,6)/grldr  root (hd0,6) && chainloader /grldr  && boot
    if exist (hd0,6)/menu.lst root (hd0,6) && configfile /menu.lst  && boot
    if exist (hd0,7)/grldr  root (hd0,7) && chainloader /grldr  && boot
    if exist (hd0,7)/menu.lst root (hd0,7) && configfile /menu.lst  && boot
    if exist (hd0,8)/grldr  root (hd0,8) && chainloader /grldr  && boot
    if exist (hd0,8)/menu.lst root (hd0,8) && configfile /menu.lst  && boot
    chainloader (hd0,0)+1 && root (hd0,0) && boot
    chainloader (hd0,1)+1 && root (hd0,1) && boot
    chainloader (hd0,2)+1 && root (hd0,2) && boot
    chainloader (hd0,3)+1 && root (hd0,3) && boot


#我常这么用U盘的。

作者: pseudo    时间: 2014-10-24 21:06
在BIOS里设置第一启动是从硬盘启动,第二启动是从U盘启动。
从硬盘启动进入grub4dos,执行
boot -1
命令可转u盘启动。
作者: pseudo    时间: 2014-10-24 21:07
在BIOS里设置第一启动是从硬盘启动,第二启动是从U盘启动。
从硬盘启动进入grub4dos,执行
boot -1
命令可转u盘启动。
作者: 2013abcdefg    时间: 2014-10-25 16:48
谢谢老大!
grub4dos 0.4.6a 可以在启动之初(加载 grldr 之前)加载 usb2.0 驱动,使被 BIOS 识别为软盘的 u 盘支持 LBA  读写;

这里说的使被 BIOS 识别为软盘的 u 盘支持 LBA  读写
是否意思就是说可以用这个版本的GRUB启动U盘?




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3