LinuxQuestions.org
Help answer threads with 0 replies.
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, 02: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 02:44 PM. Reason: solved problem
 
Old 02-03-2017, 12:23 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
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


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

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

All times are GMT -5. The time now is 04:37 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