- Download and boot from a Debian live CD: https://www.debian.org/CD/live/
- Login with
user:live - Setup and mount disks at
/mnt. Arch Linux has a good guide to this: https://wiki.archlinux.org/index.php/Partitioning - Run debootstrap
- Replace RELEASE below with the name of the release you want to install, like ``jessie`` or ``vivid``
- Debian:
sudo debootstrap RELEASE /mnt http://ftp.debian.org/debian - Ubuntu:
sudo debootstrap RELEASE /mnt http://archive.ubuntu.com/ubuntu
- Mount Filesystems:
sudo mount --bind /dev /mnt/devsudo mount -t proc none /mnt/procsudo mount -t sysfs sys /mnt/sys
- Chroot into your new system with
chroot /mnt /bin/bash - Edit
/etc/fstabhttps://wiki.archlinux.org/index.php/Fstab - Set hostname with:
echo HOSTNAME > /etc/hostname - Set timezone with
ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime - Set root password with:
passwd - Generate Locales
apt-get install localesdpkg-reconfigure locales
- Install a Linux kernel
- Locate the apropiate one with:
apt-cache search linux-image - Install it with
apt-get install KERNELNAME
- Locate the apropiate one with:
- Setup Bootloader
- BIOS:
apt-get install grub-pc - UEFI:
apt-get install grub-efi
- BIOS:
- Install Bootloader with
grub-install /dev/DEVICENAME - Exit Chroot with:
exit - Umount everthing:
sudo umount /mnt/devsudo umount /mnt/procsudo umount /mnt/syssudo umount /mnt
- Reboot with
sudo shutdown -r now - Remove installation media
- Enjoy!