-
-
Notifications
You must be signed in to change notification settings - Fork 499
How to create a DietPi image for x86_64 PCs (BIOS)
yakupcengo edited this page Aug 13, 2022
·
5 revisions
- Debian netboot/mini.iso: https://deb.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/netboot/mini.iso
- Flash the image onto a USB flash drive, using e.g. Rufus or Etcher.
- Plug the USB flash drive into the target system and boot from it.
-
Advanced options
>Expert install
- When the installer menu shows up, unplug the USB flash drive and in case any other external drive. This is required to allow the installer detecting the main internal drive as
SCSI1
/sda
. -
Choose language
- Language:
English - English
- Country, territory or area:
United Kingdom
- Country to base default locale settings on:
United Kingdom - en_GB.UTF-8
- Additional locales: select NO additional locales >
Continue
- Language:
-
Configure the keyboard
British English
-
Detect network hardware
- In case: Deselect any
Modules to load
as we don't require them.
- In case: Deselect any
-
Configure the network
- In case select correct network adapter and enter WiFi credentials
- Auto-configure networking:
Yes
- Waiting time for link detection:
3
(default) - Hostname:
DietPi
- Domain name:
<leave empty>
-
Choose a mirror of the Debian archive
- Protocol for file downloads:
http
- Debian archive mirror country: just use your country or use
United Kingdom
. It will be overwritten anyway by DietPi-PREP, as actually most other settings as well 😉. - Debian archive mirror: just use one near to your location or
deb.debian.org
. It will be overwritten anyway by DietPi-PREP, as actually most other settings as well 😉. - HTTP proxy information: in case select your proxy server or leave it empty if there is no proxy server.
- Debian version to install:
bullseye - stable
- Protocol for file downloads:
-
Download installer components
-
deselect everything >
Continue
-
deselect everything >
-
Set up users and passwords
- Enable shadow passwords?
Yes
- Allow login as root?
Yes
- Root password:
dietpi
>Continue
- Create a normal user account now?
No
- Enable shadow passwords?
-
Configure the clock
- Set the clock using NTP?
Yes
- NTP server to use: leave default mirror
0.debian.pool.ntp.org
>Continue
- Select your time zone:
UTC
- Set the clock using NTP?
-
Detect disks
- In case: Deselect any
Modules to load
>Continue
- In case: Deselect any
-
Partition disks
- Partition method:
Manual
- Select the main drive (
SCSI1
/sda
)- Create new empty partition table on this device?:
Yes
- Partition table type:
msdos
- Create new empty partition table on this device?:
- Select
FREE SPACE
below the driveCreate a new partition
- New partition size:
1.5 GB
(should be sufficient for Debian + DietPi installs) >Continue
- Location for the new partition:
Beginning
- Partition settings:
- Use as:
Ext4 journaling file system
- Mount point:
/
Done setting up the partition
- Use as:
-
Finish partitioning and write changes to disk
- Do you want to return to the partitioning menu?:
No
- Write the changes to disks?:
Yes
- Do you want to return to the partitioning menu?:
- Partition method:
-
Install the base system
- Kernel to install:
linux-image-amd64
- Drivers to include in the initrd:
generic
to be most compatible.
- Kernel to install:
-
Configure the package manager
- Use non-free software?:
No
- Use contrib software?:
No
- Enable source repositories in APT?
No
- Services to use: select
security updates
andrelease updates
andbackported software
, however it will be added by DietPi-PREP anyway. >Continue
.
- Use non-free software?:
-
Select and install software
- Updates management on this system:
No automatic updates
- Participate in the package usage survey?:
No
(user should decide this oneself later) -
Deselect all additional software >
Continue
- Updates management on this system:
-
Install the GRUB boot loader on a hard disk
- Install the GRUB boot loader to the master boot record?:
Yes
- Device to boot loader installation:
/dev/sda
- Force GRUB installation to the EFI removable media path?:
No
- Install the GRUB boot loader to the master boot record?:
-
Finish the installation
- Is the system clock set to UTC?
Yes
- Installation complete:
Continue
- Is the system clock set to UTC?
- After reboot, login as root:dietpi
- In case you need to configure the network first:
apt update && apt install -y ca-certificates curl dropbear
- Connect via SSH (IP:
ip a
) for easier copy&paste etc.bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-installer')"
- Git branch:
master
- Enter your name to be shown as image creator within DietPi banner credits.
- Enter
Debian mini.iso
as this was our base image above. - Device:
21 : x86_64 Native PC
- Select WLAN functionality, to be most compatible.
- Distro version:
6: Bullseye
shutdown now
- Either plug the drive into another DietPi system or boot DietPi from another USB drive.
- Run DietPi-Imager
bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-imager')"
Project management
Extend
- DietPi-Software list
- DietPi TCP/UDP port usage list
- How to add a new software title
- How to create a DietPi image for Raspberry Pi
- How to create a DietPi image for VirtualBox
- How to create a DietPi image for VMware
- How to create a DietPi image for Parallels (macOS)
- How to create a DietPi image for x86_64 PCs (BIOS)
- How to create a DietPi image for x86_64 PCs (UEFI)
Knowledge Base