linux:dev1_1install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:dev1_1install [2026/01/09 20:11] – azman | linux:dev1_1install [2026/01/09 20:31] (current) – [Devuan upgrade (chimaera to daedalus)] azman | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| * this is my primary choice, but I have installed cinnamon on other machines | * this is my primary choice, but I have installed cinnamon on other machines | ||
| * replace wicd with network-manager | * replace wicd with network-manager | ||
| - | * '' | + | * '' |
| - | * ''// | + | * ''// |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| ===== Minimal Desktop Installation ===== | ===== Minimal Desktop Installation ===== | ||
| Line 43: | Line 43: | ||
| * install base (use netinstall iso... or, maybe use debootstrap? | * install base (use netinstall iso... or, maybe use debootstrap? | ||
| - | * install my usual stuffs < | + | * install my usual stuffs < |
| - | * install xorg stuffs < | + | * install xorg stuffs < |
| - | * install suckless stuffs < | + | * install suckless stuffs < |
| * install '' | * install '' | ||
| * use my1ubuild script | * use my1ubuild script | ||
| - | * looks good, but i need acpi stuffs < | + | * looks good, but i need acpi stuffs < |
| * for laptop, maybe add '' | * for laptop, maybe add '' | ||
| * if need command-line utility, add '' | * if need command-line utility, add '' | ||
| Line 59: | Line 59: | ||
| * need to install gisk debootstrap | * need to install gisk debootstrap | ||
| * optionally, install lvm2 | * optionally, install lvm2 | ||
| - | * run < | + | * run < |
| * prepare disk (/dev/sda) layout | * prepare disk (/dev/sda) layout | ||
| * 1 uefi partition (ef00) | * 1 uefi partition (ef00) | ||
| Line 66: | Line 65: | ||
| * 1 home partition (8e00/8300) | * 1 home partition (8e00/8300) | ||
| * 1 swap partition (8200) | * 1 swap partition (8200) | ||
| - | * run < | + | * run < |
| * format/ | * format/ | ||
| - | # mkfs.ext4 -L MY1BOOT /dev/sda2 | + | $ mkfs.ext4 -L MY1BOOT /dev/sda2 |
| - | # mount /dev/sda2 / | + | $ mount /dev/sda2 / |
| * run debootstrap < | * run debootstrap < | ||
| - | # debootstrap chimaera /mnt/disk https:// | + | $ debootstrap chimaera /mnt/disk https:// |
| * while debootstrap runs, format other partitions< | * while debootstrap runs, format other partitions< | ||
| - | # mkdosfs -n MY1UEFI /dev/sda1 | + | $ mkdosfs -n MY1UEFI /dev/sda1 |
| - | # mkfs.ext4 -L MY1BOOT /dev/sda2 | + | $ mkfs.ext4 -L MY1BOOT /dev/sda2 |
| - | # mkswap -L MY1SWAP / | + | $ mkswap -L MY1SWAP / |
| * will use lvm in this example < | * will use lvm in this example < | ||
| - | # pvcreate /dev/sda3 | + | $ pvcreate /dev/sda3 |
| - | # vgcreate homevg /dev/sda3 | + | $ vgcreate homevg /dev/sda3 |
| - | # lvcreate -l +100%FREE -n home0 homevg | + | $ lvcreate -l +100%FREE -n home0 homevg |
| - | # mkfs.ext4 -L MY1HOME / | + | $ mkfs.ext4 -L MY1HOME / |
| * mount efi/home partitions< | * mount efi/home partitions< | ||
| - | # mkdir -p / | + | $ mkdir -p / |
| - | # mount /dev/sda1 / | + | $ mount /dev/sda1 / |
| - | # mount / | + | $ mount / |
| + | * chroot and install/ | ||
| + | $ chroot /mnt/disk | ||
| + | $ apt update | ||
| + | $ apt install linux-image-amd64 build-essential linux-headers-amd64 vim git lvm2 | ||
| + | $ apt install firmware-linux firmware-iwlwifi firmware-atheros firmware-realtek | ||
| + | $ apt install cinnamon-desktop-environment</ | ||
| + | * update initramfs (add lvm support)< | ||
| + | $ update-initramfs -u -k all</ | ||
| + | * i prefer all-lowercase path names< | ||
| + | $ cd /etc ; vi xdg/ | ||
| + | * setup locale< | ||
| + | $ apt install locales | ||
| + | $ cd /etc ; echo " | ||
| + | $ locale-gen</ | ||
| + | * setup grub< | ||
| + | $ apt install grub-efi-amd64 | ||
| + | $ grub-install /dev/sda | ||
| + | $ update-grub</ | ||
| + | * run efibootmgr to make sure< | ||
| + | * edit fstab< | ||
| + | * setup root password< | ||
| + | * change hostname< | ||
| + | * reboot | ||
| + | |||
| + | //**Note:** I got to Cinnamon Desktop and everything looks ok - BUT, I simply cannot run gnome-terminal! Well, I can if i run '' | ||
| + | |||
| + | //work in progress...// | ||
| + | |||
| + | ===== Devuan upgrade (chimaera to daedalus) ===== | ||
| + | |||
| + | Personal note - basically from devuan.org. | ||
| + | |||
| + | <file text devuan_upgrade.txt> | ||
| + | upgrade chimaera to daedalus (from devuan.org) | ||
| + | |||
| + | - update/ | ||
| + | $ apt update | ||
| + | $ apt upgrade | ||
| + | |||
| + | - update apt sources.list | ||
| + | $ cd /etc ; sed -i ' | ||
| + | |||
| + | - update pkg list from daedalus | ||
| + | $ apt update | ||
| + | |||
| + | - kill screensaver (if running) | ||
| + | $ killall xscreensaver | ||
| + | |||
| + | - upgrade/ | ||
| + | $ apt upgrade | ||
| + | $ apt dist-upgrade | ||
| + | |||
| + | - in case of failures, fix and rerun | ||
| + | $ apt -f install | ||
| + | $ apt dist-upgrade | ||
| + | |||
| + | - cleanup | ||
| + | $ apt autoremove --purge | ||
| + | $ apt autoclean | ||
| + | |||
| + | deb https:// | ||
| + | deb https:// | ||
| + | deb https:// | ||
| + | |||
| + | #deb-src https:// | ||
| + | #deb-src https:// | ||
| + | #deb-src https:// | ||
| + | </file> | ||
linux/dev1_1install.1767960705.txt.gz · Last modified: by azman
