苹果发烧友论坛

 找回密码
 注册
搜索
查看: 3914|回复: 19

[精品] 可以把win装在移动硬盘上么? [复制链接]

kamo 该用户已被删除
发表于 2008-4-8 01:38:35 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

电玩组

シャナ&ラクス=クラ

Rank: 5Rank: 5

最后登录
2011-1-16
在线时间
477 小时
威望
4543 金币
苹果
579
注册时间
2007-4-4
阅读权限
100
帖子
2325
分享
0
精华
0
积分
4543
UID
25070

电玩徽章

发表于 2008-4-8 01:47:03 |显示全部楼层
应该可以吧.
开机按OPTION.选择1下启动盘就好了

应该是这样.不知道是否正确

貌似误导你了.....SORRY.............

[ 本帖最后由 Acedia 于 2008-4-8 03:25 编辑 ]


使用道具 举报

最后登录
2011-7-16
在线时间
1366 小时
威望
793 金币
苹果
776
注册时间
2006-7-24
阅读权限
0
帖子
735
分享
0
精华
2
积分
793
UID
188
发表于 2008-4-8 01:58:23 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
www.appleservice.com.cn

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:22:47 |显示全部楼层
试验了两星期, 失败了。

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:23:35 |显示全部楼层
原帖由 Acedia 于 2008-4-8 01:47 发表
应该可以吧.
开机按OPTION.选择1下启动盘就好了

应该是这样.不知道是否正确

要复杂好多啊。

[ 本帖最后由 pointer 于 2008-4-8 03:42 编辑 ]

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:35:27 |显示全部楼层
第一步, 制作在USB盘安装的XP  CD.
How To:

Summary:

We will dump the contents of your original Windows XP CD , extract a few files from the Image using ISO modification software, edit the files, and put the modified versions back on the ISO. The resulting ISO image is burnt back onto a CD media, and can then directly be used to install Windows on your USB drive.

I am also covering a few pitfalls that happened to me, in hope they will save you a bit of time.



1) Does your computer support booting from USB?

    Usually, if its an option in your BIOS boot sequence menu, the answer to this is yes. If its not there, look for BIOS updates. If you are not sure, proceed and see what happens ;-)

2) Sorting out the "Bootability" of your USB-Drive

    Connect your USB drive to your computer, directly, without a Hub. Then, shut down your computer, disconnect any other hard disk drives from it, and insert your original Windows XP CD into the drive. Start the installation, and proceed to the section where you are allowed to pick a hard drive. If it goes beyond the partition selection, your drive is already fine for booting Windows XP. If not (seems to be the cases with many of the Freecom USB HDDs for example), you will get an error like "Windows is unable to find your drive, partition, data etc bla". This is usually not a big problem. All you need to do is "properly" format the drive. Reboot into your normal Windows, and get this HP tool , and use it to format your HDD completely. I chose NTFS format, worked fine everytime i tried. After this, my drives are recognized as valid installation devices by the Windows XP installer.
    (In fact, i did not manage to create a USB primary partition with FAT32 that was recognized as being installable)

3) Dumping the original Windows CD into an ISO File



    Pretty easy one. Simply open WinISO, and select Actions -> Make ISO from CDROM, and save your CD image.



4) Extracting the files we need to work on



    After the CD dump is done, close and reopen WinISO. Then, open the ISO file you just created using File -> Open.
    Now, click the I386 folder, and select the following files (Ctrl key to multi-select)

        * TXTSETUP.SIF
        * DOSNET.INF
        * USB.IN_
        * USBPORT.IN_
        * USBSTOR.IN_

    Select Actions -> Extract and put the resulting files into some folder to work on them.

5) Unpacking IN_ files





    Use the Cab SDK (from the command line) for extracting the contents of the .IN_ files. Each of them contains exactly one .inf file. If you are unsure how to use the Cab SDK, here is an example command line: "cabarc x USBSTOR.IN_" . You should end up with three new files in the folder, called:

        * usb.inf
        * usbport.inf
        * usbstor.inf

    You can now delete the .IN_ files.

