I wanted to disable one of my graphic cards from starting on boot so i created a Xubuntu 18.04 LTS with UNetbootin with persistance. Then I added radeon.modeset=0
to the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" through sudo nano /etc/default/grub
That did the trick but now I want to remove persistance but keep this change. How do I do that?
If there's an alternate way to permenantly add the line or disable the graphic card from changing on a non-persistent Live USB, that would would do too.
Also, I want this Live USB on a multi boot USB (I'm using Ventoy) so not sure how I can make the changes if it requires to first make persistance.
Adding
radeon.modeset=0
to UNetbootin Non-Persistent InstallIf booting BIOS mode boot the UNetbootin USB and press Tab, type a space then
toram
.Once booted and stable, unplug and replug the USB.
Edit
/cdrom/boot/grub/grub.cfg
, addingradeon.modeset=0
after quiet splash in the first menuentryThen Edit
/cdrom/syslinux.cfg
, addingradeon.modeset=0
after quiet splash in the first menu item.This change will be permanent.
If you are booting in UEFI mode press
e
at the boot menu and addtoram
afterquiet splash
.Once booted edit grub.cfg and syslinux.cfg as above.
You can also edit the boot files running from another Live USB or desktop. Booted from another Live USB the paths are
/media/xubuntu/USBNAME/syslinux.cfg
and/media/xubuntu/USBNAME/boot/grub/grub.cfg
whereUSBNAME
is the name of the USB. In this casecdrom
is not on the path.