惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Latest news
Latest news
T
The Exploit Database - CXSecurity.com
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
B
Blog
T
Threat Research - Cisco Blogs
罗磊的独立博客
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Proofpoint News Feed
P
Palo Alto Networks Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
T
Tor Project blog
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
Recorded Future
Recorded Future
D
DataBreaches.Net
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
B
Blog RSS Feed
Scott Helme
Scott Helme
P
Proofpoint News Feed
V
Vulnerabilities – Threatpost
A
Arctic Wolf
Help Net Security
Help Net Security
L
LINUX DO - 最新话题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Vercel News
Vercel News
AWS News Blog
AWS News Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
S
Schneier on Security
Hacker News: Ask HN
Hacker News: Ask HN
N
Netflix TechBlog - Medium
L
LangChain Blog
博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
M
MIT News - Artificial intelligence
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
W
WeLiveSecurity

博客园 - 冰原雪龙

IIS7和json 添加行的VBA小程序 - 冰原雪龙 - 博客园 SQL Server 2005 输入框不能输入中文问题 如何恢复Windows Vista/XP双启动菜单 flex2,富客户端,B/S结构的新方向?(原创) 更改SQL表的所有者 项目申报系统策划 C#中调用IE打开某文档 - 冰原雪龙 - 博客园 最近学习AJAX和版本控制,收集到的网站 终于用上了版本控制工具Subversion,感觉真不错。 系统:远程登录用户管理小技巧 终于考完研了,是该把一些积了一个月的事了结一下的时候了。 ·转贴·正则表达式的应用技巧 [转贴]正则表达式从入门到精通 ASP.Net下的数据访问层的封装(C#) 今年一定要考上研究生,努力看英语中……编程方面也要努力 好不容易,明天终于要回家了 不知不觉,离创建这个BLOG已经过了不短的时间 刚建了Blog,写个东西留念
修复VISTA启动菜单故障(原创)
冰原雪龙 · 2006-11-09 · via 博客园 - 冰原雪龙


--某日心血来潮,想装个VISTA来噍噍,就下了个Beta2 5384中文版,安装倒还顺利,花了一个多小时,谁知道启动没几次,就OVER了,系统都进不了,只剩下一个开机选择Old Version Windows和VISTA双启动的菜单,而且还是VISTA优先启动,晕,于是就想把这个菜单搞掉。。。

--用启动盘进入DOS,使用fdisk /mbr 结果重启后发现无论是VISTA还是WinXP,都说引导失败,进不了,更晕。

--用番茄花园的启动盘,里面有一项叫修复启动故障的选项,选它以后可以正常进入WinXP,不过不用那张启动盘,还是进不了系统,治标不治本啊。

--Baidu一下这个问题,找到如下提示:

boot目录下的fixfat和fixntfs可能是用来修复XP或者LONGHORN的引导代码的,其命令行帮助为:

C:\boot\ntldr.bak>fixfat /?

Usage: fixfat -xp|-lh [-rmv] [-all]
Replaces FAT bootcode on FAT-formatted partitions.
        -xp     - Use XP-compatible bootcode.
        -lh     - Use Longhorn-compatible bootcode.
        -rmv    - Replace bootcode on removable (floppy) disks (default is hard disks)
        -all    - Replace on all partitions (default is only system partition)

C:\boot\ntldr.bak>fixntfs

Usage: fixntfs -xp | -lh [-all]
Replaces NTFS bootcode on NTFS-formatted partitions.
        -xp  - Use XP-compatible bootcode.
        -lh  - Use Longhorn-compatible bootcode.
        -all - Replace on all partitions (default is only system partition)

这两个命令都需要运行在NT环境下。

--在XP下启动CMD,运行fixfat.exe,它叫我去VISTA的安装盘中找Bootsect.exe来修复启动故障

--找来VISTA启动光盘,dir,有个Boot文件夹,进去,然后。。。

J:\boot>bootsect /help

bootsect {/help|/nt60|/nt52} {SYS|ALL|<DriveLetter>:} [/force]

Boot sector restoration tool

Bootsect.exe updates the master boot code for hard disk partitions in order to
switch between BOOTMGR and NTLDR.  You can use this tool to restore the boot
sector on your computer.

/help   Displays these usage instructions.

/nt52   Applies the master boot code that is compatible with NTLDR to SYS,
        ALL, or <DriveLetter>.  The operating system installed on SYS, ALL, or
        <DriveLetter> must be older than Windows Vista.

/nt60   Applies the master boot code that is compatible with BOOTMGR to SYS,
        ALL, or <DriveLetter>.  The operating system installed on SYS, ALL, or
        <DriveLetter> must be Windows Vista or WindowsServer "Longhorn".

SYS     Updates the master boot code on the system partition used to boot
        Windows.

ALL     Updates the master boot code on all partitions.  ALL does not
        necessarily update the boot code for each volume.  Instead, this
        option updates the boot code on volumes that could be used as Windows
        boot volumes, which excludes any dynamic volumes that are not
        connected with an underlying disk partition.  This restriction is
        present because boot code must be located at the beginning of a disk
        partition.

<DriveLetter> Updates the master boot code on the volume associated with this
        drive letter.  Boot code will not be updated if either 1)
        <DriveLetter> is not associated with a volume or 2) <DriveLetter> is
        associated with a volume not connected to an underlying disk
        partition.

/force  Forcibly dismounts the volume(s) during the boot code update.  You
        should use this option with caution.

        If Bootsect.exe cannot gain exclusive volume access then the file
        system may overwrite the boot code before the next reboot.
        Bootsect.exe always attempts to lock and dismount the volume before
        each update.  When /force is specified, a forced dismount is attempted
        if the initial lock attempt fails.  A lock can fail, for example, if
        files on the target volume are currently opened by other programs.

        When successful, a forced dismount allows exclusive volume access and
        a reliable boot code update even though the initial lock failed.  At
        the same time, a forced dismount invalidates all open handles to files
        on the target volume.  This could result in unexpected behavior from
        the programs that opened these files.  Therefore, you should use this
        option with caution.

Example:

To apply the master boot code that is compatible with NTLDR to the volume
labeled E:, use the following command:

bootsect /nt52 E:

--于是尝试修复C盘的WinXP系统,执行下列指令。。。

J:\boot>bootsect /nt52 c:
Target volumes will be updated with NTLDR compatible bootcode.

C: (\\?\Volume{6b5d8980-0f64-11db-a678-806d6172696f})

    Updated FAT32 filesystem bootcode.  The update may be unreliable since the
    volume could not be locked during the update:

Bootcode was successfully updated on all targeted volumes.

--重启机器,成功,那个该死的启动菜单已经不见了。。。哈哈