View Full Version : Deleted /etc/default/grub by Accident!

2013-04-19, 22:53
Earlier today I installed Kali Linux on a new computer and had trouble with my video. I tried the nomodeset trick on ubuntu forums and lo and behold it worked! So when I edited the /etc/default/grub file, I forgot to sudo update-grub and completely lost everything in that file in the process. I can still boot in to Kali, I just need to press E at grub and put in nomodeset each time.

How do I go about reconstituting my /etc/default/grub file without doing a full system install? I looked around and haven't been able to find anything regarding that so I come to you all. Help would be much appreciated.


2013-05-10, 04:49
super easy with a gui method
Update to my post!
Sorry I misread your post I thought you needed to know how to repair grub.
Are you just needing a copy of /etc/default/grub ?