Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Copy your install notes to Arch USB stick.
- 2. Boot system with Arch USB and begin install process.
- 3. Access the files you copied to Arch USB:
- NOTE: First mount your root partition to /mnt/ or else you'll need to redo these steps after.
- $ mkdir -p /mnt/usb
- $ lsblk -f <-- Find the Arch USB device. It likely is /dev/sdb1.
- $ mount /dev/sdb1 /mnt/usb
- $ cd /mnt/usb/
- $ ls -al
- <Now you can see what you copied to the Arch USB>
- 4. Use tmux to split screen:
- $ tmux
- $ vim your_install_notes.txt
- [Ctrl + b] " <-- Split window vertically, so vim on top and terminal on bottom.
- [Ctrl + b] o <-- Select the next pane, use to navigate to/from vim to scroll through notes.
- -----
- Mini-tutorial on using tmux:
- Use tmux to split terminal, e.g. with vim on top and terminal on bottom to enter commands.
- $ tmux
- [Ctrl + b] ? <-- Show help. Q to exit help.
- [Ctrl + b] " <-- Split window vertically.
- [Ctrl + b] % <-- Split window horizontally.
- [Ctrl + b] space <-- Select next layout.
- [Ctrl + b] arrow <-- Select the pane in the arrow direction.
- [Ctrl + b] o <-- Select the next pane.
- [Ctrl + b] [Ctrl + o] <-- Rotate panes.
- [Ctrl + b] x or $ exit <-- Kill the active pane.
- [Ctrl + b] z <-- Zoom the active pane.
- [Ctrl + b] & <-- Kill current window. If only one window then exits tmux.
- [Ctrl + b] 0-9 <-- Select window N.
- [Ctrl + b] c <-- Create a new window.
- [Ctrl + b] n <-- Select the next window.
- [Ctrl + b] p <-- Select the previous window.
- 5. Type commands to install Arch in the second pane, while reading/editing your install notes in the first pane, like a boss.
- 6. One small issue to fix:
- When you do [$ genfstab -U /mnt >> /mnt/etc/fstab] <-- Done after pacstrap step if you follow https://wiki.archlinux.org/title/Installation_guide
- the mounted usb will get added to /mnt/etc/fstab.
- You need to remove these lines from /mnt/etc/fstab (e.g. $ vim /mnt/etc/fstab, delete the /usb line, and save)
- or else Linux will not boot without the USB plugged in:
- # /dev/sdb1 LABEL=ARCH_######
- UUID=####-#### /usb vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement