Do you need to dual boot Windows 10 and Debian? In this post, MiniTool Partition Wizard shows you how to do that from scratch. It also tells you some information about Debian versions and downloads.
Introduction to Debian
Debian is one of the oldest operating systems based on the Linux kernel. The first version of Debian (0.01) was released on September 15, 1993. Since its founding, Debian has been developed openly and distributed freely according to the principles of the GNU Project.
When it comes to Linux systems, many people will think of Ubuntu. But do you know that Debian is the basis for Ubuntu and many other distributions? Compared with other Linux distros, Debian mainly has the following advantages:
- It takes up less disk space and memory.
- It is more stable than many other Linux distros.
Because of its excellent performance and stability, Debian is the most popular edition for personal computers and servers, especially for VPS users.
Debian Versions
Some people may want to install Debian. To do that, they should get the Debian ISO download first. But before downloading Debian, you should know that Debian offers three versions: Stable, Testing, and Unstable.
Which version should you choose? You should know their differences first.
- Stable: This version is very stable. It doesn’t have major issues and has full security support. But it may not support the latest hardware.
- Testing: The software in this version is newer than that in the Stable version and the bug probability of this version is smaller than that of the Unstable version. But once something goes wrong, it can take a long time to fix. Nor will it have ongoing security support.
- Unstable: It has the latest software and changes frequently. As a consequence, it can go wrong at any time. However, fixes are often completed within days.
In general, if you are a Debian beginner or you require system stability very much (eg, you are running a server), please choose the Stable version. If you are a very experienced Linux user and don’t mind encountering some strange problems occasionally, or even the system crashes, please choose the Unstable version.
Debian Download
Debian only offers the ISO download for the Stable and Testing versions. If you want to install Debian Unstable version, you should install the Stable or Testing first and then make some changes to make it receive the latest updates. Click here to get details.
Tip: You can go from Stable > Testing > Unstable. But the reverse is “impossible”.
If you want to get the Debian Testing download, please go to this page. If you want to get the Debian Stable download, please go to this page. Currently, the latest Debian version is Debian 11 (bullseye). I recommend you get the latest Debian download.
Debian System Requirements
If you want to install Debian on your PC, you should make sure your PC meets the Debian install requirements.
If you want a Debian with no desktop, you need the minimum 128MB RAM or 512MB RAM (for the recommendation), and 2GB hard drive space.
If you want a Debian with a desktop, you need the minimum 256MB RAM or 1GB RAM (for the recommendation), and 10GB hard drive space.
How to Check PC Full Specs Windows 10 in 5 Ways
How to Dual Boot Windows 10 and Debian
Sometimes, you may want to dual boot Windows 10 and Debian. If you don’t know how to do that, follow the steps below.
Stage 1. Make the USB Installation Drive
To install Debian alongside Windows, the first thing you should do is to get the Debian ISO download and then burn it into a USB drive using software like Rufus. Here is the guide on how to burn the ISO file into a USB drive:
Step 1: Does the disk where Windows 10 is installed use GPT or MBR style? You should check that first. This will be helpful when you make the installation disk.
- Press the “Windows + R” keys to open the Run box.
- Type “diskpart” into the Run box and press the Enter key to open the exe tool.
- Type the “list disk” command and press Enter.
- Check the GPT If there is an asterisk mark (*) behind the disk, it means that the disk is GPT style. Otherwise, the disk is MBR style.
Step 2: Use Rufus to burn the Debian ISO file into a USB drive.
- Insert a USB drive to your PC.
- Download Rufus and launch it. It will detect the USB drive automatically.
- Under the Boot selection section, click the Select button and choose the Debian ISO file.
- Under the Partition Scheme section, choose MBR or GPT according to the target disk style (you have gotten the result in the above step). Then, the target system will be changed automatically.
- Keep other parameters to the default and then click the Start button to burn the ISO. Some windows may pop up, you just need to click the OK or Yes button.
- After the burning process is completed, click the Close button.
Stage 2. Repartition the PC
After the Debian USB installation drive is created, you should repartition your PC to make room for Debian’s installation. I recommend you use MiniTool Partition Wizard because it can take space from multiple partitions when one partition doesn’t have enough free space. Here is the guide:
MiniTool Partition Wizard FreeClick to Download100%Clean & Safe
Step 1: Launch MiniTool Partition Wizard and go to its main interface. Right-click a partition and choose Move/Resize.
Step 2: Drag the two arrows on the two sides of the partition to shrink the partition, and then drag the block to move the location of the partition. Then, click the OK button. In the same way, you can take unallocated space from multiple partitions and then put the unallocated space together by moving the location of partitions.
Step 3: Click the Apply button to execute the pending operations.
Stage 3. Install Debian Alongside Windows 10
Now, we will begin to dual boot Windows 10 and Debian. You just need to follow the steps below:
Step 1: Insert the Debian USB installation drive into the PC. Shut down the PC completely. Power on the PC and press the BIOS key when the PC logo appears to enter the firmware. The BIOS key varies depending on different PC models.
Step 2: Set the USB drive as the first boot device. Press F10 and choose Yes to save changes and exit the firmware. The PC will boot from the USB drive.
Step 3: Choose Graphical install. Select English as the language. Select your location (United States for example). Configure the keyboard (American English for example).
Step 4: Configure the hostname for the system. Enter the domain name (if you are not in a domain environment, you can skip this). Set the root password. Create a new user account and set the password. Then, choose the time zone.
Step 5: Partition the disk. If you are a Linux beginner and don’t know how to partition a disk for Linux systems, you can choose the Guided – use the largest continuous free space option. If you are a seasoned Linux user, you can choose the Manual option.
Step 6: If you choose the Guided – use the largest continuous free space option in the above step, you need to choose a partitioning scheme. In this step, the “All files in one partition” or the “Separate /home partition” option is recommended.
- The “/home” partition is used to store user files.
- The “/var” partition is used to store files that change often. These files include cache files, log files, and some files generated when the software runs. These files need to be cleared manually. If you want to make a server, this partition should be created.
- The “/tmp” partition is also used to store temporary/cache files generated by the system or software, but these files will be deleted automatically and regularly.
Tips:
No matter which option you choose, the “/” partition and the “swap” partition will be created automatically. The «/» partition is used to store system files, while the «swap» partition is used as virtual memory.
Step 7: Check the disk partition layout and then click the Continue button directly if the disk layout is OK. Then, when it asks you whether to write the changes to disks, choose Yes and click the Continue button.
Step 8: After the partitions are written, you need to configure the package manager.
- When it asks you whether to scan extra installation media, choose No.
- Select the Debian archive mirror country (United States for example).
- Select the Debian archive mirror. In this step, debian.org is recommended.
- Set the HTTP proxy server. If you don’t use the proxy server, you can keep it blank.
Step 9: When it asks you whether to participate in the package usage survey, choose No. Then, you need to choose which software to install.
Step 10: After the software is installed, it will ask you whether to install the GRUB boot loader to the master boot record. You should choose Yes. Then, select the disk on which you want to install the GRUB boot loader and click the Continue button.
Step 11: After the installation is complete, click the Continue button and you can enter the GRUB menu. Select Debian to enter the system.
Further reading:
If you want to create partitions for Debian manually, here are some tips for you:
- If your disk is MBR style, choose Logical for new partitions. If your disk is GPT style, choose Primary for new partitions.
- When you create the “swap” partition, set its file system as swap area (click Use as and change it from Ext4 journaling file system to swap area). As for other partitions, keep the Ext4 journaling file system for them.
Here is a post showing you how to dual boot Windows 10 and Debian. If you have this need, you can follow this guide.Click to Tweet
Bottom Line
Is this post useful to you? Do you have other ideas about how to dual boot Windows 10 and Debian? Please leave comments in the following zone. In addition, if you encounter problems when using MiniTool Partition Wizard, please feel free to contact us via [email protected]. We will get back to you as soon as possible.
Debian is a free and open-source GNU/Linux distribution. It is one of the oldest Linux distributions based on the Linux kernel. Today, Debian is known for its stability and serves as the base for many derived distributions, such as Ubuntu.
For beginners, installing Debian 12 “Bookworm” can be overwhelming due to the legacy installer and choosing the ISO files. This guide provides step-by-step instructions with screenshots to simplify the process.
Minimum System Requirement for Debian
The following are the minimum system requirements for Debian. But it can vary based on what type of box you want to set up.
Minimum RAM: 512MB
Recommended RAM: 2 GB
Processor: 1 GHz
Minimum Disk Space: 10 GB
However, a more realistic requirement for modern systems and desktops is a minimum of 4 GB of RAM, 25 GB of disk space and a CPU not older than ten years.
Install Debian 12 “Bookworm”: Steps
- Installing Debian 12 is split into the below sections; follow them accordingly.
- Downloading ISO files for Debian
- Creating bootable USB
- Prepare partition for dual-boot (optional)
- Install Debian
Download Debian 12 iso image
Visit the following page to download the Debian .iso images.
Debian provides many types of images for installation for all architecture. If you are downloading for the first time, you might get overwhelmed with which file to download. To keep things simple, I have added the following table for you to help you to choose which .iso to download.
Type | Type of image | Description | Size | Download |
Free+non Free | netinst CD image | Minimal Size Requires internet connection during installation |
~ 500 MB | iso-cd torrent |
Free+non Free | full CD | You need the CD 1 only for basic installation | ~ 700 MB | iso-cd torrent |
Free+non Free | full DVD | You need the DVD 1 only for basic installation | ~ 4 GB | iso-dvd torrent |
If you want other ISO files based on architectures, visit this page and navigate as needed.
Prepare bootable USB
Write the .iso image on a USB stick. There are many ways you can do it. I would recommend using Etcher to write the image. It is available for Windows as well.
After downloading, install Etcher. And write the downloaded ISO file
Prepare a partition to install Debian 12 (for Dual boot systems with Windows)
If you are installing it in the entire disk, Or, want to partition it during installation, you can skip this step.
For those who are installing a fresh Debian 12 with Windows as a dual-boot, follow the below steps to create a partition for Linux installation.
- To create a Windows 10 or 11 recovery disk, use a separate USB stick.
- Insert the empty 16GB+ USB stick into the Windows 10 machine.
- Open Control Panel
- Search with ‘recovery’
- Click on Create a recovery drive.
- Wait till the recovery is complete. Once completed, safely remove the USB stick from the machine.
- You can check whether the recovery stick works by booting from it to be safe.
If you already have a partition that you can use to install Debian, you may want to skip this step.
OEM-installed machines with Windows 10 typically come with two basic partitions (excluding the recovery partitions). C:\ and D:\. C Drive contains Windows 10 or Windows 11 system files, and D Drive is reserved for user data. Debian 12 needs a minimum of 30GB storage space partition, which we need to create by shrinking C:\ drive, which typically contains most of the space. Follow the below steps to create a partition for Debian.
- Open the partition editor from the START menu by searching ‘partition’.
- Right-click on C Drive and click ‘Shrink Volume’.
- In the next window, you can see the available size available in MB. Enter the value as per your need in MB in the ‘amount of space to shrink in MB’.
Tip: If you need 50 GB for partition – enter 50*1024= 51200 MB
- Click ‘Shrink’ and wait until it finishes.
- You will see an unallocated space created in a graphical display of your storage. This space would be used to install Debian. Do not format now, as the Debian 12 installer would allow you to format during installation.
The above screenshots are an example which might be different for your system.
- Once the partition is created, plugin the USB stick into your target system and restart.
- Press F2 or any other OEM-specific function key to enter into BIOS.
- In the BIOS, make sure the boot priority is set to the USB stick which you created for Debian 12.
- Press F10 in the BIOS to save and exit.
Install the system
After booting from the LIVE USB, select the Graphical Install option.
Following the on-screen instructions to choose Language, Country and Keyboard layouts.
Once the Network selection page comes, select the Wireless or Wired network. If you are using the DVD ISO file, then I recommend not to connect to any network. Because Debian mirrors are sometimes slow and delay your installation process.
Enter the password for the “root” account.
You must create one user account for Debian Linux. Enter the username and password.
On the partition disk page, select “Manual”.
When you choose manual partitioning, the installer will scan your disk and show you the entire partition table. Ensure you have EFI partition and Windows partition untouched. Select the free space which you have created earlier OR choose the existing target partition to install Debian 12.
Here’s an example:
Select and hit enter to bring up the detailed screen for that partition. Choose format the partition and mount point to root i.e. “/”. Keep all other values unchanged. Once done, select “Done setting up the partition” and hit enter.
You should clearly see the “F” and the mount point “/” beside your target partition.
Once you are ready, select “Finish partitioning and write changes to disk”. Be careful before you hit enter because it will physically make changes to your disk.
The installation will start and wait until the next prompt.
In the next series of prompts, choose:
- Scan extra installation media=NO
- Use a network mirror=NO
- Participate in package usage survey=NO
Debian 12 features all the leading desktop environments. Choose the one you want in the below screen and click continue. On the next display manager screen, choose “lightdm” for all except KDE. If yo choose KDE Plasma, use “sddm”.
At the final screen, choose to install the GRUB boot loader to the primary drive.
Wait for the installation to finish. At the final screen, select continue, and the installer will reboot your system. Unplug the USB device.
If all goes well, you should see the Debian 12 GRUB menu. You can now login to the new Debian 12 system using the user name and password.
Closing Notes
I hope this guide helped you to install and configure a Basic Debian 12 “Bookworm” system. Debian is a massive operating system with many options. Try the one best for you.
If you are stuck with some errors, drop a comment below.
After completion, do try to check out our guide: 10 Things to do after installing Debian 12.
Всем привет! Сегодня мы подробно рассмотрим установку дистрибутива Linux Debian 10 на компьютер с UEFI рядом с Windows 10. В результате на компьютере у нас будут две операционные системы, Windows 10 + Debian 10, а при загрузке мы будем выбирать, в какую систему загружаться.
Содержание
- Вводная информация
- Исходные данные и цель
- Почему в экспертном режиме?
- Пошаговая установка Debian 10 рядом с Windows 10 в экспертном режиме
- Шаг 1 – Скачивание установочного образа Debian 10
- Шаг 2 – Создание установочного носителя
- Шаг 3 – Создание резервной копии данных и подготовка места для Debian
- Шаг 4 – Загрузка с установочного носителя и запуск экспертного режима
- Шаг 5 – Выбор языка
- Шаг 6 – Выбор местоположения
- Шаг 7 – Установка региональных настроек
- Шаг 8 – Настройка клавиатуры
- Шаг 9 – Поиск и монтирование CD-ROM
- Шаг 10 – Загрузка компонентов программы установки
- Шаг 11 – Определение сетевой карты и настройка сети
- Шаг 12 – Настройка учетных записей пользователей и паролей
- Шаг 13 – Настройка времени
- Шаг 14 – Определение и разметка дисков
- Шаг 15 – Установка базовой системы
- Шаг 16 – Настройка менеджера пакетов
- Шаг 17 – Выбор и установка программного обеспечения
- Шаг 18 – Установка системного загрузчика GRUB на жесткий диск
- Шаг 19 – Завершение установки
- Загрузка системы
Вводная информация
Исходные данные и цель
В этой статье я рассмотрю один из самых распространённых случаев, когда на компьютере с UEFI, например, на ноутбуке, установлена операционная система Windows 10, в которой есть два раздела, т.е. диск C и D, и Вы захотели установить Linux, в частности дистрибутив Debian 10, второй операционной системой, таким образом, чтобы при включении компьютера у Вас была возможность выбора системы, в которую необходимо загрузиться.
Сразу хотелось бы отметить, что, для того чтобы установить Debian рядом с Windows 10 на компьютере с UEFI, не нужно выполнять никаких особых предварительных действий с существующими параметрами компьютера, в частности нет необходимости отключать UEFI Secure Boot. Debian, начиная с 10 версии, поддерживает безопасную загрузку, о том, что еще нового появилось в этой версии, можете почитать в материале – Обзор Debian 10.
Примечание! У всех конфигурация компьютеров разная, так же как и разный опыт администрирования операционных систем, поэтому я не могу гарантировать, что все, что описано в этой статье, поможет именно Вам выполнить установку Debian, поэтому я настоятельно рекомендую Вам сделать резервную копию всех важных данных перед тем, как приступать к установке Debian, для того чтобы в случае возникновения непредвиденных ситуаций избежать потери этих данных.
Почему в экспертном режиме?
В связи с тем, что по умолчанию установщик Debian устанавливает загрузчик в область UEFI согласно всем спецификациям, а Windows нет, это не позволяет Debian загружаться даже после успешной установки, так как UEFI просто не будет запускать загрузчик Debian. Как результат, Вы успешно установили Debian, но по умолчанию загружается все равно Windows 10, загрузчик GRUB просто не запускается.
Поэтому установку Debian 10 необходимо производить в экспертном режиме, чтобы принудительно установить загрузчик в нужную область (removable media path), так же как это делает Windows и некоторые другие дистрибутивы Linux, например, Ubuntu, но такой подход создает предпосылки конфликта с любыми другими установщиками, что плохо и неправильно. Вот почему в Debian не делают этого по умолчанию.
Заметка! Если Вы все-таки установили Debian рядом с Windows 10, но только не в экспертном режиме, и у Вас, как я и описал выше, Debian не запускается, а запускается Windows 10 точно так же как до установки Debian, то это можно исправить, в следующих материалах я покажу, как это делается, поэтому подписывайтесь в наших группах во всех популярных социальных сетях: ВКонтакте, Facebook, Одноклассники, Твиттер и следите за выходом новых материалов.
Дополнительная информация! Установка Ubuntu рядом с Windows 10 на компьютер с UEFI – в материале подробно рассмотрен процесс установки дистрибутива Linux Ubuntu на один компьютер рядом с Windows 10.
Сейчас мы рассмотрим все шаги, которые необходимо выполнить, для того чтобы установить Linux Debian 10 на компьютер рядом с Windows 10, учитывая, что на компьютере используется прошивка UEFI.
Сразу скажу, что процесс установки Debian 10 в экспертном режиме мало чем отличается от обычной установки, у него такой же графический установщик, просто у него есть несколько дополнительных шагов, которые необходимы для более тонкой настройки операционной системы.
На заметку! Linux для обычных пользователей – книга про основы операционной системы Linux для начинающих
Шаг 1 – Скачивание установочного образа Debian 10
Для того чтобы установить дистрибутив Linux Debian 10, нужен установочный ISO образ, поэтому сначала необходимо скачать этот установочный ISO файл. Это можно сделать со страницы загрузки официального сайта Debian — https://www.debian.org/distrib
После перехода на страницу необходимо выбрать подходящий ISO образ и способ загрузки. Я обычно загружаю полный установочный образ, который содержит большое количество пакетов, что упрощает процесс установки на машины без соединения с Интернет. Однако размер такого образа около 4 гигабайт.
Образ можно скачать как с помощью браузера, так и с помощью торрента.
Вот прямая ссылка на скачивание торрент файла полного ISO образа – Скачать Debian 10 (64 bit, DVD).
Шаг 2 – Создание установочного носителя
После того как Вы загрузили установочный ISO образ Debian 10, его необходимо записать на DVD диск или USB флешку, для того чтобы создать загрузочный установочный носитель, с которого и будет производиться установка.
Для этого существует много различных программ, например, в нашем случае отлично подойдет программа Rufus. Пример того, как можно записать ISO образ на флешку с помощью этой программы, можете посмотреть в статье – Создание загрузочной USB флешки в Windows с помощью Rufus.
Шаг 3 – Создание резервной копии данных и подготовка места для Debian
Для установки Debian 10 необходимо свободное место на жестком диске, самый лучший вариант – это создать отдельный раздел для Debian.
Если у Вас такая конфигурация, которую я описал выше, т.е. у Вас два диска: C и D, то Вам необходимо на диске D выделить свободное место достаточного размера. Если Вы не планируете использовать Debian в качестве основной системы и хранить там много данных, то достаточно будет и 50 гигабайт.
Однако все данные (важные!), которые есть на диске D, лучше предварительно сохранить, например, на флешке или на внешнем жестком диске. Так как для создания отдельного раздела для Debian необходимо от диска D «отсоединить», иногда эту процедуру называют «отрезать», свободное незанятое место, так скажем, нужно физически уменьшить диск D и создать неразмеченное пространство, а именно эта процедура и может привести к потере данных.
После того как Вы сделаете резервную копию всех важных данных, Вы можете переходить к процедуре сжатия диска D. Это можно сделать как стандартной программой Windows «Управление дисками», так и сторонними приложениями для работы с жесткими дисками, которые имеют такой функционал (Acronis и т.д.). Если у Вас есть опыт сжатия дисков такими программами, то Вы можете сразу уменьшить диск D, и создать неразмеченное пространство.
Однако в этой статье я покажу способ, который подразумевает сжатие диска D стандартными средствами самой программы установки Debian, иными словами, никакие сторонние программы мы использовать не будем.
Таким образом, на текущий момент у меня есть копия важных данных и свободное место на диске D, больше ничего дополнительного я пока не делаю.
Единственное, обязательно нужно запомнить размер диска D, так как хоть в системе вроде как и два раздела, но скрытых разделов, которые в системе не отображаются, на самом деле больше, поэтому чтобы ничего не перепутать, запоминаем общий размер диска D, чтобы четко идентифицировать его в процессе создания разделов для Debian.
Шаг 4 – Загрузка с установочного носителя и запуск экспертного режима
После того как установочный носитель мы подготовили, сделали резервную копию всех важных данных, высвободили необходимое место на диске D, можно переходить к самому процессу установки Debian.
Сначала загружаемся с установочного носителя и попадаем в меню. Для того чтобы запустить установку в экспертном режиме, выбираем пункт «Advanced options».
Затем нажимаем на пункт «Graphical expert install».
Шаг 5 – Выбор языка
В результате установщик запустится в экспертном режиме, сначала нам нужно выбрать язык, для этого мы выбираем «Choose language», нажимаем «Continue».
После этого ищем нужный язык и снова нажимаем «Continue».
Шаг 6 – Выбор местоположения
Далее нам нужно выбрать страну, в которой мы находимся, это будет влиять на некоторые дальнейшие параметры установки.
Нажимаем «Продолжить».
Шаг 7 – Установка региональных настроек
На этом шаге мы можем настроить несколько региональных параметров, в частности выбрать локаль. Я оставлю по умолчанию.
Нажимаем «Продолжить».
В следующем окне в случае необходимости Вы можете отметить дополнительные локали.
Нажимаем «Продолжить».
Шаг 8 – Настройка клавиатуры
После этого мы вернемся в основное меню программы установки. Теперь можем переходить к настройке клавиатуры. Для этого выбираем соответствующий пункт и нажимаем «Продолжить».
Сначала выбираем раскладку.
Затем способ переключения, т.е. каким сочетанием клавиш мы будем переключать раскладку клавиатуры.
Шаг 9 – Поиск и монтирование CD-ROM
После этого, для того чтобы определить устройство, с которого будет производиться копирование всех файлов, выбираем пункт «Поиск и монтирование CD-ROM» и нажимаем «Продолжить».
Затем снова нажимаем «Продолжить».
В результате диск будет найден и примонтирован. Нажимаем «Продолжить».
Шаг 10 – Загрузка компонентов программы установки
Выбираем данный пункт и нажимаем «Продолжить».
В случае необходимости Вы можете выбрать дополнительные компоненты для установки, однако если Вам ничего не требуется, то можете смело нажимать «Продолжить», так как все обязательные компоненты уже выбраны автоматически, и здесь они даже не отображаются.
После того как Вы нажмете «Продолжить», начнется загрузка всех компонентов.
Шаг 11 – Определение сетевой карты и настройка сети
Затем нас снова вернет в основное меню программы установки, где, как мы видим, добавилось достаточно много новых пунктов.
Сначала выбираем пункт «Определение сетевой карты» и нажимаем «Продолжить».
Сетевая карта будет автоматически определена и настроена. Затем нам нужно настроить сеть. Для этого выбираем соответствующий пункт.
Программа установки предлагает настроить сеть автоматически, отвечаем «Да», так как в большинстве случаев, если у Вас подключен кабель, сеть будет настроена автоматически, однако Вы можете настроить сеть и вручную.
В следующем окне мы можем задать время ожидания подключения к сети, я оставляю по умолчанию и сразу жму «Продолжить».
В результате программа установки попытается настроить сеть автоматически и получить все параметры от DHCP сервера.
Однако, если ей этого не удастся сделать, Вы можете получить следующее сообщение.
Тогда нажимайте «продолжить» и выбирайте предпочтительное для Вас действие, например, Вы можете указать эти параметры вручную или просто пропустить настройку сети на данном этапе, и настроить сеть уже после установки Debian.
Нажимаем «Продолжить».
Теперь указываем имя компьютера и нажимаем «Продолжить».
Шаг 12 – Настройка учетных записей пользователей и паролей
Переходим к настройке учетных записей, для этого выбираем соответствующий пункт в главном меню и нажимаем «Продолжить».
Далее мы можем включить поддержку теневых копий и разрешить вход в систему от имени root, я оставлю по умолчанию, Вы, если хотите, можете изменить данные параметры.
Потом придумываем и вводим пароль суперпользователя root (он должен быть сложный).
Затем нам предлагают создать учетную запись обычного пользователя, это, конечно же, нужно сделать, так как работать от имени администратора не рекомендуется.
Сначала вводим имя пользователя.
Затем придумываем имя учетной записи.
И пароль.
Шаг 13 – Настройка времени
Идем дальше, переходим к настойке времени.
Сначала нам предлагают настроить время по протоколу NTP, оставляем по умолчанию.
Потом снова ничего не меняем без особой на то необходимости.
Затем выбираем часовой пояс.
Шаг 14 – Определение и разметка дисков
Теперь нам предстоит выполнить разметку жесткого диска. Для этого сначала выбираем пункт «Определение дисков» и нажимаем «Продолжить».
Диски автоматически будут определены. Затем выбираем «Разметка дисков».
Так как мы устанавливаем Debian 10 рядом с Windows 10, разметку жесткого диска нам нужно выполнить вручную, поэтому выбираем соответствующий пункт и нажимаем «Продолжить».
Потом первое, что нам нужно сделать, это «отрезать» свободное место от диска D (если конечно Вы этого не сделали ранее), для того чтобы использовать это место для создания разделов под Linux.
Чтобы это сделать, ищем нужный раздел, т.е. диск D, как я и говорил, ориентироваться можно по размеру диска.
Выбираем нужный раздел и нажимаем «Продолжить».
Далее, нам нужно уменьшить этот раздел, чтобы у нас образовалось неразмеченное пространство. Для этого выбираем пункт «Изменить размер раздела» и нажимаем «Продолжить».
В следующем окне соглашаемся с тем, что ранее сделанные изменения будут записаны на диск, т.е. отвечаем «Да» и нажимаем «Продолжить».
Здесь указываем новый размер диска D, при этом он должен быть в пределах допустимых значений (на экране будет отображено минимальное и максимальное значение). У меня тестовый диск небольшой, поэтому я оставляю 30 гигабайт под диск D на Windows, а все оставшееся место, у меня это около 35 гигабайт, останется под Linux Debian 10.
Нажимаем «Продолжить».
В результате размер раздела изменится и образуется свободное место, которое теперь мы можем использовать под Debian.
Выбираем его и нажимаем «Продолжить».
Разделы мы можем создавать вручную, один за другим, а можем просто выбрать автоматический режим, при котором программа установки сама выполнит всю разметку, при этом это будет достаточно хорошая разметка.
Я выбираю пункт «Автоматически разметить свободное место».
Затем программа предлагает по умолчанию хранить все файлы на одном разделе, но лучше все-таки создать отдельный раздел для личных файлов, т.е. раздел home, я так и поступаю, выбираю соответствующий пункт и нажимаю «Продолжить».
В итоге будут созданы все необходимые разделы:
- Раздел для подкачки (swap);
- Корневой раздел для системы (/);
- Раздел для пользовательских данных (home).
На этом разметка закончена. Выбираем пункт «Закончить разметку» и нажимаем «Продолжить».
Соглашаемся с внесением изменений на диск, отвечаем «Да», и нажимаем «Продолжить».
Шаг 15 – Установка базовой системы
После того как все необходимые мероприятия, связанные с разметкой диска, будут выполнены, мы снова попадаем в основное меню, теперь нам нужно установить базовую систему, для этого выбираем пункт «Установка базовой системы», и нажимаем «Продолжить».
Начнётся установка базовой системы. В процессе у нас спросят, какое ядро Linux мы хотим установить, выбираем нужное и продолжаем (можно оставить по умолчанию).
Далее оставляем по умолчанию, т.е. включить все доступные драйвера, и нажимаем «Продолжить».
Шаг 16 – Настройка менеджера пакетов
После установки базовой системы переходим к настройке менеджера пакетов. Для этого выбираем нужный пункт и нажимаем «Продолжить».
У нас спросят, хотим ли мы просканировать дополнительный диск, у нас его нет, поэтому отвечаем «Нет», и продолжаем.
Затем, если мы не хотим использовать зеркало архива в сети, отвечаем «Нет», но это по Вашему усмотрению, можете ответить и «Да».
В следующем окне оставляем все по умолчанию.
Шаг 17 – Выбор и установка программного обеспечения
Переходим к настройке и установке ПО, нажимаем «Продолжить».
Здесь мы можем настроить автоматическую установку обновлений безопасности, хотя по умолчанию данная возможность отключена, я оставляю по умолчанию, и нажимаю «Продолжить».
Далее нам предложат участвовать в опросе популярности пакетов, если хотите, то участвуйте, если нет, то, соответственно, нет. Продолжаем.
Теперь мы можем выбрать графическую оболочку, с которой у нас будет установлен Debian, я для примера выберу классическую для Debian среду GNOME.
Выбираем и нажимаем «Продолжить».
Начнётся установка ПО, данный процесс будет длиться где-то минут 10.
Шаг 18 – Установка системного загрузчика GRUB на жесткий диск
После того как установка ПО закончится, переходим к установке загрузчика, нажимаем «Продолжить».
Вот мы и дошли до самого важного пункта, ради которого мы и затеяли установку Debian 10 в экспертном режиме. Здесь нам нужно отметить «Да» для того, чтобы установить загрузчик GRUB в так называемый «путь съемных носителей» (removable media path), это позволит UEFI запускать GRUB в качестве основного загрузчика на компьютере.
Ставим «Да», и нажимаем «Продолжить».
Шаг 19 – Завершение установки
На этом процесс установки закончен, нам осталось его завершить, выбираем пункт «Завершение установки», и нажимаем «Продолжить».
Единственное, нас еще спросят про системные часы UTC.
Нажимаем «Продолжить».
На этом точно все, нажимаем «Продолжить».
Загрузка системы
Теперь, когда компьютер будет загружаться, у Вас будет появляться окно загрузчика GRUB, в котором Вы можете выбрать, в какую операционную систему Вам нужно загрузиться.
В моем случае:
- Debian GNU/Linux – это операционная система Linux Debian 10;
- Windows Boot Manager (на /dev/sda2) – это Windows 10.
Если ничего не выбрать, то через несколько секунд по умолчанию будет загружаться Debian. Однако можно сделать и так, чтобы по умолчанию загружалась Windows 10, и даже переименовать пункты меню для удобства, об этом я уже рассказывал в материале – Как изменить порядок загрузки операционных систем (Linux, Windows) в GRUB.
Самое главное то, что при таком способе установки Debian 10 система будет запускать загрузчик GRUB, который позволяет выбирать операционную систему.
На этом все, надеюсь, материал был Вам полезен, пока!
The other day, I was planning to install the Proxmox server on my laptop, and the problem with the Proxmox is that you cannot install Proxmox alongside windows 11. When you try to dual boot, the Proxmox ends up taking all the hard disk space deleting the windows files, and you end up with the Proxmox server. So I decided to install Debian 11 on my windows 11 machine as dual boot. So anytime I want to play games, work with office 365 I could use my windows 11 machine and if I want to accomplish some Linux-related stuff, I could shut down the windows 11 operating system and switch to Debian 11.
In this blog, let’s look at the installation of Debian 11 alongside windows 11 using dual boot.
Before you begin, you need to have;
- Debian 11 iso image – we need to create Debian 11 USB bootable image with the iso file. Click here to download it. Make sure to choose the AMD64 DVD iso image.
- Rufus software- click here to get it. This tool will make the USB a bootable drive.
- USB drive with at least 4GB of storage to make the Debian 11 bootable.
- A machine with windows 11/10 – The steps mentioned here are identical to Windows 10, so either windows 11 or 10 would work fine.
1. Make Debian 11 bootable USB.
We have already downloaded Debian 11 on my machine. Let’s go ahead and make the bootable USB out of it.
Plugin the USB thump drive and open the Rufus software.
- Select the device – Under device, make sure you choose the right USB drive to make it bootable.
Note: All the files in the USB drive will be deleted upon creating a bootable drive. So please take a backup before you proceed.
- Boot selection – This is where you need to attach the Debian 11 iso image to the rufus software. Click on select, and choose the ISO file you downloaded.
- Click on Start.
You will get a prompt that says ISOHybrid image detected, so from the list, choose Write in ISO image mode and click on Ok.
After a few seconds, you will get a warning, which says all the data in the drive will be formatted, so ensure that you have taken the backup of all your files from the USB drive and then click on Ok.
After this, the USB drive will be formatted, and the Debian ISO image will be copied to the USB drive and convert it as bootable.
Depending on your machine hardware and the USB speed, this process will take some time
Once it is completed, you will see the status changed to Ready, and you may safely remove the USB drive now from your machine.
2. Allocated drive space for Debian 11.
I have a machine with 500GB of storage, completely used by windows 11 OS. We are now going to split the Drive into two, in which on the second partition, we would give about 200 GB out of 500GB for the Debian storage.
Click on Start and type computer management, and open it.
The computer management windows would now open up.
Click on Device management.
In the disk management, you will see the OS is occupied mostly by the SSD hard disk, we are going to shrink the volume and get 200GB out from windows 11 and assign it to Debian.
Right-click on the OS Partition, and click on Shrink Volume.
In the shrink volume pop-up, under Enter the amount of space to shrink in MB, we enter 204800, equivalent to 200GB.
After that, click on Shrink.
After a few seconds, you will see the windows hard disk size reduced to 276Gb and you have free unallocated space of 200GB, which you can use to install the Debian in it.
During installation, ensure to select the newly created bootable media.
3. Change the bootable media from HDD to the new USB drive.
On the machine where we are going to do dual boot with Debian 11 and windows 11. plugin the bootable USB device. Your windows 11 operating system will boot from the hard disk storage where you have installed the operating system. So we need to tell the bios that, instead of booting into the hard disk where you have installed the windows 11 OS. Choose a USB bootable drive instead.
You may start the machine and press f2 to get into the bios.
I am using an Asus machine, and I could get into the bios by long-pressing the f2 key during the system startup.
Each vendor has a different way to get into the bios.
Under boot selection, choose the newly created USB drive as the bootable location and save it in the bios. My USB drive name is Sandisk and as you can see, I changed the priority of the boot by moving up.
The system will now boot into USB drive, and the Debian 11 installation will now progress.
4. Start the Debian 11 installation.
On the Debian installation screen, choose Graphical install.
Select a language of your choice.
Specify your location.
Configure the keyboard language.
In the Detect network hardware windows you will see some of the wifi drivers are missing, you may choose no here, which we can take care of it later.
You need to make sure that you are connected to the LAN cable. After few seconds you will see the network is configured on the Debian 11 machine and it will get an IP address from the DHCP service.
5. Configure the hostname and DNS.
By default, the installer would choose Debian as the hostname, and you may change it according to your environment.
Enter the domain name.
If you have a domain name in your network, you may enter it here and click on Next.
6. Configure the Root password.
In Debian, you will create two accounts; one is for the root and another for a regular user. Let’s go ahead and set up a password for the root account.
7. Setup user account.
We have set the password for the root account. Let’s set up the normal user account.
Enter the user’s full name that you will create and click on Continue.
Set the username.
You will require to set the username of the normal account and click on Continue.
Set the password for the newly created account.
8. Set the timezone.
We now have to set the time for your Debian machine, and it is done using the NTP service.
In the configure clock section, choose the desired time zone. And click on continue
9. Configure the hard disk.
The disk partitioner wizard will now open up. Here we need to configure the hard disk that we allocated in the Windows disk manager for the Debian 11, which is 200GB.
In the partition disks,
Choose Manual and continue.
As you can see, we have 214.7 GB available for free, where we can install Debian 11.
We will give 185GB for the ROOT and 22GB for HOME rest for the swap memory in our setup.
Setup Root storage.
By selecting the free space, click on Continue.
Create a new partition and click on Continue.
In the new partition size, enter 185.0 GB and click on Continue.
Choose Beginning, for the location for the new partition. And click on Continue.
You can see, the new hard disk size allocated to the root directory, you may now click on Done setting up the partition.
If you would like you can resize the partition based on your requirement.
Configure the home storage.
The home directory creates all the user accounts, and the user files are saved. Since it will be a single user on this machine, I will allocate only 22GB for the home directory. Which is more than enough.
As you can see, still we have 29.8 GB of storage available to use, select the free space and click on Continue.
Choose create a new partition and continue.
I have given 22.0GB of storage, and click on Continue.
Choose Beginning for the new partition location and continue.
You can see, by default the newly added partition mapped to the home directory.
You may click on Done setting up the partition.
Configure the SWAP memory.
You are now left with 7.8GB of free space, which we will allocate to the swap memory.
Select the free space and click on Continue.
Choose create a new partition and click on Continue.
Select the new partition’s size as 7.8GB, which is left in our hard disk, and click con continue.
In the partition summary, you can see the newly added partition mapped to /usr directory. We need to tell Debian to use the new partition as a swap area.
Choose the Use as Ext4 jounaling file system and click on Continue.
In the how to use this partition, choose the SWAP area from the list and click on Continue.
In the swap area partition summary, choose done setting up the partition and click on Continue.
We configured the storage for the Debian 11 machine, and you now have the hard disk configured with root, home, and swap directories.
Scroll down and select Finish partitioning and write changes to disk, and Continue.
You will be asked that the hard disk will be formatted. You may choose yes here.
The partition formatting will start now, after which the installation will continue.
10. Continue with the Debian installation.
The installation is now started. You will be asked to configure the package manager, which is required to install the software packages and dependencies.
Choose yes, and continue.
Choose the mirror nearest to you.
Select db.debian.org, which is the good choice.
In the proxy configuration, enter the proxy address if you are using a proxy; else just leave blank and click on Continue.
In the popularity contest, choose no, unless you want to participate.
The installation will continue, and you will be required to choose what packages you would like to install.
Apart from the default selection, I have also selected the SSH server, which required for me to ssh into the Debian machine.
After a few seconds, you will get the installation is complete message, and when you click on Continue, it will reboot the machine.
When the Debian system is restarted, it will use its bootloader and ask you which operating system to load.
If you choose Debian GNU/Linux you will get the Debian operating system. If you choose windows boot manager, then it will take you to the windows operating system.
If you don’t choose after a few seconds, it will auto-select the Debian11.
Congrats! You have successfully installed Debian 11 on your machine using the dual boot. Anytime you want to switch to windows11, you just reboot the Debian operating system and choose windows boot manager at the boot screen.
- IT
- Компьютеры
- Cancel
Казалось бы, тема тривиальная, но было затрачено больше дня, поэтому заслуживает того, чтобы быть зафиксированным.
Дано:
— Asus Rog g771jw (UEFI) с двумя жёсткими дисками, на одном из них — предустановленная Windows 10.
— Есть флешки
— Нет болванок DVD
— Есть эпидемия коронавируса, которая затрудняет поход в магазин за болванками
— Есть проводной и беспроводной интернет
Надо:
— не сломать Windows
— поставить Linux
Ловушки на пути, которые были преодолены:
— вход в БИОС. Windows препятствует ему, нужно отключить «быструю загрузку Windows». После этого выключаем компьютер или перезагружаем и сразу нажимаем F2 — можем попасть в БИОС
— на CD помещается только образ для сетевой установки, но в нём нет нужного для Wifi проприетарного драйвера. Поэтому во время установки беспроводной интернет не работает. В принципе инсталлятор предусматривает возможность подсунуть нужный файл и даже говорит какой файл, но по какой-то причине подсунуть его не удалось. Выручил проводной интернет
— инсталлятор путается между UEFI и Legacy BIOS. Важно в биосе для загрузки с установочного CDROM выбрать вариант загрузки именно через EFI. Это неочевидно, и в противном случае система установится, но не запустится
— чтобы не сломать Windows, ставим Grub на флешку. Хотя я не понял, куда она фактически поставилась. При отсутствии флешки какой-то сломанный Grub всё равно появляется. То ли я при одной из попыток промахнулся, то ли инсталлятор сделал что-то самовольно. Но, слава Богу, Windows уцелел
— сложность настройки wifi из командной строки. Пытался поставить систему чисто с диска (без подключения к сети) и потом добавить поддержку wifi, перенося пакеты на флешке и правя конфиги, но так и не осилил. В итоге поставил графическое окружение по умолчанию через проводной интернет и оно почти сразу всё смогло
Итак, последовательность действий
— скачиваем образ сетевой установки для Amd64 и записываем на CD (я использую древнюю программу Small CD Writer, но это вряд ли важно)
— подготавливаем флешку, которую не жалко сделать загрузочной. Загрузка в Linux будет возможно только тогда, когда эта флешка вставлена
— В Windows отключить быструю загрузку, которая мешает попасть в Биос. Наверняка зависит от версии Windows, но у меня на 2020-03-25 как-то так: панель управления/оборудование и звук/электропитание/действие кнопок питания/изменение параметров, которые сейчас недоступны/снимаем галку «Включить быстрый запуск»
— перезагружаемся и жмём F2 до тех пор, пока не появится экран управления BIOS.
— есть два способа управления загрузкой — 1. на вкладке «Boot» 2. на вкладке «save & exit» имеется Boot Override, позволяющий однократно загрузиться с выбранной опцией. Загружаемся с UEFI/DVD RAM, не с P2/DVD RAM (это принципиально важно!)
— вставляем флешку (все данные с неё будут позднее стёрты!)
— выбираем вариант установки advanced options/graphical expert install. у меня тачпад не работал во время загрузки, ходим между полями ввода tab-ом и стрелками.
— пытается опознать wifi, но не может. Предлагает подсунуть файл — пропускаем. Дальше он должен распознать проводную сеть и подключиться к ней. Если не подключился, дальше можно идти гулять.
— выбираем ручную разметку дисков. Раздел, куда ставим, назначаем на /, а флешку — на /boot. Оба форматируем как ext4.
Я оба поставил загрузочными, но вряд ли это важно. Надо бы ещё выделить раздел под swap, но я предпочитаю обходиться без него. Пусть лучше падает, чем тормозит, у меня 16 Гб ОЗУ, должно хватить
— предлагает список из ядер, выбираем то, к-рое по умолчанию
— далее выбираем полное ядро (со всеми драйверами), а не минимальное (которое только для этой системы)
— ставим граф.окружение по умолчанию
— предлагает поставить grub куда-то там в область сменных носителей — отказываемся
— после успешного завершения установки при перезагрузке появится выбор загрузиться с флешки — пользуемся им
— всё ещё пользуемся проводным интернетом и ставим драйвера: sudo apt install iwlwifi
— перезагружаемся
— lsusb вроде должно показать карту
— ip addr должно показать карту
— ищем слово wifi в поискивике внутри ос (по кнопке windows, которая тут называется super)
— всё должно заработать
— дальше при перезагрузке в Windows будет сбиваться время. Поэтому, действуем согласно
https://losst.ru/sbivaetsya-vremya-v-ubuntu-i-windows#_Windows_UTC и выполняем команду
sudo timedatectl set-local-rtc 1 —adjust-system-clock