5.1. Khởi động trình cài đặt trên 64-bit PC

[Cảnh báo] Cảnh báo

Hệ thống của bạn cũng có hệ điều hành khác bạn muốn giữ lại (khởi động đôi) thì bạn nên kiểm tra xem mỗi hệ điều hành đã được tắt hoàn toàn trước khi bạn khởi chạy tiến trình cài đặt. Cài đặt hệ điều hành trong khi hệ điều hành khác ngủ động thì có thể gây ra dữ liệu bị mất hay bị hỏng trong hệ đó. (Sau đó thì có thể gặp lỗi khi khởi động lại.)

[Ghi chú] Ghi chú

Để tìm thông tin thêm về cách khởi động bộ cài đặt đồ họa, xem Phần 5.1.6, “The Graphical Installer”.

5.1.1. Khởi động từ thanh bộ nhớ USB

If your computer will boot from USB, this will probably be the easiest route for installation. Assuming you have prepared everything from Phần 3.6.2, “Chọn thiết bị khởi động” and Phần 4.3, “Chuẩn bị tập tin để khởi động thanh bộ nhớ USB”, just plug your USB stick into some free USB connector and reboot the computer. The system should boot up, and unless you have used the flexible way to build the stick and not enabled it, you should be presented with a graphical boot menu (on hardware that supports it). Here you can select various installer options, or just hit Enter.

5.1.2. Booting from optical disc (CD/DVD)

If you have a set of optical discs, and your machine supports booting directly off those, great! Simply configure your system for booting off an optical disc as described in Phần 3.6.2, “Chọn thiết bị khởi động”, insert the disc, reboot, and proceed to the next chapter.

Note that certain optical drives may require special drivers, and thus be inaccessible in the early installation stages. If it turns out the standard way of booting off an optical disc doesn't work for your hardware, revisit this chapter and read about alternate kernels and installation methods which may work for you.

Even if you cannot boot from optical disc, you can probably install the Debian system components and any packages you want from such disc. Simply boot using a different medium and when it's time to install the operating system, base system, and any additional packages, point the installation system at the optical drive.

Nếu bạn gặp khó khăn trong việc khởi động, xem Phần 5.4, “Giải đáp thắc mắc trong tiến trình cài đặt”.

5.1.3. Booting from Linux using GRUB

Để khởi động trình cài đặt từ đĩa cứng, trước tiên bạn cần phải tải về và để các tập tin cần thiết, như được diễn tả trong Phần 4.4, “Chuẩn bị tập tin để khởi động đĩa cứng”.

For GRUB2, you will need to configure two essential things in /boot/grub/grub.cfg:

  • to load the initrd.gz installer at boot time;

  • have the vmlinuz kernel use a RAM disk as its root partition.

An entry for the installer would be for example:

menuentry 'New Install' {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
linux /boot/newinstall/vmlinuz
initrd /boot/newinstall/initrd.gz
}

5.1.4. Khởi động bằng TFTP

Booting from the network requires that you have a network connection and a TFTP network boot server (and probably also a DHCP, RARP, or BOOTP server for automatic network configuration).

The server-side setup to support network booting is described in Phần 4.5, “Chuẩn bị tập tin để khởi động qua mạng TFTP”.

Có vài cách khác nhau để khởi động qua TFTP trên i386.

5.1.4.1. NIC hay bo mạch chủ có hỗ trợ PXE

It could be that your Network Interface Card or Motherboard provides PXE boot functionality. This is a Intel™ re-implementation of TFTP boot. If so, you may be able to configure your BIOS/UEFI to boot from the network.

5.1.4.2. NIC với BootROM mạng

Có lẽ thẻ giao diện mạng (NIC) của bạn cung cấp chức năng khởi động qua TFTP.

Vui lòng cho chúng tôi () biết về phương pháp do bạn dùng, cũng tham khảo tài liệu này.

5.1.4.3. Etherboot

Dự án Etherboot cung cấp đĩa mềm khởi động, ngay cả bộ nhớ ROM khởi động, mà khởi động được qua TFTP.

5.1.5. Màn hình khởi động

When the installer boots, you should be presented with a friendly graphical screen showing the Debian logo and a menu:

Debian GNU/Linux installer boot menu

Graphical install
Install
Advanced options                            >
Accessible dark contrast installer menu     >
Help
Install with speech synthesis

[Ghi chú] Ghi chú

This graphical screen will look very slightly different depending on how your computer has booted (BIOS or UEFI), but the same options will be shown.

Depending on the installation method you are using, the Graphical install option may not be available. Bi-arch images additionally have a 64 bit variant for each install option, right below it, thus almost doubling the number of options.

