User:Innsill/dwm-starter (x86-64): Difference between revisions

From Alpine Linux
(Created page with "... ??? * lsblk * wipefs /dev/nvme0n1 * __________________________________________________</br> fdisk /dev/nvme0n1 ** '''o''' - clear out any partitions ** '''n''' *** '''p''...")
 
No edit summary
Line 10: Line 10:
* __________________________________________________</br> fdisk /dev/sda  
* __________________________________________________</br> fdisk /dev/sda  
** ... </br> '''a''' - toggle a bootable flag </br> ...
** ... </br> '''a''' - toggle a bootable flag </br> ...
* __________________________________________________</br> mkfs.btrfs -L rc100 /dev/nvme0n1p2 </br> mkfs.ext3 -L old_hdd /dev/sda2 </br> wipefs /dev/nvme0n1p2 </br> wipefs /dev/sda2
* __________________________________________________</br> mkfs.btrfs -L RC100 /dev/nvme0n1p2 </br> mkfs.ext3 -L OLD_HDD /dev/sda2 </br> wipefs /dev/nvme0n1p2 </br> wipefs /dev/sda2
* __________________________________________________</br> mount -o compress /dev/nvme0n1p2 /mnt </br> mkdir /mnt/boot </br> mount /dev/sda2 /mnt/boot
* __________________________________________________</br> mount -o compress /dev/nvme0n1p2 /mnt </br> mkdir /mnt/boot </br> mount /dev/sda2 /mnt/boot
* swapon /dev/sda1 </br>  swapon /dev/nvme0n1p1
* swapon /dev/sda1 </br>  swapon /dev/nvme0n1p1
Line 17: Line 17:


= =
= =
* [https://gh.de/delock-pci-express-x16-x4-x8-card-to-1x-nvme-m-2-key-m-for-server-90303-a1985030.html DeLOCK PCI.3 Express Card to NVMe M.2] gh.de
* [https://gh.de/toshiba-ocz-rc100-120gb-thn-rc10z1200g8-a1831493.html Toshiba OCZ RC100 120GB, m.2, NVMe] gh.de
* [https://gh.de/toshiba-ocz-rc100-120gb-thn-rc10z1200g8-a1831493.html Toshiba OCZ RC100 120GB, M.2] gh.de
* [https://gh.de/delock-pci-express-x16-x4-x8-card-to-1x-nvme-m-2-key-m-for-server-90303-a1985030.html DeLOCK PCIe 3] gh.de
* [https://gh.de/asus-m4a78lt-m-90-mibbj0-g0eay00z-a495831.html ASUS M4A78LT-M PCIe 2]

Revision as of 11:01, 2 November 2019

... ???

  • 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
  • ...