Hướng dẫn tạo dual boot của win 7 và win 8.
1. Tạo VHD
Đầu tiên, nhấn win + r để mở hộp Run. Sau đó gõ diskmgmt.msc nhấn enter
Bảng điều khiển MMC xuất hiện, tại đây bạn sẽ thấy tiện ích diskmanager đi kèm theo.
Để tạo một VDH mới, nhấn menu Action trên thanh Toolbar, sau đó chọn Create VHD:
Chọn nới lưu VDH, chọn dung lượng ban đầu tối thiểu là 20G, Chọn chế độ fix size để có hiệu suất hoạt động tốt hơn.
Sau đó, đợi windows tạo VDH cho bạn.
Sau khi chạy hoàn tất, ở cứng ảo này sẽ hiện ra trong phần partion tại cửa sổ disk manager. Nhấn chuột phải vào parttion vừa mới tạo chọn Initialize Disk:
Tiếp theo nhấn OK .
Tại đây, ta sẽ tạo volume cho partion này. Nhấn chuột phải vào phần vùng màu đen chọn new simple volume.
Đặt tên cho new volume thành windows 8, nhấn next rồi finish.
Và VDH của chúng ta có thể hoạt động như 1 partion thật sự.
2. Cài đặt win 8 trên VDH
Việc đầu tiên cần làm ở đây là mở PowerShell (Start Menu >All Programs >Accessories >Windows Powershell) dưới quyền Administrator:
Khi PowerShell khởi động, các bạn cần phải thay đổi chính sách thực thi để cho phép tài khoản người dùng chạy đoạn script cần thiết. Gõ lệnh “Set-ExecutionPolicy RemoteSigned”, hệ thống sẽ hiển thị thông báo với nhiều tùy chọn, nhấn Y và nhấn Enter để xác nhận. Và sau khi hoàn tất, giữ nguyên cửa sổ PowerShell như lúc ban đầu:
Sau đó download file Install-WindowsImage.ps1 bằng link dưới đây.
[DLL]fshare.vn/file/TNFG92DJ1T
[/DLL]
Nhấn chuột phải vào file dowload về chọn properties, nhấn nút Unlock:
Kết hợp với file .ISO của win 8 mà bạn có. Sau đó quay trở lại power shell và gõ lệnh "CD C:\”
Tiếp theo gõ lệnh :
Khi hoàn tất, hệ thống sẽ báo như sau:
Sau đó, mở cmd lên và gõ lệnh:
Giả sử I:\ là ổ cài windows.
Và sau khi hoàn tất, trong lần reboot máy tiếp theo, hệ thống sẽ hiện ra 2 windows song song cho bạn chọn.
1. Tạo VHD
Đầu tiên, nhấn win + r để mở hộp Run. Sau đó gõ diskmgmt.msc nhấn enter
![dualbootwindows78-02.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-02.jpg)
Bảng điều khiển MMC xuất hiện, tại đây bạn sẽ thấy tiện ích diskmanager đi kèm theo.
![dualbootwindows78-03.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-03.jpg)
Để tạo một VDH mới, nhấn menu Action trên thanh Toolbar, sau đó chọn Create VHD:
![dualbootwindows78-04.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-04.jpg)
Chọn nới lưu VDH, chọn dung lượng ban đầu tối thiểu là 20G, Chọn chế độ fix size để có hiệu suất hoạt động tốt hơn.
![dualbootwindows78-05.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-05.jpg)
Sau đó, đợi windows tạo VDH cho bạn.
![dualbootwindows78-06.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-06.jpg)
Sau khi chạy hoàn tất, ở cứng ảo này sẽ hiện ra trong phần partion tại cửa sổ disk manager. Nhấn chuột phải vào parttion vừa mới tạo chọn Initialize Disk:
![dualbootwindows78-07.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-07.jpg)
Tiếp theo nhấn OK .
![dualbootwindows78-08.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-08.jpg)
Tại đây, ta sẽ tạo volume cho partion này. Nhấn chuột phải vào phần vùng màu đen chọn new simple volume.
![dualbootwindows78-09.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-09.jpg)
Đặt tên cho new volume thành windows 8, nhấn next rồi finish.
![dualbootwindows78-10.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-10.jpg)
Và VDH của chúng ta có thể hoạt động như 1 partion thật sự.
![dualbootwindows78-11.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-11.jpg)
2. Cài đặt win 8 trên VDH
Việc đầu tiên cần làm ở đây là mở PowerShell (Start Menu >All Programs >Accessories >Windows Powershell) dưới quyền Administrator:
![dualbootwindows78-12.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-12.jpg)
Khi PowerShell khởi động, các bạn cần phải thay đổi chính sách thực thi để cho phép tài khoản người dùng chạy đoạn script cần thiết. Gõ lệnh “Set-ExecutionPolicy RemoteSigned”, hệ thống sẽ hiển thị thông báo với nhiều tùy chọn, nhấn Y và nhấn Enter để xác nhận. Và sau khi hoàn tất, giữ nguyên cửa sổ PowerShell như lúc ban đầu:
![dualbootwindows78-13.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-13.jpg)
Sau đó download file Install-WindowsImage.ps1 bằng link dưới đây.
[DLL]fshare.vn/file/TNFG92DJ1T
[/DLL]
Nhấn chuột phải vào file dowload về chọn properties, nhấn nút Unlock:
![dualbootwindows78-15.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-15.jpg)
Kết hợp với file .ISO của win 8 mà bạn có. Sau đó quay trở lại power shell và gõ lệnh "CD C:\”
![dualbootwindows78-16.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-16.jpg)
Tiếp theo gõ lệnh :
Mã:
[COLOR=#993300][I][FONT=Courier New].\Install-WindowsImage.ps1 –WIM D:\Sources\Install.wim –Apply –Index 1 –Destination I:\[/FONT][/I][/COLOR]
![dualbootwindows78-18.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-18.jpg)
Sau đó, mở cmd lên và gõ lệnh:
Mã:
[B]bcdboot.exe I:\Windows[/B]
![dualbootwindows78-19.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-19.jpg)
Và sau khi hoàn tất, trong lần reboot máy tiếp theo, hệ thống sẽ hiện ra 2 windows song song cho bạn chọn.
![dualbootwindows78-20.jpg](https://file.vfo.vn/hinh/2014/10/dualbootwindows78-20.jpg)