Thursday, January 5, 2012

How to change the boot sequence in Grub2 (Gnome3, Fedora 16 and Ubuntu 11.10/10.00)

The new Gnome3 based Linux distributions (Fedora 16 and Ubuntu 12.04) are now coming with gurub2 boot loader package. The GRUB2 is rather different and a tad bit complex than the legacy GRUB loader. For example among other feature in GRUB2 the boot menu is created by reading multiple scripts present in /etc/grub.d/ directory and the /etc/default/grub file.

To make windows as a default operating system I've compressed the lengthy boot sequence changing procedure into these three simple steps.
  • Login in as root
  • Edit  /etc/default/grub
    Change GRUB_DEFAULT= (sequence number your OS of choice- 1)
    i.e. if windows7 is the 4th option, change the value to 3.

    For example, on my machine to make windows 7 as default OS I changed “GRUB_DEFAULT=saved” to “GRUB_DEFAULT=4

    GRUB_TIMEOUT can also be changed to a lower value, like 1 or 2 seconds to make boot process faster.
  • After changing save the file and run the following script, (exactly as it is) to regenerate the grub boot file with new parameters.
    #grub2-mkconfig -o /boot/grub2/grub.cfg
  • #reboot (Reboot to confirm if it works all right)

Make sure the default menu option is selected correctly, if not count the windows 7 entry and retry the above procedure.

The method has been tested on Fedora-16 + gnome-3. It should also work in Ubuntu/Kubuntu.

If you simply want to update grub2, and you are able to boot into Linux, then you can run the command:
#sudo update-grub
It will rebuild your grub config, finding all the available bootable partitions.

Please comment if you run into issue.



Mikael Åkerfeldt said...

Good post, I was trying to find this procedure everywhere. Worked like a charm!

Mikael Åkerfeldt

Anonymous said...

This іs a toρic that's close to my heart... Best wishes! Where are your contact details though?
Feel free to surf my site ...

Anonymous said...

Usually I ԁo not read post on blogs, hoωeveг I ωould liκe to say that thiѕ wгite-up νeгy pгеѕsured
me to check out anԁ do ѕo! Youг writing stylе hаs been suгpгіsed
me. Thank you, quite gгeat articlе.
Look into my blog : pikavippii

Anonymous said...

It's amazing in favor of me to have a site, which is useful for my experience. thanks admin
Also visit my web page ; how to play piano

Anonymous said...

According to our data, the latest version of WordPress CMS is 3.4.2. ghd hair straightener Anand Gandhi betrays a philosopher's appearance - his salt and pepper hair, eyes that think and a mien that evokes depth. Rather than having the usual six month wait between showing a collection and putting it on sale, Facchinetti has also made everything instantly available so that what you tweeting about could be bought the same day, rather than being out of your reach. north face canada The environmental and labor costs are already beginning to catch up with us. With models putting on exactly the same current-implanted hair and Tim burton Character-esque (being an artist backstage referred to it) makeup as Helm did, the runway would be a ocean of black, gold and all things in between.

Anonymous said...

In all, this bag requires a different take on the classic component. ugg boots Fees paid to motivational speakers differ rooted in the speaker's skill, star power, familiarity, niche and level of customization. Donated wine, jewelry, makeup and even my favorite water, Smart Water, were present to show you their new products or to give you a make over (thank you Christal Clear Cosmetics!). ugg Any woman would die to find an event to wear one of these fairy-tale creations. north face sale Claim to Fame: Made my way to the Big Apple to study Cosmetics Fragrance Marketing at the Fashion Institute of Technology.

Anonymous said...

But overall, the Fines were extremely positive. ugg slippers />. We learned how extremely cold temperatures can turn certain materials into super-conductors. ghd straighteners There will be certain times when sneakers are just the thing to make your outfit work, and others when they need to be cast offs. ugg Jean is survived by her four children Phyllis Romano and her husband Sam of Ridgefield, CT, Vincent DePreta and his wife Linda, Lorraine dePreta, Joseph DePreta and his wife Laura, all of Stamford; four grandchildren Anthony Romano, Darren Romano, Dean DePreta, and Zoe DePreta, as well as eight great grandchildren, Scott, Justin , Charles, Ethan and Anna Romano, Joseph, Dean and Michaela DePreta.

Anonymous said...

There are a few options for you to choose from with this jacket as well. ghd rare leopard edition Trion World Network . I rather the car over that outfit any day, though! Lindsay is out and about as usual, and what better bag to do with than the Chanel Portobello. north face backpacks However, we do have some precautions for you though; as we are an objective blog site, we are brutally honest with what we publish on our blog. In an era of segregation, Huey fights for the music and woman he has come to love, pushing the boundaries and changing the status quo..

Anonymous said...

Desert Ridge offers more than shopping, it's the whole entertainment experience and in an outdoor setting. When you understand what it means to be a Fashion Capitol, you can see why Milan would be at such a top position: being not only home to renowned designers like Versace, Dolce Gabbana and Armani, but also simultaneously an epicenter for art, culture, opera and a lot more.. ghd Jan Boelo, only 24 years of age, has had his by fire only a year ago at AIFW 2011. ghd gold classic styler black Å“Iâ„¢m not going to deny (that itâ„¢s a distraction). north face canada you twig on one particular manager however to new-found style and design but for audra within Louboutsituation baggage Loubout 2010.

Anonymous said...

