Find the answer to your Linux question:
Results 1 to 2 of 2
I went to change the menu file to make windows boot first. It won't allow me to, and this is a problem I have found in Ubutnu after using it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    5

    GRUB and not got permissions


    I went to change the menu file to make windows boot first. It won't allow me to, and this is a problem I have found in Ubutnu after using it like 10 times, because I don't have the correct permissions.

    "You do not have the necessary permissions to save the file. Please, check that you typed the location correctly and try again"

    The location is fine, don't worry about that. I can't change any settings in the system menu and just in general get told I can't do anything because of my permissions.

    Anyone know what is going on?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi !

    One must have root privileges to edit files outside his/her home folder (/home/user_id). One can gain root privileges through sudo in Ubuntu.
    Code:
    sudo nano /boot/grub/menu.lst
    Press Ctrl+X, Y and hit Enter key to save file.

    Or
    Press Alt+F2 and type this
    Code:
    gksu gedit /boot/grub/menu.lst
    It will open menu.lst file in Gedit with root privileges.

    Check this link on sudo too.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •