无忧启动论坛

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

使用usboot制作了usbxp的一点体会, 供大家参考

[复制链接]
跳转到指定楼层
1#
发表于 2010-2-6 17:07:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
操作系统: 自定制的 Windows XP professional 英文版 + 多国语言界面 + 手写功能(tabletpc组件)
          自定制的 Windows Server 2003 Enterprise Edition 英文版 + 多国语言界面

硬件环境: Intel Pentium 4 3.0G , 内存 1G ,  希捷IDE 80G 硬盘, 朗科带硬件读写锁 8G U盘 , SanDisk cruzer 8G U盘

使用软件: usboot 2.11 (此版本开始支持1394设备), usboot 2.09

官网下载最新版本(目前2.11)  http://www.usboot.org/tiki-download_file.php?fileId=15
搜索了一下, 这里有 2.11  2.09的下载  http://welcomejzh.blog.xunlei.com/category_427.html

由于我的u盘足够大, 所以操作系统均未进行精简, 只是自定制了用户数据为 Users (像win7,呵呵), 安装后按自己喜欢的方式对桌面进行设定, 将需要安装的软件都安装并设置好.

然后参照置顶的 把XPSP2精简版装进U盘超详细傻瓜教程(非传统方法,一次安装可在不同电脑启动) http://bbs.wuyou.net/forum.php?mod=viewthread&tid=133148&extra=page%3D1 一文进行usboot 的安装.

以下是我的一些体验:

1. 在运行 usboot.cmd phase-0.isc 并填写response code成功后, 建议先备份一下系统, 这样以后再要设置usboot 时就不需要再填写response code了, 以后要重新制作usb系统时只要恢复这个备份, 从usboot.cmd phase-i.isc 开始操作就可以了.  在这里我用ghost备份为 myos-usboot-phase0-ok.gho

2. 使用usboot 2.11 制作 usbXP 在 phase-iii.isc 这一步时, 提示无法建立shadow volume 等字样, 然后就会中止执行, 看了信息以及xp日志, 知道是"Volume Shadow Copy" 相关错误, 但xp的"Volume Shadow Copy"服务我并没有改动过.  这种情况下, 可以关机, 从另一个xp登录, 然后执行 usboot.cmd phase-iii.isc 就可以了. 在这里我懒得挂这个硬盘到另一台xp电脑去操作, 直接使用了u盘版的 ramxp 来操作(我用老毛桃winpe 及 2003pe 下的dos窗口运行 cmd_here.cmd 时会提示 mode 参数错误).

3. 可以把usb系统先做到一个格式化过的\空白的\容量足够的磁盘分区, 然后再拷到u盘, 这样速度要快很多, 也更容易备份新做的usb系统.
   方法是, 在执行到 执行 “usboot phase-III.isc” 前, 先准备好一个格好的空分区, 分区类型 fat32 ntfs 都无所谓, 然后分配一个盘符比如 N: ,之后执行 “usboot phase-III.isc” , 有在这一步:

<space>  copy installation to target system volume (accept only completely empty volume)
  <a>    copy installation to target system volume (accept bin on volume)
  <!>    copy installation to target system volume (accept disjunct content on volume)
  <s>    skip this step

  在选择目标磁盘时按 ! 键 再选择你预先准备好的空磁盘分区 N:

后面的步骤还是和上面说的教程里的一样就可以了, 当提示"Press space to end program ..."后, 把 N: 盘的所有文件都复制到U盘上, 再做好U盘引导就能用了.

4. 制作好 usbxp 并进行第一次启动进入系统时, 发现本机的一些硬件设备似乎没有清除, 为了确保在其他不同硬件配置的电脑上运行, 我自行删除了显卡驱动 光驱驱动及主板的一些驱动(可自行参考 xp封装 等文章), 然后在dos窗口下运行 EWFMGR C: -COMMIT 之后关机, 再把这个u盘的所有文件压缩备份为myusbxp.zip , 这样就像 走自己的路,让PE说去吧! XPSP2打包成RAR直接解压至U盘运行! http://bbs.wuyou.net/forum.php?mod=viewthread&tid=159393&extra=page%3D2 这篇文章的一样了.

