|
cmleo
初级用户
 
积分 23
发帖 12
注册 2009-2-5
状态 离线
|
『楼 主』:
vista&dos双系统启动如何自动切换《急》
使用 LLM 解释/回答一下
实现以下功能:
在vista系统下如何实现下次启动进入DOS.
反之在dos下如何实现下次启动进入vista系统.
How to achieve booting into DOS next time under Vista system. Conversely, how to achieve booting into Vista system next time under DOS.
|
|
2009-2-8 16:14 |
|
|
Qtwdftxvt
初级用户
 
积分 190
发帖 101
注册 2008-11-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
最好是使用 grub,将 grub 安装至 mbr,然后搞一个 menu.lst 就 OK了。
It's best to use GRUB, install GRUB to the MBR, and then make a menu.lst.
|
|
2009-2-13 15:20 |
|
|
cmleo
初级用户
 
积分 23
发帖 12
注册 2009-2-5
状态 离线
|
『第 3 楼』:
谢谢 已完成
使用 LLM 解释/回答一下
不过在windows vista 下装 光盘版dos 时不能更改mbr 否则 不能达到相互转化的目的 不知道为什么?
But when installing the CD version of DOS under Windows Vista, you cannot change the MBR, otherwise the purpose of mutual conversion cannot be achieved. I don't know why.
|
|
2009-2-17 23:20 |
|
|
coastline
初级用户
 
积分 41
发帖 20
注册 2005-9-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
深山红叶的 Vista/Windows XP 引导模式切换程序
或2楼的方法:制作菜单-应是最佳方案
Deep Mountain Red Leaf's Vista/Windows XP Boot Mode Switching Program
Or the method on the 2nd floor: Making a menu - should be the best solution
|
|
2009-2-19 10:35 |
|
|
Sufone
中级用户
  
积分 256
发帖 124
注册 2007-12-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
【摘自grub4dos教程】
1 grub4dos初级教程-入门篇
1.3 如何安装grub4dos?
1.3.4 通过Windows VISTA/Window 7的启动菜单进入grub4dos
用批处理自动把grub4dos装入Vista启动项(非MBR)。
把grub4dos装入Vista启动项,比装入MBR相对来说要安全。
【对于vista系统,不能通过fdisk /mbr来恢复mbr,这样会造成vista无法启动。】
关于手动把grub4dos装入Vista的启动项的方法,网上有一些介绍。比起winxp修改Boot.ini来,操作要麻烦不少。
主要就是操作过程中要产生一个ID号【如:b88a2da4-0a4e-11dc-813a-00e04c75ef59】,需要手动输入3次,实在是麻烦。
下面的批处理自动完成整个装入操作。
说明:
1,批处理与grldr.mbr在同一目录时,自动复制grldr.mbr文件到系统根目录,否则需自行复制。
2,启动项里添加上grub4dos项后,需把准备好的menu.lst和grldr文件复制到C:\下(也可放到其它分区根目录)。
-------------------------------
安装批处理
@echo off
rem by lianjiang
cls
echo.
echo 请以管理员身份运行。
echo.
pause
set gname=GRUB for DOS
set vid=
set timeout=5
bcdedit >bcdtemp.txt
type bcdtemp.txt | find "\grldr.mbr" >nul && echo. && echo BCD启动项中已有grub4dos的项目,无需再安装。&& pause && goto exit
bcdedit /export "Bcd_Backup" >nul
bcdedit /create /d "%gname%" /application bootsector >vid.ini
for,/f,"tokens=2 delims={",%%i,In (vid.ini) Do (
set vida=%%i
)
for,/f,"tokens=1 delims=}",%%i,In ("%vida%") Do (
set vid={%%i}
)
echo %vid%>vid.ini
bcdedit /set %vid% device partition=%systemdrive% >nul
bcdedit /set %vid% path \grldr.mbr >nul
bcdedit /displayorder %vid% /addlast >nul
bcdedit /timeout %timeout% >nul
if exist grldr.mbr copy grldr.mbr %systemdrive%\ /y && goto exit
echo.
echo 稍后请自行把grldr.mbr拷贝到%systemdrive%\根目录
echo.
pause
:exit
del bcdtemp.txt >nul
-------------------------------
卸载批处理
@echo off
rem by lianjiang
cls
echo.
echo 要求存在用安装批处理安装时自动保存的临时文件。
echo.
echo 请以管理员身份运行。
echo.
pause
set vid=
set timeout=5
if exist Bcd_Backup bcdedit /import "Bcd_Backup" >nul&& goto 1
if not exist vid.ini (
echo.
echo 因相关文件被删,不能自动删除启动项项目,只能手动删除。
echo.
pause
goto exit
)
for,/f,"tokens=1",%%i,In (vid.ini) Do (
set vid=%%i
)
bcdedit /delete %vid% /cleanup >nul
bcdedit /timeout %timeout% >nul
:1
del vid.ini >nul
if exist %systemdrive%\grldr.mbr (
attrib -h -s -r %systemdrive%\grldr.mbr >nul
del %systemdrive%\grldr.mbr >nul
)
:exit
-------------------------------
### From grub4dos Tutorial
1. grub4dos Beginner's Tutorial - Introductory Section
1.3 How to Install grub4dos?
1.3.4 Enter grub4dos through the Boot Menu of Windows VISTA/Window 7
Automatically load grub4dos into the Vista boot item (not MBR) using a batch script.
Loading grub4dos into the Vista boot item is relatively safer compared to loading it into the MBR.
【For Vista system, you cannot restore the MBR by fdisk /mbr, which will cause Vista to fail to boot.】
There are some introductions on the Internet about the manual method of loading grub4dos into the Vista boot item. Compared with modifying Boot.ini in WinXP, the operation is much more complicated.
The main thing is that an ID number needs to be generated during the operation, and it needs to be entered manually 3 times, which is really troublesome.
The following batch script automatically completes the entire loading operation.
Instructions:
1. When the batch script and grldr.mbr are in the same directory, the grldr.mbr file is automatically copied to the system root directory; otherwise, it needs to be copied manually.
2. After adding the grub4dos item in the boot item, copy the prepared menu.lst and grldr files to C:\ (can also be placed in the root directory of other partitions).
-------------------------------
Installation Batch Script
@echo off
rem by lianjiang
cls
echo.
echo Please run as an administrator.
echo.
pause
set gname=GRUB for DOS
set vid=
set timeout=5
bcdedit >bcdtemp.txt
type bcdtemp.txt | find "\grldr.mbr" >nul && echo. && echo There is already a grub4dos item in the BCD boot item, no need to install again.&& pause && goto exit
bcdedit /export "Bcd_Backup" >nul
bcdedit /create /d "%gname%" /application bootsector >vid.ini
for /f "tokens=2 delims={" %%i In (vid.ini) Do (
set vida=%%i
)
for /f "tokens=1 delims=}" %%i In ("%vida%") Do (
set vid={%%i}
)
echo %vid%>vid.ini
bcdedit /set %vid% device partition=%systemdrive% >nul
bcdedit /set %vid% path \grldr.mbr >nul
bcdedit /displayorder %vid% /addlast >nul
bcdedit /timeout %timeout% >nul
if exist grldr.mbr copy grldr.mbr %systemdrive%\ /y && goto exit
echo.
echo Please copy grldr.mbr to the root directory of %systemdrive%\ later
echo.
pause
:exit
del bcdtemp.txt >nul
-------------------------------
Uninstallation Batch Script
@echo off
rem by lianjiang
cls
echo.
echo It is required that there is a temporary file automatically saved when the installation batch script is used for installation.
echo.
echo Please run as an administrator.
echo.
pause
set vid=
set timeout=5
if exist Bcd_Backup bcdedit /import "Bcd_Backup" >nul&& goto 1
if not exist vid.ini (
echo.
echo Because the relevant files are deleted, the boot item project cannot be deleted automatically, and it can only be deleted manually.
echo.
pause
goto exit
)
for /f "tokens=1" %%i In (vid.ini) Do (
set vid=%%i
)
bcdedit /delete %vid% /cleanup >nul
bcdedit /timeout %timeout% >nul
:1
del vid.ini >nul
if exist %systemdrive%\grldr.mbr (
attrib -h -s -r %systemdrive%\grldr.mbr >nul
del %systemdrive%\grldr.mbr >nul
)
:exit
|
|
2009-2-19 11:33 |
|
|
cmleo
初级用户
 
