Need to modify GRUB

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Need to modify GRUB

Postby nicoriff » Thu Aug 29, 2013 14:30

I´m new using Sabayon. I installed it yestarday and all worked perfect. The problem that I have is that I want to make my windows installation as the default OS to boot as now sabayon is. I ´ve downloaded kgrubeditor, but it seems not to work with GRUB2. And I havent find a configuration file where that I could modify to change this.

Does anyone can tell me the easiest way to make my windows installation as the default one?. What can I use to change that?

Thanks to all.
nicoriff
Baby Hen
 
Posts: 3
Joined: Thu Aug 29, 2013 14:25

Re: Need to modify GRUB

Postby wokko7 » Thu Aug 29, 2013 14:45

wokko7
Baby Hen
 
Posts: 6
Joined: Tue Aug 27, 2013 12:23

Re: Need to modify GRUB

Postby nicoriff » Thu Aug 29, 2013 15:00

Is there any graphic mode to do this?
nicoriff
Baby Hen
 
Posts: 3
Joined: Thu Aug 29, 2013 14:25

Re: Need to modify GRUB

Postby gocool » Thu Aug 29, 2013 15:27

There is a tool called as "grub-customizer" which will help you do that.

But I don't see it in entropy. May be someone can help you find it in portage and give you a step by step instructions on how to install it.
gocool
Growing Hen
 
Posts: 139
Joined: Wed Aug 06, 2008 13:37

Re: Need to modify GRUB

Postby nicoriff » Thu Aug 29, 2013 15:30

What about GRUB2 Editor?, have anyone used it?
nicoriff
Baby Hen
 
Posts: 3
Joined: Thu Aug 29, 2013 14:25

Re: Need to modify GRUB

Postby dave_64 » Sat Aug 31, 2013 3:56

I had trouble with this issue too, but eventually I figured it out. The command line works very well, if you are not too imtimidated by it.
You need to determine the placement of your target (windows, in your case), at the grub bootloader menu list. But you need to start counting at zero. So, if windows is 3rd from the top, it would be number 2 (this is unix convention of counting).
Then you need to edit grub, which is in the subdirectory default, which is in the etc directory.
If you know how to gain "root access" (superuser) at a terminal, type and enter:
nano /etc/default/grub
Change the line that says:
GRUB_DEFAULT=saved
To:
GRUB_DEFAULT=2
Then save and exit
Then type and enter:
grub2-mkconfig -o /boot/grub/grub.cfg

Now you can reboot to see if you were successful.
Remember, you must be at a root terminal for this procedure to work.
dave_64
Advanced Hen
 
Posts: 226
Joined: Sun Feb 22, 2009 20:33


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest

cron