Computer/ETC.2013. 8. 19. 22:09

윈도 설치 디스크를 외장 하드로 옮기는 또 하나의 방법..


bootsect 로 destination disk 의 boot code 를 갱신하고 설치 디스크의 모든 파일을 destination disk 로 복사한다. 윈도를 설치하려는 컴퓨터가 USB Booting 을 지원한다면 윈도 설치 프로그램이 실행되도록 부팅이 된다.


bootsect.exe 는 윈도 설치 디스크의 boot 디렉토리에 있다.

/nt52 또는 /nt60 옵션(노랑색 음영 부분 참조)을 지정한 뒤 destination disk 의 drive letter 를 지정하고 실행한다.

예:

bootsect /nt60 e:

설치하려는 OS 가 비스타 또는 서버 2008 이후의 버전(윈 7, 8 모두 여기에 해당)이고, 설치 디스크의 내용을 e: 로 복사하면 된다. 설치 디스크의 root 에서 bootmgr 파일을 찾을 수 있다.


항상 유닉스 계열 터미널만 쓰다보니 솔직히 윈도에 cmd 는 잘 모르겠다.. 그래도 가끔 쓸 일이 있을 것 같기에, 기록을 남겨둠..


아래는 bootsect /help 의 내용...

-------------------------------------------------------------------------------------------

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


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, Windows Server 2008 or later.


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.


/mbr    Updates the Master Boot Record without changing the partition table on

        sector 0 of the disk that contains the partition specified by SYS, ALL,

        or drive letter.  When used with /nt52 option, the master boot record

        is compatible with operating systems older than Windows Vista.  When

        used with the /nt60 option, the master boot record is compatible with

        Windows Vista, Windows Server 2008 or later.


Example:


To apply the master boot code that is compatible with NTLDR to the volume

labeled E:, use the following command:


bootsect /nt52 E:



Posted by Adward

댓글을 달아 주세요