Running until 19th January this show has had packed crowds each night and an average visitor rating of 5 stars on The Playhouses website. north face outlet Whereas my father had already flown away-to India. north face outlet To sum details up, never be shy or embarrassed or afraid to like dolls or bears. Dre cashed in $100 million pre-tax when HTC bought a 51 percent stake in his Beats headphone company last year.. north face Adify's Market Taking Time to Develop .

Anonymous said...

Accessories are a staple of a woman wardrobe and speak volumes about her personality and who she is. north face backpacks We have far more data at our disposal than we ever had before, and we continue to collect it at a furious rate.. north face uk I haven been in many weddings nor have I fantasized extensively about what I want my own wedding to detail; but after being a bridesmaid in my high school friend wedding this past weekend I will admit there a tiny inkling of excitement in my heart for a little planning. ghd sale A lovely dress, beautiful bustle and very accurate in appearance. north face outlet Another factor in this doll rivalry is the fact that the Bratz dolls have fashions and accessories that include every ethnic group, whereas up until the last couple of years, Barbie had not.

Anonymous said...

Toys recognizes that at any given moment in history, Barbie is a reflection of the times and always culturally relevant. Online shopping with regard to Chanel products is easier compared to heading locally to a number of retailers along with stores searching for the ideal product. Men today have also embraced the fact that they also have to look fashionable trendy. north face outlet Dual Busted Dressmaker When there is actually an interval to be able to jazz music up your current clothes using a bit of intelligent dressmaker, it is currently. north face canada It was recognized for themed decorations in its stores complete with fog and steam outcomes that became quite attracted to many buyers.

Anonymous said...

I'm guessing you do not mind me stopping by and saying thanks to you for the blog post - it really helped

Also visit my webpage:

Anonymous said...

Such a excеllent blοg рost and defіnitely helped сlear my heaԁ a little

Cheсk out my wеb blog; brass jewelry

Anonymous said...

Loοking in Yahοo brought up youг website - I'm happy it did, many thanks.

Check out my site - starfish toe ring

Anonymous said...

I'm glad that Google brought your site up for my search - it helped

Visit my homepage china jewelry

Anonymous said...

I hopе уou will not mind me viѕiting and
thanking you for thе article - it tгuly helped

Also viѕit my blog post Www.Ih3.Org

Anonymous said...

Lоoking in Goоgle гаised уouг site - I'm happy it did, many thanks.

Have a look at my blog ::

Anonymous said...

Ѕeaгсhing іn Bing raised your ωebѕіte - Ι'm delighted it did, many thanks.

Feel free to surf to my site:

Anonymous said...

Smart ωaу of seeіng things - I'm a bit more of a black and white individual, myself

My blog :: Crystal Pendant Necklace
My page: www.Gpopai.usp.Br

Anonymous said...

Oh my goodness! Awesome article dude! Thank you so much,
However I am going through issues with your RSS. I don't understand the reason why I am unable to subscribe to it. Is there anyone else getting similar RSS problems? Anybody who knows the answer will you kindly respond? Thanks!!

Here is my web blog website now

Anonymous said...

each time i used to read smaller posts that as well clear their motive, and that is also happening with this piece
of writing which I am reading now.

Check out my blog post;

Anonymous said...

fantastic put up, very informative. I'm wondering why the opposite specialists of this sector don't understand this.
You should continue your writing. I am sure, you have a
huge readers' base already!

Stop by my webpage Orange county seo company

Anonymous said...

Asking գuestіons are truly good thing if youu are not underѕtanding anything
entirely, excep this post gives nice understanding

Visit my blog Dr Oz and Garcnia Cambogia

Anonymous said...

Good day! Do you use Twitter? I'd like to follow you
if that would be ok. I'm definitely enjoying your blog and look forward to new posts.

Also visit my page; Coach Luggage

Anonymous said...

It is appropriate time to make some plans for the future and it's time to be happy.
I have learn this put up and if I could I desire
to suggest you some fascinating issues or advice. Perhaps you can write subsequent articles referring
to this article. I wish to read more things about it!

my web site - Hermes Hat And Scarf

Anis Mizi said...

I¡¯m delighted that I have observed this weblog. Lastly anything not a junk, which we undergo extremely frequently. The web site is lovingly serviced and saved as much as date. So it must be, thanks for sharing this with us.
one link solution
marketing services
brand development

Anonymous said...

Personal reason: The most famous line by one of
the coolest character ever put to celluloid.
My other lists of sci-fi and horror movies of the 50's, 60's,70's and 80's have
been so popular I thought I would go back
and do one for the horror movies of the 90's as well.

"I'm still hungry," Keith says, picking at the raw food
Caress has served him up in his broad chef's kitchen.

my weblog - hungry shark evolution hack

Anonymous said...

These are really wonderful ideas in on the topic of blogging.
You have touched some good points here. Any way keep up wrinting.

Feel free to surf to my web site ... (

Anonymous said...

Magnificent goods from you, man. I have understand your
stuff previous to and you're just extremely excellent.
I really like what you have acquired here, certainly like what you are stating and the
way in which you say it. You make it enjoyable and you still take care of to keep it sensible.

I cant wait to read far more from you. This is really a tremendous
web site.

my web site; meilleur annuaire de referencement gratuit

Weknow Fit said...

Thanks for great information you write it very clean. I am very lucky to get this tips from you
one link solution
marketing services
brand development

Anonymous said...

00 wholesale source lists found pixel gun 3d cheats on these obstacles and enemies.
What is most fun about playing game MMORPG your choices.
Emerson 40 HDTV, $198 or Vizio 60 Smart LED TV, hooked with an act of violence for your knowledge
that can be assured of ultimate fun. With the video games and give him a Bushmaster shown here.

My webpage - (