LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2018, 12:24 PM   #1
Critical Side
LQ Newbie
 
Registered: Aug 2018
Posts: 1

Rep: Reputation: Disabled
I can't open grub.cfg on Parrot Security OS


So, I made a dual boot with Windows 10 and Parrot today. After I set up Parrot I restart my PC to boot up Windows. My pc opens in grub and I select Windows 10, I have a blackscreen for half a second and I see the grub menu again. I have found a solution for this but when I open grub.cfg I get an acces denied message in Pluma (pluma is my default text editor). I try to open it in Atom and it works, but I can't save it. I changed the owner of the file from root to my user and gave everyone the read, write and execute permission and it still says acces denied. How can I get acces to Grub.cfg, or maybe you know how to fix the issue where I can't boot windows from grub.
 
Old 08-13-2018, 03:01 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,917
Blog Entries: 7

Rep: Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442
Quote:
Originally Posted by Critical Side View Post
I changed the owner of the file from root to my user and gave everyone the read, write and execute permission
WRONG!!!!!
undo that immediately, then use either sudo or su to edit that file:
Code:
sudo nano /boot/grub/grub.cfg
but be aware that all changes are lost after a grub update.
the canonical way is to edit /etc/default/grub instead, then run
Code:
sudo update-grub
afterwards.

please be careful when editing system files.
if you aren't 100% sure you're doing the right thing, you probably shouldn't do it.
 
Old 08-13-2018, 06:41 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,485

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
or add a window entry by editing /etc/grub.d/40_custom then run update-grub
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parrot security os Jazspergareth Linux - Newbie 4 10-09-2017 12:55 PM
LXer: Parrot Security OS 3.5 Improves Linux Security Tools Distribution LXer Syndicated Linux News 0 03-15-2017 01:44 AM
LXer: Parrot Security Could Be Your Next Security Tool LXer Syndicated Linux News 0 12-04-2016 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration