User:Innsill/dwm-starter (x86-64)

From Alpine Linux
< User:Innsill
Revision as of 11:01, 2 November 2019 by Innsill (talk | contribs)
Jump to: navigation, search

... ???

  • lsblk
  • wipefs /dev/nvme0n1
  • __________________________________________________
    fdisk /dev/nvme0n1
    • o - clear out any partitions
    • n
      • p - primary
        1 - first partition on the drive
        +16G
        t - 82 Linux swap
        ...
    • n
      ... enter - to accept the default ending sectors
    • ...
  • __________________________________________________
    fdisk /dev/sda
    • ...
      a - toggle a bootable flag
      ...
  • __________________________________________________
    mkfs.btrfs -L RC100 /dev/nvme0n1p2
    mkfs.ext3 -L OLD_HDD /dev/sda2
    wipefs /dev/nvme0n1p2
    wipefs /dev/sda2
  • __________________________________________________
    mount -o compress /dev/nvme0n1p2 /mnt
    mkdir /mnt/boot
    mount /dev/sda2 /mnt/boot
  • swapon /dev/sda1
    swapon /dev/nvme0n1p1
  • ./setup-disk /mnt
  • ...