6) Editing the files

    This is the main job. i ll also try to explain a bit whats happening. Use a simple Texteditor like Notepad.

    6-A) TXTSETUP.SIF

        This file is loaded on the initial install step by the Windows XP CD installer. In this file, we will change the way Windows treats USB devices during system setup -- the default is to only treat them as input devices during installation -- we will change this to include mass storage driver support (which needs to be loaded into the installer much earlier in order to work).

        First, move the following entries from [InputDevicesSupport.Load] to the [BootBusExtenders.Load] section , as shown here

         

            [BootBusExtenders.Load]
            pci = pci.sys
            acpi = acpi.sys
            isapnp = isapnp.sys
            acpiec = acpiec.sys
            ohci1394 = ohci1394.sys
            usbehci = usbehci.sys
            usbohci = usbohci.sys
            usbuhci = usbuhci.sys
            usbhub = usbhub.sys
            usbstor = usbstor.sys


            [InputDevicesSupport.Load]
            usbehci = usbehci.sys
            usbohci = usbohci.sys
            usbuhci = usbuhci.sys
            usbhub = usbhub.sys
            usbccgp = usbccgp.sys
            hidusb = hidusb.sys
            serial = serial.sys
            serenum = serenum.sys
            usbstor = usbstor.sys

         

        ... now the same for [BootBusExtenders] and [InputDevicesSupport]

         

            [BootBusExtenders]
            pci = "PCI-Bustreiber",files.pci,pci
            acpi = "ACPI Plug & Play-Bustreiber",files.acpi,acpi
            isapnp = "ISA Plug & Play-Bustreiber",files.isapnp,isapnp
            acpiec = "Integrierter ACPI-Controllertreiber",files.none,acpiec
            ohci1394 = "IEEE-1394-Bus-OHCI-konformer Anschlusstreiber",files.ohci1394,ohci1394
            usbehci = "Erweiterter Hostcontroller",files.usbehci,usbehci
            usbohci = "Open Hostcontroller",files.usbohci,usbohci
            usbuhci = "Universeller Hostcontroller",files.usbuhci,usbuhci
            usbhub = "Standard-USB-Hubtreiber",files.usbhub,usbhub
            usbstor = "USB-Speicherklassentreiber",files.usbstor,usbstor


            [InputDevicesSupport]
            usbehci = "Erweiterter Hostcontroller",files.usbehci,usbehci
            usbohci = "Open Hostcontroller",files.usbohci,usbohci
            usbuhci = "Universeller Hostcontroller",files.usbuhci,usbuhci
            usbhub = "Standard-USB-Hubtreiber",files.usbhub,usbhub
            hidusb = "HID-Parser",files.hidusb,hidusb
            serial = "Treiber f

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:36:55 |显示全部楼层
6-F) new file: USBBOOT.INF

        Create a new file called USBBOOT.INF in the same directory as your other changed files, and put the following content into it:

        [usbservices]

        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","DisplayName",0x00000000,"USB Mass Storage Driver"
        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ErrorControl",0x00010001,1
        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Group",0x00000000,"System Reserved"
        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","ImagePath",0x00020000,"system32\DRIVERS\USBSTOR.SYS"
        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Start",0x00010001,0
        HKLM,"SYSTEM\CurrentControlSet\Services\USBSTOR","Type",0x00010001,1

        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","DisplayName",0x00000000,"USB 2.0 Enhanced Host Controller Miniport Driver"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ErrorControl",0x00010001,1
        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Group",0x00000000,"System Reserved"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","ImagePath",0x00020000,"system32\DRIVERS\usbehci.sys"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Start",0x00010001,0
        HKLM,"SYSTEM\CurrentControlSet\Services\usbehci","Type",0x00010001,1

        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","DisplayName",0x00000000,"USB2 Enabled Hub"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ErrorControl",0x00010001,1
        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Group",0x00000000,"System Reserved"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","ImagePath",0x00020000,"system32\DRIVERS\usbhub.sys"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Start",0x00010001,0
        HKLM,"SYSTEM\CurrentControlSet\Services\usbhub","Type",0x00010001,1

        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","DisplayName",0x00000000,"Microsoft USB Universal Host Controller Miniport Driver"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ErrorControl",0x00010001,1
        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Group",0x00000000,"System Reserved"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","ImagePath",0x00020000,"system32\DRIVERS\usbuhci.sys"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Start",0x00010001,0
        HKLM,"SYSTEM\CurrentControlSet\Services\usbuhci","Type",0x00010001,1

        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","DisplayName",0x00000000,"Microsoft USB Open Host Controller Miniport Driver"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ErrorControl",0x00010001,1
        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Group",0x00000000,"System Reserved"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","ImagePath",0x00020000,"system32\DRIVERS\usbohci.sys"
        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Start",0x00010001,0
        HKLM,"SYSTEM\CurrentControlSet\Services\usbohci","Type",0x00010001,1

         

