-
-
Save bashelled/c7263d1e7b026fe66ebdc7f2d66efe00 to your computer and use it in GitHub Desktop.
Revisions
-
bashelled revised this gist
May 21, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Indicators: 9. Set timezone with `ln -sf /usr/share/zoneinfo/<ZONE>/<SUBZONE> /etc/localtime` 10. Set root password with: `passwd`, and make a user if needed (`adduser <user>`) _Note: On some systems like Arch Linux, (/usr)/sbin is not in $PATH. Be sure to add it._ 11. Generate Locales - `apt-get install locales` -
bashelled revised this gist
Apr 9, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,9 +25,9 @@ Indicators: 5. `Mount Filesystems:` - `sudo mount --bind /dev /mnt/dev` - `sudo mount -t proc none /mnt/proc` - `sudo mount -t sysfs sys /mnt/sys` -
bashelled revised this gist
Apr 9, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Indicators: Install and run debootstrap - `sudo apt-get install debootstrap` (or `sudo pacman -S debootstrap`, `sudo dnf install debootstrap`, `sudo xbps-install debootstrap`, `emerge -a debootstrap` and so on...) - **Replace RELEASE below with the name of the release you want to install, like `jessie` or `vivid`** - Debian: `sudo debootstrap <RELEAS>E /mnt <<http://ftp.debian.org/debian>>` -
bashelled revised this gist
Apr 9, 2021 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,8 @@ Indicators: 3. Setup and mount disks at `/mnt`. Arch Linux has a good guide to this: <https://wiki.archlinux.org/index.php/Partitioning> 4. Install and run debootstrap - `sudo apt-get install debootstrap` (or `sudo pacman -S debootstrap`, `sudo dnf install debootstrap`, `sudo xbps-install debootstrap`, `emerge -a debootstrap` and so on...) @@ -22,7 +23,8 @@ Indicators: - Ubuntu: `sudo debootstrap <RELEASE> /mnt <<http://archive.ubuntu.com/ubuntu>>` 5. Mount Filesystems: : - `sudo mount --bind /dev /mnt/dev` -
bashelled revised this gist
Apr 9, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Indicators: 4. Install and run debootstrap - `sudo apt-get install debootstrap` (or `sudo pacman -S debootstrap`, `sudo dnf install debootstrap`, `sudo xbps-install debootstrap`, `emerge -a debootstrap` and so on...) - **Replace RELEASE below with the name of the release you want to install, like `jessie` or `vivid`** - Debian: `sudo debootstrap <RELEAS>E /mnt <<http://ftp.debian.org/debian>>` -
bashelled revised this gist
Apr 9, 2021 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Indicators: this: <https://wiki.archlinux.org/index.php/Partitioning> 4. Install and run debootstrap : - `sudo apt-get install debootstrap` (or `sudo pacman -S debootstrap`, `sudo dnf install debootstrap`, `sudo xbps-install debootstrap`, `emerge -a debootstrap` and so on...) @@ -24,7 +23,6 @@ Indicators: `sudo debootstrap <RELEASE> /mnt <<http://archive.ubuntu.com/ubuntu>>` 5. Mount Filesystems: : - `sudo mount --bind /dev /mnt/dev` -
bashelled revised this gist
Apr 9, 2021 . 2 changed files with 74 additions and 39 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,74 @@ # Install Debian/Ubuntu/Kali like Arch/Gentoo Indicators: - <<>>: Replacable - <>: Replace 1. Download and boot from a Debian/Ubuntu live CD: <https://www.debian.org/CD/live/> (if you have an existing Linux system with debootstrap support, skip to step 3) 2. Login with `user:live` 3. Setup and mount disks at `/mnt`. Arch Linux has a good guide to this: <https://wiki.archlinux.org/index.php/Partitioning> 4. Install and run debootstrap : - `sudo apt-get install debootstrap` (or `sudo pacman -S debootstrap`, `sudo dnf install debootstrap`, `sudo xbps-install debootstrap`, `emerge -a debootstrap` and so on...) - **Replace RELEASE below with the name of the release you want to install, like `jessie` or `vivid`** - Debian: `sudo debootstrap <RELEAS>E /mnt <<http://ftp.debian.org/debian>>` - (If Ubuntu) `sudo apt-get install ubuntu-archive-keyring` - Ubuntu: `sudo debootstrap <RELEASE> /mnt <<http://archive.ubuntu.com/ubuntu>>` 5. Mount Filesystems: : - `sudo mount --bind /dev /mnt/dev` - `sudo mount -t proc none /mnt/proc` - `sudo mount -t sysfs sys /mnt/sys` 6. Chroot into your new system with `chroot /mnt /bin/bash` 7. Edit `/etc/fstab` <https://wiki.archlinux.org/index.php/Fstab> or install `arch-install-scripts` and use `genfstab /mnt >> /mnt/etc/fstab` **before you chroot** 8. Set hostname with: `echo <host> > /etc/hostname` and edit `/etc/hosts` to match it, although editing `/etc/hosts` is not required because it is already set 9. Set timezone with `ln -sf /usr/share/zoneinfo/<ZONE>/<SUBZONE> /etc/localtime` 10. Set root password with: `passwd`, and make a user if needed (`adduser <user>`) 11. Generate Locales - `apt-get install locales` - Edit `/etc/locale.gen` - `locale-gen` 12. Install a Linux kernel - Locate the apropiate one with: `apt-cache search linux-image` - Install it with `apt-get install linux-image-<version>` 13. Setup Bootloader (skip to 15 on installed OS) - BIOS: `apt-get install grub-pc` - UEFI: `apt-get install grub-efi` 14. Install Bootloader with: - BIOS: `grub-install /dev/<DEVICENAME>` - UEFI: `grub-install --efi-directory=<efi-dir>` 15. Exit Chroot with: `exit` (installed OS users must update the bootloader, if Debian/Ubuntu isn't recognised, skip back to 13) 16. Umount everthing: - `sudo umount /mnt/dev` - `sudo umount /mnt/proc` - `sudo umount /mnt/sys` - `sudo umount /mnt` 17. Reboot with `sudo shutdown -r now` 18. Remove installation media, 19. Enjoy! This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,39 +0,0 @@ -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,9 @@ 9. Set root password with: ``passwd`` 10. Generate Locales - ``apt-get install locales`` - Edit ``/etc/locales.gen`` - ``locale-gen`` 11. Install a Linux kernel - Locate the apropiate one with: ``apt-cache search linux-image`` - Install it with ``apt-get install KERNELNAME`` -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,7 @@ - ``sudo apt-get install 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`` - (If Ubuntu) ``sudo apt-get install ubuntu-archive-keyring`` - Ubuntu: ``sudo debootstrap RELEASE /mnt http://archive.ubuntu.com/ubuntu`` 5. Mount Filesystems: - ``sudo mount --bind /dev /mnt/dev`` -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ 1. Download and boot from a Debian live CD: https://www.debian.org/CD/live/ 2. Login with ``user:live`` 3. Setup and mount disks at ``/mnt``. Arch Linux has a good guide to this: https://wiki.archlinux.org/index.php/Partitioning 4. Install and run debootstrap - ``sudo apt-get install 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`` -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,4 @@ - ``sudo umount /mnt`` 16. Reboot with ``sudo shutdown -r now`` 17. Remove installation media 18. Enjoy! -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,21 +17,21 @@ 10. Generate Locales - ``apt-get install locales`` - ``dpkg-reconfigure locales`` 11. Install a Linux kernel - Locate the apropiate one with: ``apt-cache search linux-image`` - Install it with ``apt-get install KERNELNAME`` 12. Setup Bootloader - BIOS: ``apt-get install grub-pc`` - UEFI: ``apt-get install grub-efi`` 13. Install Bootloader with ``grub-install /dev/DEVICENAME`` 14. Exit Chroot with: ``exit`` 15. Umount everthing: - ``sudo umount /mnt/dev`` - ``sudo umount /mnt/proc`` - ``sudo umount /mnt/sys`` - ``sudo umount /mnt`` 16. Reboot with ``sudo shutdown -r now`` 17. Remove installation media 17. Enjoy! .. _Debian .. _Partitioning https://wiki.archlinux.org/index.php/Partitioning -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,9 @@ 7. Set hostname with: ``echo HOSTNAME > /etc/hostname`` 8. Set timezone with ``ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime`` 9. Set root password with: ``passwd`` 10. Generate Locales - ``apt-get install locales`` - ``dpkg-reconfigure locales`` 10. Install a Linux kernel - Locate the apropiate one with: ``apt-cache search linux-image`` - Install it with ``apt-get install KERNELNAME`` -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ 7. Set hostname with: ``echo HOSTNAME > /etc/hostname`` 8. Set timezone with ``ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime`` 9. Set root password with: ``passwd`` 10. Generate Locales: https://people.debian.org/~schultmc/locales.html 10. Install a Linux kernel - Locate the apropiate one with: ``apt-cache search linux-image`` - Install it with ``apt-get install KERNELNAME`` -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 5 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ 1. Download and boot from a Debian live CD: https://www.debian.org/CD/live/ 2. Login with ``user:live`` 3. Setup and mount disks at ``/mnt``. Arch Linux has a good guide to this: https://wiki.archlinux.org/index.php/Partitioning 4. 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`` @@ -10,7 +10,7 @@ - ``sudo mount -t proc none /mnt/proc`` - ``sudo mount -t sysfs sys /mnt/sys`` 5. Chroot into your new system with ``chroot /mnt /bin/bash`` 6. Edit ``/etc/fstab`` https://wiki.archlinux.org/index.php/Fstab 7. Set hostname with: ``echo HOSTNAME > /etc/hostname`` 8. Set timezone with ``ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime`` 9. Set root password with: ``passwd`` @@ -31,6 +31,5 @@ 16. Remove installation media 17. Enjoy! .. _Debian .. _Partitioning https://wiki.archlinux.org/index.php/Partitioning .. _fstab -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,4 +29,8 @@ - ``sudo umount /mnt`` 15. Reboot with ``sudo shutdown -r now`` 16. Remove installation media 17. Enjoy! .. _Debian https://www.debian.org/CD/live/ .. _Partitioning https://wiki.archlinux.org/index.php/Partitioning .. _fstab https://wiki.archlinux.org/index.php/Fstab -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ - ``sudo mount -t proc none /mnt/proc`` - ``sudo mount -t sysfs sys /mnt/sys`` 5. Chroot into your new system with ``chroot /mnt /bin/bash`` 6. Edit ``/etc/fstab`` (Guide for fstab_.) 7. Set hostname with: ``echo HOSTNAME > /etc/hostname`` 8. Set timezone with ``ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime`` 9. Set root password with: ``passwd`` -
Tookmund renamed this gist
May 9, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,5 @@ 1. Download and boot from a Debian_. live cd 2. Login with ``user:live`` 3. Setup and mount disks at ``/mnt``. Arch Linux has a good guide to this: Partitioning_. 4. Run debootstrap - **Replace RELEASE below with the name of the release you want to install, like ``jessie`` or ``vivid``** -
Tookmund revised this gist
May 9, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,7 @@ - UEFI: ``apt-get install grub-efi`` 12. Install Bootloader with ``grub-install /dev/DEVICENAME`` 13. Exit Chroot with: ``exit`` 14. Umount everthing: - ``sudo umount /mnt/dev`` - ``sudo umount /mnt/proc`` - ``sudo umount /mnt/sys`` -
Tookmund created this gist
May 9, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ 1. Download and boot from a Debian or Ubuntu Live CD - Debian_. - Ubuntu_. 2. (On Debian) Login with ``user:live`` 3. Setup and mount disks at ``/mnt``. Arch Linux has a good guide to this: Partitioning_. 4. 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`` 5. Mount Filesystems: - ``sudo mount --bind /dev /mnt/dev`` - ``sudo mount -t proc none /mnt/proc`` - ``sudo mount -t sysfs sys /mnt/sys`` 5. Chroot into your new system with ``chroot /mnt /bin/bash`` 6. Edit ``/etc/fstab`` 7. Set hostname with: ``echo HOSTNAME > /etc/hostname`` 8. Set timezone with ``ln -sf /usr/share/zoneinfo/ZONE/SUBZONE /etc/localtime`` 9. Set root password with: ``passwd`` 10. Install a Linux kernel - Locate the apropiate one with: ``apt-cache search linux-image`` - Install it with ``apt-get install KERNELNAME`` 11. Setup Bootloader - BIOS: ``apt-get install grub-pc`` - UEFI: ``apt-get install grub-efi`` 12. Install Bootloader with ``grub-install /dev/DEVICENAME`` 13. Exit Chroot with: ``exit`` 14: Umount everthing: - ``sudo umount /mnt/dev`` - ``sudo umount /mnt/proc`` - ``sudo umount /mnt/sys`` - ``sudo umount /mnt`` 15. Reboot with ``sudo shutdown -r now`` 16. Remove installation media 17. Enjoy!