ubuntu-notes
ssh to another server, export Xwindows via SSH, and change the terminal colorscheme
setup a new proflie
then add alias to .bash_aliases or .bashrc
alias ssh_to_external_host='gnome-terminal --profile external_host -- ssh -X myaccount@192.168.1.133'
setup a ubuntu multi boot partition
- Ensure that your disk is setup with g-parted so that free space is available at the end of the disk
- Download the ISO image you want to muli boot
- Burn the image onto a memory key using rufus
- Boot from the key and select "install"
if you have video issues on boot, this is likely caused by the nouveau driver not handling multiple GPUs
1. Select the install ubuntu option
2. Press 'E' key to edit
3. [add nomodeset after "quiet splash " and before "$vf_handoff" ](https://www.dell.com/support/kbdoc/en-us/000123893/manual-nomodeset-kernel-boot-line-option-for-linux-booting)
- Follow the install prompts until it asks for a partition to install on
- Click on "free space"
- Create a ext4 partiion of the required size, set root folder to "/"
- Find and select the new device eg: /dev/nvme0n1p6
- Install the operating system
- Blacklist the nouveau driver
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo update-initramfs -u
- Reboot
- Install build essential
sudo apt install build-essential
- Install the nvidia driver using the .run install method (I've found this works best)
Now you should be able to reboot without a nomodeset, verify this works...
- Reboot and load into your primary OS
sudo update-grub
grub-install --efi-directory=/boot/efi
sudo reboot
Now you should have your old boot menu back.
To prevent unattended updates wrecking your video drivers.