7) Repack the inf files into their original IN_ format

    If you have not already deleted your extracted .IN_ files, do so now. They need to be replaced. Open a DOS shell again, and navigate to the folder with your changed files. Then exceute the following commands:

    cabarc n USB.IN_ usb.inf
    cabarc n USBPORT.IN_ usbport.inf
    cabarc n USBSTOR.IN_ usbstor.inf

    The three IN_ files should now exist again.

    Congratulations. All out modifications are done.

8) Inject the changed files into the ISO

    Open your Windows CD image again with WinISO. Navigate to the I386 folder, and delete the following files from the ISO, saving the changes to the ISO afterwards:

        * DOSNET.INF
        * TXTSETUP.SIF
        * USB.IN_
        * USBPORT.IN_
        * USBSTOR.IN_

    Just to be sure all is updated in the ISO, cloase and repoen the ISO in WinISO. Now, again go to the I386 folder and select "Add Files". Now add your changed files, in detail:

        * USBBOOT.INF
        * DOSNET.INF
        * TXTSETUP.SIF
        * USB.IN_
        * USBPORT.IN_
        * USBSTOR.IN_

    Save the ISO. You are done.

9) Burn the ISO back to CD

    Feel free to use any burning package you want. I used the free and simple Burnatonce

10) Install Windows XP from the CD



    Shut down your computer. Disconnect ANY internal and external hard drives (so Windows cannot find them during installation and mess up their Master Boot Records hehe). Some computers will have trouble to boot without an internal HDD attached, check in your BIOS and, if possible, remove the HDD from the boot sequence and set the USB Harddisk as the first boot device, and the CDROM as second.

    Also, now connect your USB Harddrive directly to the computer, without any Hubs in between.

    Windows should install just fine, with the exceptions noted below.

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:45:38 |显示全部楼层
一种方案   
1. Install rEFIt.
   2. Create a modified Windows XP install CD with support for USB installation (上面的方法). This is a long procedure. Follow the link, complete steps 1-9, then come back here.
   3. Power off.
   4. Disconnect your internal hard drive. For a MacBook, use this guide.
   5. Start your Mac, holding “c” to boot from the XP install disc.
   6. Step through the Windows text-mode installer until your system reboots.
   7. Power off.
   8. Replace your internal drive.
   9. Power on.
  10. Tell rEFIt to boot Windows from the USB drive.
  11. Follow the Windows graphical installer. Answer yes to any questions about unsigned drivers. The system will reboot again
  12. Tell rEFIt to boot Windows from the USB drive.

使用道具 举报

Rank: 9Rank: 9Rank: 9

最后登录
2012-1-9
在线时间
9238 小时
威望
192945 金币
苹果
8205
注册时间
2006-11-1
阅读权限
255
帖子
5012
分享
0
精华
9
积分
192945
UID
9499

佳作勋章 终身成就勋章

发表于 2008-4-8 02:48:11 |显示全部楼层
我试了, 只能装到07年前的core duo MB上。 所有core2duo都不行。

使用道具 举报

Rank: 2

最后登录
2011-5-23
在线时间
229 小时
威望
161 金币
苹果
150
注册时间
2007-11-9
阅读权限
20
帖子
122
分享
0
精华
0
积分
161
UID
43136
发表于 2008-4-8 06:44:34 |显示全部楼层
如果你用VM 可以说装USB上都可以  如果还想爽一点 装在Time Capsule或者远程服务器上都能正常运作   前提你网速够快......

最后idisk貌似不行...我无聊的安装过.....结果以失败告终.........{114

使用道具 举报

Rank: 7Rank: 7Rank: 7

最后登录
2011-6-10
在线时间
4033 小时
威望
9137 金币
苹果
6430
注册时间
2007-8-8
阅读权限
100
帖子
7733
分享
0
精华
1
积分
9137
UID
35860
发表于 2008-4-8 07:10:29 |显示全部楼层
老九、老毛桃的PE可能可以,完整XP估计不行,
世上无爷们,唯有春哥,李宇春是春哥的使者。

使用道具 举报

kamo 该用户已被删除
发表于 2008-4-8 12:21:14 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

使用道具 举报

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

Archiver|苹果发烧友论坛

GMT+8, 2012-2-5 16:12 , Processed in 0.054232 second(s), 10 queries , Xcache On.

Powered by Discuz! X2 Licensed

© 2001-2011 Comsenz Inc.

回顶部