User:Innsill/dwm-starter (x86-64): Difference between revisions
No edit summary |
m (Replace includes for Template:C with Template:Ic so we can delete the former.) |
||
Line 18: | Line 18: | ||
= setup-alpine = | = setup-alpine = | ||
'''{{ | '''{{Ic| setup-alpine}}''' ...none, none, none,... | ||
* lsblk | * lsblk | ||
Line 35: | Line 35: | ||
= setup-disk = | = setup-disk = | ||
* BOOTLOADER=grub </br> '''{{ | * BOOTLOADER=grub </br> '''{{Ic| setup-disk /mnt}}''' | ||
* {{ | * {{Ic| mount /dev/ /mnt/dev/ --bind}} </br> {{Ic| mount -t proc none /mnt/proc}} </br> {{Ic| mount -o bind /sys /mnt/sys}} </br> chroot /mnt </br> grub-install /dev/sda | ||
= = | = = | ||
Line 46: | Line 46: | ||
= X ??? = | = X ??? = | ||
* {{ | * {{Ic| X -configure}} | ||
** {{ | ** {{Ic| vi xorg.conf.new}} | ||
Section "Device" | Section "Device" |
Latest revision as of 22:57, 9 January 2024
... ???
/dev/sda /dev/nvme0n1 (old bios bootable) (m.2 PCIe NVMe, unbootable) +-------------------+ +-------------------+ | *--------------+ | | +--------------+ | | | /boot | | | | swap | | | +--------------+ | | +--------------+ | +-------------------+ | +--------------+ | | | / | | | +--------------+ | +-------------------+
alpine-extended-3.10.3-x86_64.iso
setup-alpine
setup-alpine
...none, none, none,...
- 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
...
- p - primary
- 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
setup-disk
- BOOTLOADER=grub
setup-disk /mnt
mount /dev/ /mnt/dev/ --bind
mount -t proc none /mnt/proc
mount -o bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
echo "ff ALL = (ALL) NOPASSWD: /usr/sbin/hdparm -Y /dev/sda" >> /etc/sudoers.d/ff
chmod 400 /etc/sudoers.d/ff
echo "sudo hdparm -Y /dev/sda" >> /home/ff/.profile
X ???
X -configure
vi xorg.conf.new
Section "Device" Identifier "Card0" Driver "amdgpu" BusID "PCI:0:17:0" EndSection
...
$vi .xinitrc
Contents of /home/ff/.xinitrc
setxkbmap ... &
exec dvm