Ubuntu – Make boot parameters permanent on live session itself

command linegeditgrub2jujukernel

Live usb with 4gb persistent.
I follow these steps:-

  1. I press e on grub2 at Boot.
  2. I add pci=nomsi at the end of quiet splash. Its effects works perfectly.
  3. To make it permanent i then in terminal and type this command-

    gksudo gedit /etc/default/grub
    
  4. I make these changes in the text file

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
    

I get these in terminal after that-

(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported    
(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:5013): WARNING: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  1. Then in terminal i type-

    sudo update-grub
    

Everythings works fine but it doest load with that boot parameter next time i do a reboot.

EDIT :-
I tried these two seperate method also and they have issue of there own.
LINK – link

  1. Boot repair – It just doest open.

    2.grub-crustomizer
    NOte- I also added device.map manually but what to do with grub.cfg now.

enter image description here

enter image description here

I want to add boot parameter(pci=nomsi) permanently by which ever method works.
Thanks,


So after trying sudo nano /etc/default/grub. I see this after every fresh boot.enter image description here

Despite that, effects of pci=nomsi are not taking place and system is not booted with that parameter.
How do i know that?
Because when i type this command- cat /proc/cmdline

there is no (pci=nomis) at the end of quite splash.
Pic – enter image description here

Best Answer

Please re-edit that document and this time use nano text editor.

How to use nano:

  1. Open the document in question:

    sudo nano /etc/default/grub
    
  2. Do the edit re-move that entry you made and re-add it again:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi"
    
  3. Now save the file with: Ctrl+o, then Enter

  4. Close nano with: Ctrl+x

  5. Now update grub: sudo update-grub

  6. Reboot your system

Related Question