Ubuntu Installation :: GRUB_DEFAULT=saved Not Working After 9.10 -> 10.04 Upgrade (grub 1.98)?
May 21, 2010
Is the "saved" option for grub2 not available after the new upgrade?I had grub2 setup to let me load either windows or ubuntu, whichever I last used, and it worked.After the last update to Ubuntu I cannot get this to work anymore. I can successfully change the default boot entry by entering a number, e.g. "GRUB_DEFAULT=3" but when I put in"GRUB_DEFAULT=saved" it always defaults to the first entry, the latest Ubuntu. I can also change the screenresolution for the grub menu on this computer, but on another computer I cannot change the screen resolution for grub or restore the 'saved' option (I have not tried to change the boot default by numbers on this other computer though). I am only editing /etc/default/grub and running update-grub, is there another script or file I should be changing as well since the update?
I have been running a dual boot system Win 7 and Ubuntu 9.10 for months on 2 different systems. I just upgraded 1 system to 10.04. I had it set so that the grub boot will boot to the last selected OS. With 10.04 this no longer works. I went in and edited the etc/default/grub reset GRUB_DEFAULT=savedthen ran update-gruball seemed to work properly.but all boots always boot the top line (ubuntu) I must always manually select Windows 7 everytime
Yesterday I upgraded from 10.04 to 10.10 (x86_64). The upgrade itself succeeded, but now after booting I have to press enter in the grub OS list. grub.cfg looks like this:
Code:
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg.
[code]...
Why do I have to press enter to have grub boot the default entry? How can I get grub to start the default entry automatically, without showing the menu? BTW: entries in the list are default:
Code:
Ubuntu, with Linux 2.6.35-22-generic Ubuntu, with Linux 2.6.35-22-generic (recovery mode) Memory test (memtest86+) Memory test (memtest86+, serial console 115200)
I have a dualboot system with Ubuntu and Windows 7 (grub bootloader). I updated the firmware in my HD, and now grub doesn't work. After POST, instead of getting the menu of OS options, I get "Non-system disk: press any key."After pressing a key, I get the Windows 7 loader, with only a Windows 7 OS option. Windows 7 boots fine, but I have no way to boot into Ubuntu.
I have tried "acpi=off" "pci=noacpi". But on boot the system totally ignores this and loads the acpi support from the kernal, which shut down the USB ports. Where is this option used in Suse so that the kernel will recognize on each boot?
After upgrading to 13.37 the german keyboard-layout in xfce (v4.6.2) can be set but won't be saved. After rebooting the keyboard starts with english layout.
I installed 10.04 clean on the PC.Not other operating system.It booted to Ubuntu fine after the install and all appeared to be working fine.Used the upgrade manager to install the upgrades to the basic system.I had not yet loaded in any non-ubuntu or medibuntu repositories so this was the first, basic upgrade.After the upgrade,I can no longer boot to Ubuntu but boot to a grub prompt instead.I presume this is a recover prompt. How do I "recover" and continue booting to Ubuntu?
OKI am loading 9.10 (K or U, makes no difference). This installs 2-6-31.14. Eventually I am unable to dissuade APT from upgrading to Grub 1.97 beta4. One of two things can happen.
1) I am upgraded to a later kernel at the same time (currently 2-6-31.1. This singularly fails to work, in that I end up with no working kernel at all and I can only run memtest (or Windows 7, which is about as much use): good for the soul no doubt, but frustrating. "Solution": tar up the whole of /boot beforehand and then reinstate it afterwards. I am back to square 1, but at least a working square 1.
2) I persuade APT not to upgrade the kernel.I then get 14 (and 14 recovery) in my grub.cfg, but boot fails dramatically, and it becomes apparent that it has forgotten about /dev/sda, my hard disk.Further investigation shows that I have a new initrd.img in /boot, which doesn't work properly; reinstate the backup version, and all is well.What is going on? Is it just me? How come there aren't crowds of protesting peasants with pitchforks outside Canonical Towers?
When I upgraded my system for the first time, I got a message asking me to decide between a few menu items for configuring grub-pc. When I chose to keep the current version installed, GRUB booted to a CLI. What menu item should I choose?
I performed an upgrade via the Update Manager from 9.10 to 10.04 LTS and it seemed to go flawlessly. However, now I cannot seem to be able to remove the old Kernel from 9.10 in the package manager. It does not even show 2.6.32-21 as installed but it still shows the old Kernel in Grub. I did a sudo update-grub but it was to no avail.
I keep finding the same fixes on the web and they are not working. What I have/what I did: I have a dual boot PC. HD0 was XP. HD1 Kubuntu 10.04. I upgraded XP to Win 7. This jacked my Grub up, now all I can load is Win 7. I don't see the Grub menu anymore. I've been trying to reinstall Grub using varoius web pages like: [URL]
They seem to all be telling me the same thing but not working. I boot into a liveCD. I have to sudo apt-get install grub then I can do sudo grub. I follow the instructions: sudo grub > root (hd0,0) > setup (hd0) I get "Error 17: Cannot mount selected partition".
Now if I'm understanding this right the reason for that is. HD0,0 is my first HD first partition (which is Win 7), and grub doesn't like windows. I tried swapping it out so it reads: sudo grub > root (hd1,0) > setup (hd1) I then quit and reboot. Win 7 loads. I don't see Grub.I am using 2 separate hard drives?
After upgrading from Ubuntu 9.10 to 10.04, windows XP boot option is missing from the boot loader window. The laptop has two ntfs partitions - one for windows recovery and the other one for XP. The recovery option is available in the boot loader. But XP is missing. I tried several suggestions from different forums but to no vail. Can somebody help ? The output of boot_info-script follows:
I'm running Ubuntu 9.10 and did an upgrade yesterday via the Update Manager. Just installed all proposed upgrades. After rebooting, my newest kernel throws an error 16: inconsistent filesystem structure. When I select my previous kernel from the GRUB, no problems. How do I debug this error? Or better yet, how do I fix it?
I decided to go ahead and upgrade my 9.10 amd64 to 10.04 ( a little late in the game I know, but I liked Karmic) Well I goofed when prompted to upgrade grub. After reading some other posts about various grub issues, I did the Boot Info Script (results posted below).
Code:
Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
[code].....
I have a external usb with a Ubuntu OS on it that I was able to boot into and do some digging. When I upgraded I selected the NTFS partition instead of the actual /boot partition and jacked it all up. Im currently downloading the 10.04 liveCD to repair the grub on the /boot after I repair the MBR on the NTFS partition. Hopefully I can attempt to repair my Linux partitions by reinstalling the Grub that is on the 10.04 liveCD WITHOUT formatting my current partitions and still be able to keep all my current configurations.
I had installed Ubuntu 10.04 within Windows 7nd everything work perfect until this morning. When I turned my laptop on I was told that Grub could'nt find the storage device and was presented with a grub command line
I upgraded to 10.10, and grub just came back with "no wubildr", and then a "no other mode", or something like that. I dual boot xp (I used it to install wubi), and I need a few files off my linux partition. Is there a way to:recover my files within windows skip grub and go strait to ubuntu
I started off on 9.10 and upgraded to 10.4 without any problems. However during the upgrade to 10.10 got asked about grub (see attachment 1& 2) and I think I should have ticked the other boxs but I didn't. I also got an error (see3) The 4th one I think is a different issue.On the restart it would only get to the purple screen before the login field appears. I presume I need to do something to the grub but have no idea what.My system is 64bit and a raid 1. The attachment 5 shows the partition arrangement I can boot into the the PC with a live (32bit 10.10) cd.
some days ago I upgraded my 10.04 Ubuntu to 10.10. Upgrading took quite some time as I had already witnessed in previous upgrades. Everything seems to work fine after this operation but for the Grub. I can no longer set the timer! It means I have to manually push "Enter" to start booting. I also noted that I cannot change the font size of the Grub any longer. I have not seen such behaviour during previous upgrades (I started upgrading with U 9.04).
Toshiba L505-10M with dual boot W7/U 10.10 500 GB HD & 6 GB RAM
Yesterday all my troubles seemed so far away, because I've been using working system with Windows 7 & Ubuntu 10.10, but last night I decided to update to 11.04 from update manager. So, when upgrade was done, I rebooted and saw something like this:
"grub_env_export not found grub rescue > "
Do I have a problem with MBR? Will it help, if I load from Ubuntu live cd and try to reinstall grub?
The day that the upgrade came out (not beta, the true release) I upgraded via the Update Manager. The upgrade went great until it asked me to reset to finalize. Upon doing that, I was greeted with a less than friendly grub-rescue> screen. The materials I currently have at my disposal are a 10.10 installation disc, and an 8.04 installation disc, and a rescatux disc (super grub) that seems to yield an error upon any of the four options presented... how can I use these (both have Live CD) to fix the grub...
I have a dual boot Win7/Ubuntu laptop. I have been running it dual since 10.04, Lucid with no problems, and I upgraded to 10.10 also without problems. However, when I upgraded to 11.04 I began to get error messages on boot up.
Importantly - both Win7 and Ubuntu still work fine, so it could be worse, but clearly something is not right in GRUB.
I could solve this by wiping Ubuntu and reinstalling from the Live CD, but that teaches me nothing, so I would like to get to the bottom of the problem.
The following is what I get if I try to update grub:
jez@jez-laptop:~$ sudo update-grub
[sudo] password for jez:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 153
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
I have tried to upgrade to 10.4 LTS it crashed I use dual booting whenever I try to start the computer it goes in to grub rescue > I have used wubi to install the dul booting, now I can not get into my window nor ubuntu. what can I do ?
Currently running Ubuntu 9.04 on my Acer Aspire One D150, multi booting Win Xp, Win 7 and Ubuntu.Can I upgrade to Grub 2 and use one of the nice themes ?? Sora ?
I have a single XP install on another partition, but can't boot to it now that I have upgraded to 10.04. Also, when starting Ubuntu, it takes a good 30 seconds to actually start booting ubuntu after I have selected it from the GRUB list (just sits there with a blinking cursor)
Noticed other users have been directed to run the boot info script, so here are the results from that.
I have two instances of Kubuntu 9.10 (Karmic) I have installed grub2 and all seems OK except for a small bug with update-grub which I have a workaround for. Reported elsewhere
The working system is on /dev/sda7 My copy for testing is on /dev/sda5 gparted flags /dev/sda1 as "boot" and that partition has temp files only. update-grub found my test system on sda5 OK. I would like to upgrade 9.10 on /dev/sda5 to 10.04 (Lucid) as a trial as I had problems with this upgrade on my working system (sda7) and had to recover from a backup image - hence the test system on sda5
I would like advice on what happens to grub2 and MBR which I assume is on sda1 when I do this upgrade. I expect that the upgrade will change grub (in MBR?) to use sda5 instead of sda7 as the main grub filesystem. If not, then all is fine and I carry on as usual.
If not then how to I re-instate my working grub (/boot/grub/*) to sda7 (my working system) as far as the bootloader in MBR is concerned. Is it simply a case of backup and then re-install MBR after the upgrade? Or is there a better way or have I misunderstood something?
I have been running a dual boot XP and Ubuntu 8.04 on two separate hard drives for a while now without any problems. I used the method posted http://ubuntuforums.org/showthread.p...light=dualboot. I will be upgrading to 10.4 soon (probably after the re-spin in July) and was wondering if I will have problems after upgrading dual booting.
I do not know if while upgrading Grub remains or if Grub2 tries to overwrite. I have read that Grub2 will try to install onto all partitions and hard drives in a fresh install but do not know about upgrading. If it does try I think I need to put it in hda,1 which is the primary drive where Ubuntu is located.
This is not something I have been able to find the answer to with google. I also have Kubuntu on the system which I can change with session manager and am not sure what will happen to that once I upgrade Ubuntu.
I recently upgraded to Ubuntu 10.04. Now after rebooting I don't get the grub menu anymore nor can I get into ubuntu or vista (I used to dual boot between ubuntu and vista). I get to a black screen with an blinking cursor.