LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2017, 01:34 PM   #1
Blixtrande
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
[Solved] Attempting to update grub results in error "no such file or directory"


Relatively new to linux, using a fresh install of Solus 1.2.1.

Edited /etc/default/grub, saved it using ctrl+O, and exited using ctrl+X.

I was then going to reboot after using "sudo update-grub", but when I press enter, i get the following error:

"/usr/sbin/grub-mkconfig: line 232: /boot/grub/grub.cfg.new: No such file or directory"

I have no idea why I'm getting this error. Any help would be appreciated.

Edit: Got around this by creating a new directory /boot/grub which didn't exist. update-grub worked after this.

Last edited by Blixtrande; 02-01-2017 at 01:44 PM. Reason: solved problem
 
Old 02-02-2017, 11:23 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Just out of curiosity what did you add to the /etc/default/grub file?

If you installed a newer kernel the /boot/grub/grub.cfg will be overwritten and you will loose your changes.
 
  


Reply



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
Usage of "-f" option of grep in a script results in "Permission Denied" error zaayu87 Linux - Newbie 3 07-25-2013 12:45 PM
[SOLVED] Ubuntu 12.10 - grub error "file /boot/grub/i386-pc/normal.mod not found" champton Ubuntu 4 02-26-2013 09:19 PM
[SOLVED] "/boot/grub/grub.conf: No such file or directory" Pale Linux - Newbie 3 07-04-2010 03:02 AM
Error: "libdmx.so.1: cannot open shared object file: No such file or directory" ESC201 Linux - Software 4 11-01-2008 08:38 PM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 PM.

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
Open Source Consulting | Domain Registration