In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
Whenever I use the startup manager and choose an active system it will anyway boot into the first one from the top.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- hooga
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What do you want to change?
Revision history for this message
|
#3 |
Do you want it to be Windows by any remote chance. Try giving details so we don't have to guess like this
Revision history for this message
|
#4 |
By chance yes, Windows XP is one of the systems I have installed. But that is not relevant. I cannot change the boot menu at all, no matter to which entry.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of actionparsnip
Sent: Saturday, 11 June, 2011 21:16
To: <email address hidden>
Subject: Re: [Question #161103]: In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
Your question #161103 on Ubuntu changed:
https:/
Status: Open => Needs information
actionparsnip requested more information:
What do you want to change?
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#5 |
aaaah, so when you boot up you cannot move the selection for which OS to boot?
Revision history for this message
|
#6 |
No. When I boot I can manually choose the system from the boot menu. But in Linux when I choose the default system to boot in the startup manager this has no effect. Automatically the computer boots always in the first system from the top.
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of actionparsnip
Sent: Saturday, 11 June, 2011 22:11
To: <email address hidden>
Subject: Re: [Question #161103]: In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
Your question #161103 on Ubuntu changed:
https:/
Status: Open => Answered
actionparsnip proposed the following answer:
aaaah, so when you boot up you cannot move the selection for which OS to
boot?
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you asked the question.
Revision history for this message
|
#7 |
I tried that but didn't find an answer. (And I'm not really very accomplished with any command line stuff.)
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Eliah Kagan
Sent: Sunday, 12 June, 2011 02:56
To: <email address hidden>
Subject: Re: [Question #161103]: In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
Your question #161103 on grub2 in Ubuntu changed:
https:/
Project: Ubuntu => grub2 in Ubuntu
--
You received this question notification because you asked the question.
Revision history for this message
|
#8 |
Grub2 doesn't really allow you to edit /boot/grub/menu.lst directly.
Please see
https:/
I suggest you edit /etc/default/grub
You can select the default the OS to load there
When you are done editing this file make sure you run
sudo update-grub
This will apply your changes.
Revision history for this message
|
#9 |
Boot windows first
cd /etc/grub.d
sudo mv 30_os-prober 09_os-prober
sudo update-grub
Please raise a bug against startup-manager
Revision history for this message
|
#10 |
Before reporting the bug against startupmanager in Ubuntu, please read https:/
Revision history for this message
|
#11 |
I tried delance's advice but it didn't work, it still by default boots the system on top of the list. The command
sudo mv 30_os-prober 09_os-prober
didn't produce any reaction. (Should it have?)
And yes, I think the startup manager has a bug. Changing the default boot system does not produce any result on my machine. (However, I don't know how to report a bug.)
Revision history for this message
|
#12 |
The mv command doesn't generally produce output when it succeeds. Did you also run "sudo update-grub"? What output did you get from that?
Revision history for this message
|
#13 |
Yes, I did run the command. It listed all the Ubuntu sytems on my machine but not the Windows system.
> -----Ursprüngliche Nachricht-----
> Von: Eliah Kagan
> Gesendet: Di. 14.06.11 (00:21)
> An: <email address hidden>
> Betreff: Re: [Question #161103]: In Ubuntu 11.04 I cannot edit my bootmenu anymore (Grub 1.99rc1)
>
> Your question #161103 on startupmanager in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Eliah Kagan requested more information:
> The mv command doesn't generally produce output when it succeeds. Did
> you also run "sudo update-grub"? What output did you get from that?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the
> question.
>
>
> -----Ursprüngliche Nachricht Ende-----
---
Atomkraft - NEIN Danke! Öko-Strom - JA bitte! 100% Öko-Strom für ein sauberes Klima
zum fairen Preis und für ein reines Gewissen. http://
Revision history for this message
|
#14 |
What happens if you run:
sudo os-prober
Followed by:
sudo update-grub
Please select all the text in the Terminal after running those two commands (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here.
(It's possible that will actually fix the problem--if it does, then you don't need to post the text. You should save it before rebooting, so that you can post it if it doesn't fix the problem.)
Revision history for this message
|
#15 |
root@holger-
/dev/sda1:Windows NT/2000/XP (loader)
root@holger-
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Revision history for this message
|
#16 |
Could you post result of command:
sudo update-grub --version
Perhaps we are providing you solution for Grub2 but you use Grub Legacy.
Grub2 should provide: "grub-mkconfig (GRUB) 1.99~rc1-13ubuntu3" and Grub Legacy something like Grub 0.97.
Revision history for this message
|
#17 |
The problem still persists.
delance, result:
root@holger-
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Then I tried this, and surprise:
root@holger-
grub (GNU GRUB 0.97)
And I was quite sure I had the newer Grub version, 1.99 rc1-13 etc.
since this is what it says on top of my boot menu. Now I'm completely
confused! Why does the startup manager not work with the older Grub
version?
On Tue, 2011-06-14 at 17:11 +0000, delance wrote:
> Your question #161103 on startupmanager in Ubuntu changed:
> https:/
>
> delance posted a new comment:
> Could you post result of command:
> sudo update-grub --version
> Perhaps we are providing you solution for Grub2 but you use Grub Legacy.
> Grub2 should provide: "grub-mkconfig (GRUB) 1.99~rc1-13ubuntu3" and Grub Legacy something like Grub 0.97.
>
Revision history for this message
|
#18 |
Me too, I'm confused. Could you run command:
dpkg -s grub-pc
Revision history for this message
|
#19 |
root@holger-
Package: grub-pc
Status: deinstall ok config-files
Multi-Arch: foreign
Priority: optional
Section: admin
Installed-Size: 2720
Maintainer: Ubuntu Developers <email address hidden>
Architecture: i386
Source: grub2
Version: 1.99~rc1-13ubuntu3
Config-Version: 1.99~rc1-13ubuntu3
Replaces: grub, grub-common (<< 1.97~beta1-
grub-efi-amd64, grub-efi-ia32, grub-ieee1275, grub-legacy, grub2 (<<
1.99~rc1-13ubuntu3)
Depends: libc6 (>= 2.8), libdevmapper1.02.1 (>= 2:1.02.36), debconf (>=
0.5) | debconf-2.0, grub-common (= 1.99~rc1-
grub-gfxpayload
Suggests: desktop-base (>= 4.0.6)
Conflicts: desktop-base (= 4.0.5), grub (<< 0.97-54), grub-coreboot,
grub-efi-amd64, grub-efi-ia32, grub-ieee1275, grub-legacy
Conffiles:
/etc/kernel/
/etc/kernel/
/etc/grub.
Description: GRand Unified Bootloader, version 2 (PC/BIOS version)
GRUB is a portable, powerful bootloader. This version of GRUB is based
on a
cleaner design than its predecessors, and provides the following new
features:
.
- Scripting in grub.cfg using BASH-like syntax.
- Support for modern partition maps such as GPT.
- Modular generation of grub.cfg via update-grub. Packages providing
GRUB
add-ons can plug in their own script rules and trigger updates by
invoking
update-grub2.
- VESA-based graphical mode with background image support and complete
24-bit
color set.
- Support for extended charsets. Users can write UTF-8 text to their
menu
entries.
.
This package contains a version of GRUB that has been built for use
with
traditional PC/BIOS architecture.
Homepage: http://
Original-
<email address hidden>
On Tue, 2011-06-14 at 18:21 +0000, delance wrote:
> Your question #161103 on startupmanager in Ubuntu changed:
> https:/
>
> delance posted a new comment:
> Me too, I'm confused. Could you run command:
> dpkg -s grub-pc
>
Revision history for this message
|
#20 |
I solved the problem by re-installing Grub2. Thx for all the help!