Sunday, August 28, 2011

[Tutorial] Cách tạo đĩa Windows 7 SP1 tất cả trong 1 (Windows 7 SP1 AIO) | Cach tao dia Windows 7 SP1 tat ca trong 1 (Windows 7 SP1 AIO)

[Tutorial] Cách tạo đĩa Windows 7 SP1 tất cả trong 1 (Windows 7 SP1 AIO) | Cach tao dia Windows 7 SP1 tat ca trong 1 (Windows 7 SP1 AIO)

Các bạn hay thấy trên mạng có các bản Windows như Windows 7 48-in-1, Windows 7 11-in-1, Windows 7 23-in-1,... Bài viết này xin trình bày cách tạo 1 bản Windows như vậy (Windows 7 SP1 11-in-1).

Chuẩn bị:

1. Bộ Windows 7 AIK
2. Source cài đặt Windows 7 SP1
Để tạo Windows 7 SP1 11-in-1 chỉ cần 4 bản Windows 7 SP1 Ultimate x86, Windows 7 SP1 Ultimate x64, Windows 7 SP1 Enterprise x86, Windows 7 SP1 Enterprise x64.

Các bạn nên chọn các bạn Windows nguyên gốc để đảm bảo độ ổn định. Có thể download theo link trên chữ ký của mình.

Bây giờ ta bắt đầu nhé.

Tiến hành cài đặt Windows 7 AIK: bạn cài đặt .NET Framwork trước (có thể bỏ qua nếu máy tính của bạn đã cài đặt sẵn) và Windows AIK sau.





Sau khi cài đặt Windows AIK hoàn thành, ta tới bước sau:

Chuẩn bị các folder như hình sau, WIN7SP1_AIO là thư mục làm việc của chúng ta, trong đó tạo thêm 2 thư mục DVDWIMS, DVD là nơi chứa source cài đặt, WIMS là nơi chứa các file ảnh install.wim của các phiên bản Windows.



Bạn mở file ISO của bản Windows 7 SP1 Ultimate x86, extract tất cả nội dung của file ISO vào folder DVD.



Sau đó vào DVD, tìm xóa file ei.cfg (thao tác này sẽ unlock các edition của Windows 7 SP1 Ultimate, bạn sẽ thu được các phiên bản Starter, Home Basic, Home Premium, Professional, và Ultimate)



Bây giờ mở file ISO của bản Windows 7 SP1 Enterprise x86, vào source và extract file install.wim vào folder WIMS, sau đó rename install.wim thành WIN7SP1_x86_ENT.wim.

Thực hiện tương tự cho bản Windows 7 SP1 Enterprise x64 và bản Windows 7 SP1 Ultimate x64, ta có thêm được 2 file WIN7SP1_x64_ULT.wim, WIN7SP1_x64_ENT.wim



Bầy giờ ta tiến hành tích hợp tất cả các phiên bản Windows vào file install.wim trong thư mục DVD\source.

Khởi chạy Deployment Tools của Windows AIK từ start menu.





Tại cửa sổ lệnh, gõ lệnh:

Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x86_ENT.wim" 1 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Enterprise (x86)"

Lệnh này sẽ tích hợp Windows 7 Enterprise (x86) vào source cài đặt của chúng ta.



Bạn thực hiện lần lượt các lệnh sau:

Unlock và tích hợp Windows 7 Home Basic (x64), Windows 7 Home Premium (x64), Windows 7 Professional (x64), Windows 7 Ultimate (x64) vào source cài đặt.

Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x64_ULT.wim" 1 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Home Basic (x64)"
Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x64_ULT.wim" 2 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Home Premium (x64)"
Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x64_ULT.wim" 3 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Professional (x64)"
Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x64_ULT.wim" 4 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Ultimate (x64)"


Tích hợp Windows 7 Enterprise (x64) vào source cài đặt.

Imagex /export "I:\WIN7SP1_AIO\WIMS\WIN7SP1_x64_ENT.wim" 1 "I:\WIN7SP1_AIO\DVD\sources\install.wim" "Windows 7 Enterprise (x64)"

Có thể tham khảo các chỉ mục của các edition Windows có trong file .wim bằng lệnh sau:

Imagex /info

Sau đây là các edition chứa trong các file ISO nguyên gốc:

Windows 7 Ultimate x86, bao gồm các phiên bản:

Starter – 1
Home Basic – 2
Home Premium – 3
Professional – 4
Ultimate – 5

Windows 7 Ultimate x64, bao gồm các phiên bản:

Home Basic – 1
Home Premium – 2
Professional – 3
Ultimate – 4

Windows 7 Enterprise x86:
Enterprise – 1

Windows 7 Enterprise x64:
Enterprise – 1

Bước tiếp theo ta tạo file ISO cho bộ source Windows 7 SP1 11-in-1 của chúng ta bằng lệnh:

oscdimg.exe -lWIN7_SP1_AIO -t05/31/2010 -m -u2 -bI:\WIN7SP1_AIO\DVD\boot\etfsboot.com I:\WIN7SP1_AIO\DVD "I:\WIN7SP1_AIO\Windows7_SP1_AIO.iso"

Tham khảo:

oscdimg.exe –l -t -m -u2 –b

Trong đó:

-l: là volume label của file ISO (cũng là tên đĩa DVD khi ta gi ra đĩa)
-t: set thời gian tạo file ISO
-m: được sử dụng khi tạo 1 file image có dung lượng lớn
-u2: Tạo UDF file system cho đĩa DVD
-b: chỉ ra file boot cho đĩa DVD

Quá trình tạo file ISO diễn ra:



Ok, ta thu được file ISO Windows7_SP1_AIO.iso chứa đầy đủ 11 edition của Windows 7 SP1.




Bước cuối cùng là kiểm tra thành quả đạt được. Khởi chạy 1 máy ảo VirtualPC hoặc VMWare và boot từ file ISO.






Đến đây ta có thể lựa chọn phiên bản Windows để cài đặt.







Các bạn có thể download bản Windows 7 SP1 11-in-1 mình làm sẵn theo địa chỉ sau:

Các bản Windows mình sử dụng để tạo bản Windows trên đều là bản gốc, chưa chỉnh sửa gì cả:

Windows 7 Enterprise with Service Pack 1 (x86) - DVD (English)
File Name: en_windows_7_enterprise_with_sp1_x86_dvd_620186.is o
SHA1: 4788041EB06E0F49720C112FBD256AC637909D4F
ISO/CRC: E3382829


Windows 7 Enterprise with Service Pack 1 (x64) - DVD (English)
File Name: en_windows_7_enterprise_with_sp1_x64_dvd_620201.is o
SHA1: 2C9774A1F48570E749E6D33C642FE8F6F7898CB0
ISO/CRC: DCA3CF57

Windows 7 Ultimate with Service Pack 1 (x86) - DVD (English)
File Name: en_windows_7_ultimate_with_sp1_x86_dvd_619077.iso
SHA1: 92C1ADA4FF09C76EC2F1974940624CAB7F822F62
ISO/CRC: C2966895


Windows 7 Ultimate with Service Pack 1 (x64) - DVD (English)
File Name: en_windows_7_ultimate_with_sp1_x64_dvd_618240.iso
SHA1: 1693B6CB50B90D96FC3C04E4329604FEBA88CD51
ISO/CRC: 8589EE18

Chúc vui vẻ!

(http://forum.so1vn.vn)

No comments:

Post a Comment