5. 在usbxp 系统里, 在xp资源管理器崩溃时, 似乎ewf保护不起作用,此前所作的修改居然被保存起来了. 不过用了多次, 只崩溃了一次, 更具体的没有再深入研究, 反正usbxp坏了重新拷一份到u盘就行了.

6. 使用 usboot 2.11 制作 usb win2003 时没有成功, 在 usboot.cmd phase-ii.isc 成功之后, 重新启动时win2003就一直停留在滚动条画面, 放一天也没用,就卡那了. 重启进dos或pe, 用 2.09 的ubarcgd.sys和ubdrvgd.sys替换掉win2003 system32\drivers的 2.11版同名文件后, win2003可以启动了,接下来的 usboot.cmd phase-iii.isc也不会有问题.

7. 使用 usboot 2.11 安装后的usb系统, 在开机时会显示usboot的相关信息, 不爽的话, 可以用 2.09 的ubarcgd.sys和ubdrvgd.sys替换掉win2003 system32\drivers的同名文件, 再开机就没usboot相关文字
了.

8. 开机时的 usboot 彩色图标, 是 system32\ubsvcgd.sys 这个文件里, 用 ResHacker 来打开, 把位图里仅有的一个图( usboot ) 资源删掉, 保存, 就可以了. 附上修改后的 2.09版文件 http://bbs.wuyou.net/attachment.php?aid=81287

9. U盘可以格为 FAT32 或是 NTFS格式, 只要能引导系统就可以了, 我用的是USB-HDD外加 grub 来引导 /ntldr 进入 usbxp , 这个u盘上我还集成了syslinux(只用于启动0pe) + 老毛桃winpe最终修改版 + ramxp.gz(单文件内存版xp) 等等, 再加上 bootice.exe 0.74(有 PLoP让不支持usb启动的主板能从u盘引导) , 使得u盘的应用范围更广.

大概就这么多了, 希望这些杂七杂八的内容对大家有所帮助.

