Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-12-2011, 01:54 PM   #1
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Rep: Reputation: 16
Debian Squeeze Grub Configuration

I recently upgraded (security release and backports update) my Debian Squeeze installation. Everything went fine. When I rebooted, the upgrade had changed the default OS selection on the Grub Boot Menu. I missed it originally and it went to a selection whose NVidia driver had not yet been setup for the upgraded Linux keral. Many of the tools I have thusfar learned were unavailable to me. I rebooted and manually selected the version of the OS that I knew would work.

My question is this:
How do I reconfigure the default OS selection in the Grub Boot Menu? At one time, all it took was to edit a single text file. When I looked this time, there were warnings about not editing the grub.cfg file due to the fact that it was automatically generated. I have searched around and have not found anything that points me in the direction I need to go, at least in a way that was clear enough to understand that it was the direction in which I need to go.

As always, thank you in advance for your assistance.

Old 09-12-2011, 02:15 PM   #2
the trooper
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
You'll need to edit /etc/default/grub and change the GRUB_DEFAULT= entry.
Then run update-grub after,as you will see when you open the file with your text editor of choice.
Old 09-12-2011, 03:04 PM   #3
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 16
the trooper,

Thank you for the information. After reading your post, I examined the contents of the /etc/default/grub file and did indeed find the "GRUB_DEFAULT=" line. This variable is currently set to "0". I Googled the settings for this parameter, and found the information I needed to setup the GRUB configuration as it should be.

Thank you



boot, configure, debian, grub, squeeze

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
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 03:55 AM
LXer: How To Set Up Software RAID1 On A Running System (Incl. GRUB2 Configuration) (Debian Squeeze) LXer Syndicated Linux News 0 06-09-2011 04:40 PM
[SOLVED] Debian Squeeze grub doesn't detect windows partition on install Cultist Debian 3 05-17-2011 04:26 PM
debian squeeze usb wlan configuration harald_sdt Debian 9 02-17-2011 09:29 AM
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 05:33 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration