My dotfiles, powered by dotbot
.
-
Run the installer:
-
Mac:
url=https://raw.githubusercontent.com/dycw/dotfiles/master/installer/curl-entrypoint.sh && bash <(curl -fsLS --proto '=https' --tlsv1.2 "$url")
-
Ubuntu:
sudo apt -y install curl && url=https://raw.githubusercontent.com/dycw/dotfiles/master/installer/curl-entrypoint.sh && bash <(curl -fsLS --proto '=https' --tlsv1.2 "$url")
-
-
Mount any drives if necessary (https://bit.ly/3Llpgi2):
-
List the disk partitions:
> sudo fdisk -l ... Disk /dev/sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: Samsung SSD 860 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 5623EA77-3F36-4FED-BC1D-4BA8FE591A05 Device Start End Sectors Size Type /dev/sdb1 2048 1953523711 1953521664 931.5G Linux filesystem ...
Take note of the partition,
/dev/sdb1
in this case. -
Create a mount point:
> sudo mkdir /data
-
Add your disk to
/etc/fstab
:> sudo vim /etc/fstab
The result should be:
... /dev/sdb1 /data ext4 defaults 0 0
-
Mount your disk:
> sudo mount /data
-
If there is a
Structure needs cleaning
error, then (https://bit.ly/3L29UO2):> sudo fsck.ext -y /dev/sdb1
-
-
Install the drivers:
sudo ubuntu-drivers autoinstall sudo reboot
-
Select
lightdm
as the default display manager:sudo apt install -y lightdm
-
Try the fix; reboot into the GRUB menu and change the Linux boot command:
- linux /boot/vmlinuz-5.15.0-33-generic root=UUID=0078fc53-b302-4373-a300-ede04a2e826d ro quiet splash $vt_handoff + linux /boot/vmlinuz-5.15.0-33-generic root=UUID=0078fc53-b302-4373-a300-ede04a2e826d ro quiet splash amd_iommu=off $vt_handoff
Press
Ctrl
+x
to boot.If you do not see the GRUB menu, hold down the
Shift
key or setGRUB_TIMEOUT_STYLE=menu
in/etc/default/grub
as per here. -
Make the fix permanent; edit
/etc/default/grub
:- GRB_CMDLINE_LINUX_DEFAULT="quiet splash" + GRB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=off"
and then:
sudo update-grub