[ 本帖最后由 wongmokin 于 2010-2-26 17:03 编辑 ]
2#
 楼主| 发表于 2010-2-6 17:09:19 | 只看该作者
  1. 附上我的syslinux.cfg ( 也可用于slax 启动菜单)



  2. PROMPT 0

  3. TIMEOUT 150

  4. DEFAULT /boot/slax/vesamenu.c32

  5. MENU BACKGROUND /boot/slax/slax.png



  6. MENU WIDTH 42

  7. MENU MARGIN 0

  8. MENU ROWS 22

  9. MENU HELPMSGROW 23

  10. MENU TIMEOUTROW 24

  11. MENU TABMSGROW 24

  12. MENU CMDLINEROW 24

  13. MENU HSHIFT 36

  14. MENU VSHIFT 0



  15.     menu color screen    37;40      #00000000 #00000000 none

  16.     menu color border    30;44      #00000000 #00000000 none

  17.     menu color title    1;36;44    #00000000 #00000000 none

  18.     menu color unsel    37;44      #ff60CA00 #00000000 none

  19.     menu color hotkey    1;37;44    #ff60CA00 #00000000 none

  20.     menu color sel        7;37;40    #ffffffff #ff60CA00 none

  21.     menu color hotsel    1;7;37;40  #ff808080 #ff60CA00 none

  22.     menu color scrollbar    30;44      #00000000 #00000000 none



  23.     menu color tabmsg    31;40      #aaaaaaaa #00000000 none

  24.     menu color cmdmark    1;36;40    #ffff0000 #00000000 none

  25.     menu color cmdline    37;40      #aaaaaaaa #00000000 none

  26.     menu color pwdborder    30;47      #ffff0000 #00000000 std

  27.     menu color pwdheader    31;47      #ffff0000 #00000000 std

  28.     menu color pwdentry    30;47      #ffff0000 #00000000 std

  29.     menu color timeout_msg    37;40      #aaaaaaaa #00000000 none

  30.     menu color timeout    1;37;40    #ffaaaaff #00000000 none

  31.     menu color help        37;40      #aaaaaa00 #00000000 none

  32.     menu color msg07    37;40      #90ffffff #00000000 std



  33. LABEL hd0   

  34. MENU LABEL [^1] Boot (hd0,1)

  35. kernel /boot/slax/chain.c32 hd0,1

  36. MENU DEFAULT

  37. TEXT HELP

  38.                                           More about currently selected:



  39.                                           Boot from HDD0 partition 1

  40. ENDTEXT



  41. LABEL mtpe

  42. MENU LABEL [^2] Maotao WinPE (Support SATA & USB)

  43. kernel /boot/syslinux/ldrxpe.bin



  44. LABEL 2k3xpe

  45. MENU LABEL [^3] Win2003 PE (for RAM 256M)

  46. kernel /boot/syslinux/2k3xpe.bin



  47. LABEL 2k4xpe

  48. MENU LABEL [^4] Win2003 PE (for RAM 512M)

  49. kernel /boot/syslinux/2k4xpe.bin



  50. LABEL GHOST83

  51. MENU LABEL [^5] GHOST v8.3

  52. kernel /boot/grub/memdisk

  53. append initrd=/boot/img/ghost83.img



  54. LABEL dosutil

  55. MENU LABEL [^6] DOS Utilities v5.0

  56. kernel /boot/grub/memdisk c=160 h=2 s=36 floppy

  57. append initrd=/boot/img/ar5.img



  58. LABEL grldr

  59. MENU LABEL [^7] start GRUB

  60. kernel /boot/syslinux/mygrldr



  61. LABEL 0pegrldr

  62. MENU LABEL [^8] boot 0PE

  63. kernel /boot/syslinux/0pegrldr.bin



  64. LABEL cdlinux092

  65. MENU LABEL [^9] GNU/CDlinux 0.9.2

  66. kernel /boot/CDlinux/bzImage quiet CDL_IMG=CDlinux.iso CDL_LANG=zh_CN.UTF-8

  67. append initrd=/boot/CDlinux/initrd



  68. MENU SEPARATOR



  69. LABEL xconf

  70. MENU LABEL Slax Graphics mode (KDE)

  71. KERNEL /boot/slax/vmlinuz

  72. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/

  73. TEXT HELP

  74.                                           More about currently selected:



  75.                                           Run Slax the best way we can.

  76.                                           Try to autoconfigure graphics

  77.                                           card and use the maximum

  78.                                           allowed resolution

  79. ENDTEXT





  80. LABEL fresh

  81. MENU LABEL Slax Always Fresh

  82. KERNEL /boot/slax/vmlinuz

  83. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4

  84. TEXT HELP

  85.                                           More about currently selected:



  86.                                           Normally Slax saves all changes

  87.                                           to the /slax/changes/ directory

  88.                                           on the boot media (if writable)

  89.                                           and restores them next time.

  90.                                           Use this option to start fresh

  91.                                           system, no changes are neither

  92.                                           read nor written anywhere

  93. ENDTEXT



  94. LABEL cp2ram

  95. MENU LABEL Slax Copy To RAM

  96. KERNEL /boot/slax/vmlinuz

  97. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw copy2ram autoexec=xconf;telinit~4

  98. TEXT HELP

  99.                                           More about currently selected:



  100.                                           Run Slax the same like above,

  101.                                           but first copy all data to RAM

  102.                                           to get huge speed (needs >300MB)

  103. ENDTEXT



  104. LABEL startx

  105. MENU LABEL Slax Graphics VESA mode

  106. KERNEL /boot/slax/vmlinuz

  107. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=telinit~4 changes=/slax/

  108. TEXT HELP

  109.                                           More about currently selected:



  110.                                           Run Slax with KDE, but skip

  111.                                           gfx-card config. Force 1024x768

  112.                                           using standard VESA driver

  113. ENDTEXT



  114. LABEL slax

  115. MENU LABEL Slax Text mode

  116. KERNEL /boot/slax/vmlinuz

  117. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/

  118. TEXT HELP

  119.                                           More about currently selected:



  120.                                           Run Slax in textmode and start

  121.                                           command prompt only

  122. ENDTEXT

  123. LABEL pxe

  124. MENU LABEL Slax as PXE server

  125. KERNEL /boot/slax/vmlinuz

  126. APPEND initrd=/boot/slax/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw
  127. autoexec=/boot/slax/pxelinux.cfg/start;/boot/slax/pxelinux.cfg/web/start;xconf;telinit~4

  128. TEXT HELP

  129.                                           More about currently selected:



  130.                                           Run Slax as usual, but also

  131.                                           initialize PXE server.

  132.                                           This will allow you to boot Slax

  133.                                           on other computers over network

  134. ENDTEXT





  135. MENU SEPARATOR



  136. LABEL memtest86

  137. MENU LABEL Run Memtest utility

  138. KERNEL /boot/slax/mt86p

  139. TEXT HELP

  140.                                           More about currently selected:



  141.                                           Don't start Slax at all, but

  142.                                           rather run the MemTest utility

  143.                                           to diagnose your computer's RAM

  144.                                           for possible errors

  145. ENDTEXT



  146. LABEL reboot

  147. MENU LABEL Reboot Your Computer

  148. kernel /boot/slax/reboot.c32