积分 23
发帖 12
注册 2009-2-5
状态 离线
|
『第 6 楼』:
如何用一段批处理(ghost)制作dos与vista双系统的image~~
使用 LLM 解释/回答一下
dos与vista双系统怎样利用ghost制作image~~
本人利用grub 装的双系统
请问如何快速的制作image 保证可用
谢谢!
How to use Ghost to make an image for a dual system of DOS and Vista?
I installed the dual system using grub. Please tell me how to quickly make an image to ensure it is usable. Thanks!
|
|
2009-2-19 21:39 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2009-2-20 12:07 |
|
|
cmleo
初级用户
 
积分 23
发帖 12
注册 2009-2-5
状态 离线
|
『第 8 楼』:
目的已达到 谢谢
使用 LLM 解释/回答一下
谢谢 大家 学习了不少!~·
Thanks everyone, learned a lot!~·
|
|
2009-3-3 11:55 |
|
|
cmleo
初级用户
 
积分 23
发帖 12
注册 2009-2-5
状态 离线
|
『第 9 楼』:
ok了~
使用 LLM 解释/回答一下
通过对ghost得研究 现在已经实现功能!~
通过如下批处理实现:Ghost-clone,mode={copy│load│dump},src={drive│file│drive:partition},dst={dri-ve│file│drive:partition}/fro/fx/rb/f32/Z(n)/sure
Through the research on Ghost, the following functions have been realized! ~
Realized through the following batch processing: Ghost-clone, mode={copy│load│dump}, src={drive│file│drive:partition}, dst={drive│file│drive:partition}/fro/fx/rb/f32/Z(n)/sure
|
|
2009-3-3 12:01 |
|
|
ben1314
初级用户
 
积分 25
发帖 16
注册 2007-10-27 来自 河南新乡
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
5楼的同志 很厉害 顶下
Comrade on floor 5 is very capable, give a thumbs up
|
|
2009-3-18 22:07 |
|