Chuyển tới nội dung chính

LinuxViet Migration Assistant

Chuẩn bị máy Windows để cài LinuxViet an toàn chỉ với một lệnh — có backup và hướng dẫn từng bước.

Chạy ngay — không cài (khuyến nghị thử)

Một lệnh trong CMD hoặc PowerShell. Script tải tạm qua HTTPS vào %TEMP% — không thêm PATH, không cần tải file .zip/.exe thủ công.

Kiểm tra máy:

powershell -nop -ep bypass -c "iex (irm 'https://linuxviet.vn/run.ps1'); LinuxViet-Migrate check"

Dual boot — giữ Windows (cần Admin cho USB):

powershell -nop -ep bypass -c "iex (irm 'https://linuxviet.vn/run.ps1'); LinuxViet-Migrate prepare"

Cài LinuxViet mới — sao lưu đầy đủ rồi thay Windows (cần Admin):

powershell -nop -ep bypass -c "iex (irm 'https://linuxviet.vn/run.ps1'); LinuxViet-Migrate prepare-fresh"

Cần internet. Offline: dùng install.ps1 hoặc clone repo trước.

Cài vĩnh viễn (tùy chọn)

Mở PowerShell (không cần Admin để cài tool):

irm https://linuxviet.vn/install.ps1 | iex

Sau đó — luồng đầy đủ (Admin cho bước USB):

lv-migrate prepare

Cài mới thay Windows:

lv-migrate prepare-fresh

Hoặc từng bước: lv-migrate check · backup · download · usb · plan-dualboot · report

Hai lựa chọn

prepare — Dual boot

Giữ Windows, cài LinuxViet song song.

  • Kiểm tra máyUEFI, RAM, ổ đĩa, BitLocker — read-only
  • Sao lưu dữ liệuDesktop, Documents, Pictures… + manifest
  • Tải ISOLinuxViet edition phù hợp + verify SHA256
  • Tạo USB bootMở Rufus với ISO (an toàn hơn ghi trực tiếp)
  • Kế hoạch dual bootKhông xóa Windows — chỉ hướng dẫn
  • Báo cáo HTMLLưu tạm trong %TEMP%\LinuxViet-MigrationAssistant-run (chế độ run)

prepare-fresh — Cài mới

Backup đầy đủ → USB → cài LinuxViet thay Windows.

  • Xác nhận 2 lầnHiểu rằng cài thay Windows xảy ra trong installer USB — tool không tự format
  • Backup mở rộngƯu tiên ổ D:/USB — thêm WiFi, danh sách app, Saved Games…
  • Tải ISO + USBLinuxViet edition phù hợp, Rufus
  • Cài từ USBErase / Install LinuxViet — bạn chọn trong installer
  • Khôi phục fileCopy từ backup sang Documents/Pictures trên LinuxViet

⚠️ Cảnh báo an toàn

  • Sao lưu dữ liệu trước khi cài hệ điều hành mới
  • Tool không format ổ hoặc xóa Windows tự động
  • USB boot sẽ xóa dữ liệu trên USB — chọn đúng ổ USB
  • Alpha: không tự shrink phân vùng Windows

FAQ

Muốn cài LinuxViet thay Windows (không dual boot)?

Dùng prepare-fresh — backup đầy đủ ra ổ ngoài, tạo USB, rồi chọn Erase/Install trong installer. Tool không tự xóa Windows.

Có cần cài tool không?

Không bắt buộc. Dùng one-liner run.ps1 — tải tạm vào %TEMP%, không thêm PATH. Cài install.ps1 nếu dùng lv-migrate thường xuyên.

BitLocker bật thì sao?

Tool cảnh báo — hãy lưu Recovery Key trước khi thu nhỏ ổ hoặc cài dual boot.

Tìm app Linux thay Windows?

Sau khi cài LinuxViet, dùng Software Discovery trên web hoặc App Store.