复制代码

点评

www.rrksw.com/book/0/966/ 神箓  发表于 2014-8-19 19:53
回复

使用道具 举报

3#
 楼主| 发表于 2010-2-6 17:13:55 | 只看该作者
附上我的 grub 启动菜单

\boot\grub\menu.lst
  1. fontfile /boot/grub/fonts

  2. color blue/green yellow/red white/magenta white/magenta

  3. timeout 30
  4. #default /default
  5. default 2

  6. clear

  7. title find and load NTLDR of Windows NT/2K/XP (HD1 -> HD0)
  8. fallback 1
  9. map (hd0) (hd5)
  10. map (hd1) (hd0)
  11. map --hook
  12. find --set-root /ntldr
  13. chainloader /ntldr
  14. savedefault --wait=5

  15. title find and load NTLDR of Vista/Win7 (HD1 -> HD0)
  16. fallback 1
  17. map (hd0) (hd5)
  18. map (hd1) (hd0)
  19. map --hook
  20. find --set-root /bootmgr
  21. chainloader /bootmgr
  22. savedefault --wait=5

  23. #####################################

  24. title Windows XP (USB)
  25. fallback 1
  26. find --set-root /ntldr.bin
  27. chainloader /ntldr.bin
  28. savedefault --wait=5

  29. title install ubuntu
  30. # put the ubuntu.iso to /
  31. find --set-root /boot/ubuntu/vmlinuz
  32. kernel /boot/ubuntu/vmlinuz root=/dev/ram ramdisk_size=32000 devfs=mount,dall vga=791
  33. initrd /boot/ubuntu/initrd.gz
  34. boot

  35. #####################################################################
  36. # write string "cmdcons" to memory 0000:7C03 in 2 steps:
  37. #####################################################################
  38. # step 1. Write 4 chars "cmdc" at 0000:7C03
  39. write 0x7C03 0x63646D63
  40. # step 2. Write 3 chars "ons" and an ending null at 0000:7C07
  41. write 0x7C07 0x00736E6F
  42. savedefault --wait=2

  43. title find and load IO.SYS of Windows 9x/Me
  44. fallback 3
  45. find --set-root /io.sys
  46. chainloader /io.sys
  47. savedefault --wait=2

  48. title find and boot Mandriva with menu.lst already installed
  49. fallback 4
  50. find --set-root /etc/mandriva-release
  51. savedefault --wait=2
  52. configfile /boot/grub/menu.lst

  53. title find and boot Linux with menu.lst already installed
  54. fallback 5
  55. find --set-root /sbin/init
  56. savedefault --wait=2
  57. configfile /boot/grub/menu.lst


  58. ####################################
  59. title syslinux boot
  60. find --set-root /LDLINUX.SYS
  61. chainloader /LDLINUX.SYS
  62. boot


  63. title slax 6.0.9 (linux)
  64. #root (fd0)
  65. kernel /boot/slax/vmlinuz root=/dev/ram0 rw max_loop=255 init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=6666 slax from=/dev/sda1/slax/ vga=769 autoexec=startx changes=/mnt/sda1/slax/slaxsave.dat
  66. initrd /boot/slax/initrd.gz
  67. boot

  68. title GNU/CDlinux 0.9.2 (ISO emulation)
  69. find --set-root /boot/CDlinux/bzImage
  70. map --mem /boot/CDlinux/CDlinux.iso (hd32)
  71. map --hook
  72. map --status
  73. kernel (hd32)/boot/CDlinux/bzImage quiet CDL_IMG=CDlinux.iso CDL_LANG=zh_CN.UTF-8
  74. initrd (hd32)/boot/CDlinux/initrd
  75. map --unhook
  76. boot

  77. #title CDLinux 0.6.1
  78. #configfile /boot/grub/cdlinux.lst


  79. title Windows XP sp3 Simplified Chinese ( RAM XP )
  80. find --set-root --ignore-floppies /boot/ramxp.gz
  81. map --mem /boot/ramxp.gz (hd0)
  82. map (hd0) (hd5)
  83. map --hook
  84. root (hd0,0)
  85. chainloader (hd0,0)/ntldr


  86. title Win2003 PE (for RAM 256M)
  87. find --set-root /2003PE/2k3xpe
  88. map --hook
  89. chainloader /2003PE/2k3xpe

  90. title Win2003 PE (for RAM 512M)
  91. find --set-root /2003PE/2k4xpe
  92. map --hook
  93. chainloader /2003PE/2k4xpe

  94. title Maotao WinPE (Support SATA & USB)
  95. find --set-root /MINIPE/ldrxpe
  96. map --mem /boot/img/f6.img (fd1)
  97. map --hook
  98. chainloader /MINIPE/ldrxpe


  99. title DOS Utilities 矮人 DOS 工具箱 v5.0
  100. kernel /boot/grub/memdisk.gz c=160 h=2 s=36 floppy
  101. initrd /boot/img/ar5.img
  102. boot

  103. title 硬盘扫描修复MHDD v4.6
  104. kernel /boot/grub/memdisk.gz
  105. initrd /boot/img/mhdd46.img
  106. boot

  107. title 一键 Ghost v11.0.1
  108. kernel /boot/grub/memdisk.gz
  109. initrd /boot/img/ghost11.img
  110. boot

  111. title 一键 Ghost v8.3
  112. kernel /boot/grub/memdisk.gz
  113. initrd /boot/img/ghost83.img
  114. boot

  115. title Acronis True Image Home v10
  116. kernel /boot/acronis/kernel.dat quiet vga=788 ramdisk_size=40000
  117. initrd (/boot/acronis/img10.dat
  118. boot

  119. title Acronis True Image Enterprise Server 9
  120. kernel /boot/acronis/kernel.dat quiet vga=788 ramdisk_size=40000
  121. initrd /boot/acronis/img9srv.dat
  122. boot

  123. title Acronis True Image Echo Enterprise Server 10
  124. kernel /boot/acronis/kernel2.dat quiet vga=788 ramdisk_size=40000
  125. initrd /boot/acronis/img10srv.dat
  126. boot

  127. title Acronis Disk Director Suite v10
  128. kernel /boot/acronis/kernel.dat quiet vga=788 ramdisk_size=40000
  129. initrd /boot/acronis/DiskDire.dat
  130. boot


  131. title MS-DOS v7.10
  132. kernel /boot/grub/memdisk.gz
  133. initrd /boot/img/WIN98SE.IMG
  134. boot

  135. title MS-DOS v6.22
  136. kernel /boot/grub/memdisk.gz
  137. initrd /boot/img/dos622cd.img
  138. boot

  139. title DDR1 内存测试软件
  140. kernel /boot/grub/memdisk.gz
  141. initrd /boot/img/MEMTEST2.IMG
  142. boot


  143. title commandline
  144. savedefault --wait=2
  145. commandline

  146. title floppy (fd0)
  147. chainloader (fd0)+1
  148. rootnoverify (fd0)
  149. savedefault --wait=2


  150. title reboot
  151. savedefault --wait=2
  152. reboot

  153. title halt
  154. savedefault --wait=2
  155. halt
复制代码
回复

使用道具 举报

4#
发表于 2010-2-6 19:27:25 | 只看该作者
可以上传上来试用吗?也很想用03版本,不过,最好是精简的系统,如冷风的03....u盘根本没必要用完全版系统的.........
回复

使用道具 举报

5#
 楼主| 发表于 2010-2-22 09:13:57 | 只看该作者
前些天回家过年去了, 呵呵,乡下无线信号不好,就没上来.

方法见文中提及的各位大侠所述, 我自己做的是为了工作方便做的, 完全版u盘xp是为方便不同的环境需要而做, 所以非常的大, 压缩后都有将近3GB, 所以不方便上传了, 再者也找不到这么大容量的长期稳定的免费网盘啊.
回复

使用道具 举报

6#
发表于 2010-2-22 16:55:29 | 只看该作者
“使用软件: usboot 2.11 (此版本开始支持1394设备), usboot 2.09”

LZ:
请给个usboot 2.11 和  usboot 2.09 下载地址!!
先谢谢了!!!
回复

使用道具 举报

7#
发表于 2010-2-24 09:03:41 | 只看该作者
ramxp.gz(单文件内存版xp)
那边可以找到?
回复

使用道具 举报

8#
 楼主| 发表于 2010-2-24 12:09:00 | 只看该作者
原帖由 kkwy 于 2010-2-24 09:03 发表
ramxp.gz(单文件内存版xp)
那边可以找到?


我以前从这里下载的 http://bbs.wuyou.net/forum.php?mod=viewthread&tid=148670
回复

使用道具 举报

9#
发表于 2010-7-26 13:11:13 | 只看该作者
关于第二项,我补充一下我的体验。
Volume Shadow Copy 需要做在一个系统盘以外的逻辑盘上,所以只有C盘和U盘是无法继续的。
回复

使用道具 举报

10#
发表于 2011-6-15 21:37:29 | 只看该作者

USBOOT

很实用,很好的帖子
回复

使用道具 举报

11#
发表于 2012-5-5 12:19:00 | 只看该作者
好帖!!顶!顶!留名备用!!!谢谢谢谢谢谢……
回复

使用道具 举报

12#
发表于 2012-5-5 13:06:11 | 只看该作者

标题

好帖!!顶!顶!留名备用!!!谢谢谢谢谢谢…&__
回复

使用道具 举报

13#
发表于 2013-2-12 22:55:39 | 只看该作者
整合成功!回帖致谢!
回复

使用道具 举报

14#
发表于 2013-11-30 10:02:27 来自手机 | 只看该作者
你好,还是有个问题,在xp的电脑上可以正常使用,但是在win7的电脑上出现7b蓝屏,求原因
回复

使用道具 举报

15#
发表于 2014-6-11 11:27:15 | 只看该作者
请教楼主,我在做的时候也是第三步老出错,“
2. 使用usboot 2.11 制作 usbXP 在 phase-iii.isc 这一步时, 提示无法建立shadow volume 等字样, 然后就会中止执行, 看了信息以及xp日志, 知道是"Volume Shadow Copy" 相关错误, 但xp的"Volume Shadow Copy"服务我并没有改动过.  这种情况下, 可以关机, 从另一个xp登录, ”请问从另一个XP登入是什么意思,能详细说明吗
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-1 16:52

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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