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

From Alpine Linux
No edit summary
No edit summary
Line 1: Line 1:
... ???
... ???
* alpine-extended-3.10.3-x86_64.iso
* lsblk
* lsblk
* wipefs /dev/nvme0n1  
* wipefs /dev/nvme0n1  
Line 11: Line 12:
** ... </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 -t btrfs -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 -->
* ./setup-disk /mnt
* BOOTLOADER=grub </br> setup-disk /mnt
*...
*... chroot /mnt </br> grub-install /dev/sda


= =
= =

Revision as of 22:40, 2 November 2019

... ???

  • alpine-extended-3.10.3-x86_64.iso
  • 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 -t btrfs -o compress /dev/nvme0n1p2 /mnt
    mkdir /mnt/boot
    mount /dev/sda2 /mnt/boot
  • BOOTLOADER=grub
    setup-disk /mnt
  • ... chroot /mnt
    grub-install /dev/sda