For a normal installation, select either the Graphical install or the Install entry — using either the arrow keys on your keyboard or by typing the first (highlighted) letter — and press Enter to boot the installer. The Graphical install entry is already selected by default.

Mục nhập Tùy chọn Cấp cao cho truy cập đến một trình đơn thứ hai mà cho phép khởi động trình cài đặt trong chế độ cấp cao, trong chế độ cứu và để tự động cài đặt.

If you wish or need to add any boot parameters for either the installer or the kernel, press Tab (BIOS boot), or e then down arrow three times then end, to edit the linux line of the boot entry (UEFI boot). This will bring the boot command for the selected menu entry and allow you to edit it to suit your needs. Note that the keyboard layout at this point is still QWERTY. The help screens (see below) list some common possible options. Press Enter (BIOS boot) or F10 (UEFI boot) to boot the installer with your options; pressing Esc will return you to the boot menu and undo any changes you made.

Choosing the Help entry will result in the first help screen being displayed which gives an overview of all available help screens. To return to the boot menu after the help screens have been displayed, type menu at the boot prompt and press Enter. All help screens have a boot prompt at which the boot command can be typed:

Press F1 for the help index, or ENTER to boot:

At this boot prompt you can either just press Enter to boot the installer with default options or enter a specific boot command and, optionally, boot parameters. A number of boot parameters which might be useful can be found on the various help screens. If you do add any parameters to the boot command line, be sure to first type the boot method (the default is install) and a space before the first parameter (e.g., install fb=false).

[Ghi chú] Ghi chú

Giả sử bàn phím có một bố trí tiếng Anh Mỹ mặc định vào thời điểm đó. Có nghĩa là nếu bàn phím của bạn dùng một bố trí khác (đặc trưng cho ngôn ngữ, v.d. tiếng Việt) thì các ký tự xuất hiện trên màn hình có thể khác với ký tự mong đợi khi bạn gõ tham số. Bách kho trực tuyến tự do Wikipedia cung cấp một giản đồ của bố trí bàn phím tiếng Anh Mỹ đến đó bạn có thể tham chiếu để tìm những phím đúng cần gõ.

[Ghi chú] Ghi chú

Nếu bạn đang sử dụng một hệ thống đã cấu hình BIOS để dùng bàn giao tiếp nối tiếp, thì có lẽ bạn không thấy được màn hình giới thiệu đồ họa đầu tiên một khi khởi động trình cài đặt; có lẽ bạn ngay cả không thấy được trình đơn khởi động. Trường hợp này cũng có thể xảy ra nếu bạn đang cài đặt hệ thống qua một thiết bị quản lý từ xa mà cung cấp một giao diện văn bản vào bàn giao tiếp VGA. Các thiết bị như vậy bao gồm bàn giao tiếp văn bản của integrated Lights Out (iLO) của công ty Compaq, và Integrated Remote Assistant (IRA) của công ty HP.

Để đi vòng màn hình khởi động đồ họa, bạn có thể hoặc bấm phím Esc để thấy một dấu nhắc khởi động kiểu văn bản, hoặc bấm phím H rồi Enter để chọn tùy chọn Trợ giúp được diễn tả trên. Sau đó thì các cú nhấn phím của bạn nên xuất hiện phía sau dấu nhắc. Để ngăn cản trình cài đặt sử dụng vùng đệm khung cho phần còn lại của tiến trình cài đặt, bạn cũng cần phải thêm tham số fb=false vào dấu nhắc khởi động, như được diễn tả trong đoạn văn trợ giúp.

5.1.6. The Graphical Installer

The graphical version of the installer is only available for a limited number of architectures, including 64-bit PC. The functionality of the graphical installer is essentially the same as that of the text-based installer as it basically uses the same programs, but with a different frontend.

Although the functionality is identical, the graphical installer still has a few significant advantages. The main advantage is that it supports more languages, namely those that use a character set that cannot be displayed with the text-based newt frontend. It also has a few usability advantages such as the option to use a mouse, and in some cases several questions can be displayed on a single screen.

The graphical installer is available with all CD/DVD images and with the hd-media installation method. To boot the graphical installer simply select the relevant option from the boot menu. Expert and rescue mode for the graphical installer can be selected from the Advanced options menu. The previously used boot methods installgui, expertgui and rescuegui can still be used from the boot prompt which is shown after selecting the Help option in the boot menu.

Just as with the text-based installer it is possible to add boot parameters when starting the graphical installer.

[Ghi chú] Ghi chú

The graphical installer requires significantly more memory to run than the text-based installer: 810MB. If insufficient memory is available, it will automatically fall back to the text-based newt frontend.

If the amount of memory in your system is below 780MB, the graphical installer may fail to boot at all while booting the text-based installer would still work. Using the text-based installer is recommended for systems with little available memory.