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

From Alpine Linux
< User:Innsill
Revision as of 10:47, 2 November 2019 by Innsill (talk | contribs) (Created page with "... ??? * lsblk * wipefs /dev/nvme0n1 * __________________________________________________</br> fdisk /dev/nvme0n1 ** '''o''' - clear out any partitions ** '''n''' *** '''p''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
  • ...