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

Notices

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

Rep: Reputation: 15
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.

Bruceam
 
Old 09-12-2011, 02:15 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

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
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 65

Original Poster
Rep: Reputation: 15
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

Bruceam
 
  


Reply

Tags
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration