LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-03-2010, 04:57 AM   #1
FangsOfFreedom
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Unhappy Kernel usages screw up grub config


Hi guys,
I wanted to share a Linux conversion failure.
I have a sister-in-law, married to an accountant who lives and breathes WinSoftware. I worked hard at convincing her to switch to the simplest Linux available imho, an Ubuntu, latest edition.
She tried it, worked fine, was happy.
Then, Ubuntu started to kernel update.
It destroyed the 'boot on Windows' option I had setup, making it a daily pain for her husband to get on his Windows. I need not insist on the fact that Linux won't ever be back on that computer, because Ubuntu's update scripts can't do something as simple as
check if Windows is the primary boot! This is a basic use case and should be worked on as it is a SIMPLE parsing issue!
That was my 'sharing a failed deployment' moment
 
Old 08-03-2010, 05:04 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Thanks for sharing the story!

Maybe if this is not yet a widely known bug or issue, it would be a good idea to report it on launchpad if it has not yet been?

Cheers!
 
Old 08-03-2010, 12:04 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Moved: This thread is more suitable in the Ubuntu forum and has been moved accordingly to help your thread get the exposure it deserves.
 
Old 08-03-2010, 12:39 PM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by FangsOfFreedom View Post
... Then, Ubuntu started to kernel update.
It destroyed the 'boot on Windows' option I had setup, making it a daily pain for her husband to get on his Windows. ...
How did you setup a "boot on Windows option"? This is not the default setup when Ubuntu is installed to dual boot with Windows.
If you did this by editing /boot/grub/grub.cfg file, then that file is auto regenerated whenever there is a kernel update for Ubuntu, and any custom edits you put in there will be lost. This is why that file is not supposed to edited by the user.

The proper way to setup which OS is set to boot as the default is to edit: etc/default/grub file like this:
https://wiki.ubuntu.com/Grub2#grub%2...efault/grub%29
https://help.ubuntu.com/community/Gr...b%20%28file%29
The line to edit there is: GRUB_DEFAULT= to set what OS boots as the default in grub2.
You then have to run:
Code:
sudo update-grub
so that the /boot/grub/grub.cfg file is updated properly.

Hope this helps.

Perhaps there is still time to rescue your sister-in-law from Windows

Last edited by tommcd; 08-04-2010 at 01:38 PM.
 
  


Reply

Tags
grub, ubuntu


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
gentoo installation kernel/grub config Akheron Linux - Software 1 07-13-2009 09:22 PM
Changing Grub config at boot to prevent Kernel panic neelay1 Linux - General 2 04-13-2006 03:13 PM
Changing Grub config at boot to prevent Kernel panic neelay1 Linux - Software 2 04-12-2006 03:00 PM
will installing grub to my MBR screw up anything? colinexl Linux - Newbie 2 01-13-2005 11:48 AM
If I Screw-Up GRUB Install raypen Slackware 2 03-23-2003 09:51 AM


All times are GMT -5. The time now is 06:57 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