Every time update-grub is run all hard drives are scanned. Each drives that is in standby state will spin up to go idle. This is a waste of energy. We use update-grub version 1.98:
# update-grub -v
grub-mkconfig (GRUB) 1.98+20100804-14+squeeze1
Regression
There is a GRUB_DISABLE_OS_PROBER=true option in the /etc/default/grub file. But that seems to only work from version 2 and up.
I have both Precise and Quantal installed on separate partitions on same HDD.
While installing Quantal, in my forgetfulness I let it install Grub. No issues so far. Machine works fine.
However, whenever there is Grub version upgrade on either versions of Ubuntu or if I run update-grub in either the Grub gets replaced by the version where the upgrade or update happened.
Let me be more clear.
For some reason, most of the files in /boot/grub just vanished!
There are so many combinations of problems concerning this aspect of the upgrade to 12.04.1 LTS that I thought I had best itemise this one also.
As was expected, after installing the upgrade (online), the first restart, instead of presenting the option to boot to Ubuntu or to Windows, it resulted in
"error : the symbol 'grub'xputs' not found
grub rescue> "
Neither 'grub-xput
After upgrade to 12.04 my GRUP was broken. I thought that a single problem so I booted from Ubuntu CD, mounted my Ubuntu disk, then grub-install, restarted PC and everything was fine again. But I've noticed that GRUB crashed after every GRUB packages update. I did today 12.10 upgrade and it happen again. Is that GRUB issue or maybe is something wrong with my hardware?
So I installed windows 7 after #!, tried to restore grub but it couldn't find my #!, so being the impatient person I am, I thought I would just install a 2nd #! into a 3gb unallocated space, so I would have 2 #!,s but it would reinstall grub and magically show my first #!
Q1. In /boot/grub/grub there are many references to a UUID.
Where does grub get this reference? I would like to change the source and then run update-grub.
I prefer not to edit the grub file manually because then when I do run update-grub the UUID will come back.
Q2.
Looks like you are not using Chakra's grub to boot.If you do know that for example, it is Ubuntu's grub and it is still installed there, go to Ubuntu and at terminal, "sudo update-grub" If you don't know, what OS is at the top of the menu?print out that grub's grub.cfg (or menu.lst)as well as fdisk -l and blkid
Hello all,
since upgrading to 12.04 my grub.cfg file keeps getting overwritten with a blank one so my system always fails to reboot after a package update.
I know the grub.cfg is autogenerated, but I'm not sure why it isn't getting generated correctly.
I have reinstalled grub, and run a grub-update to no avail.
Could anyone provide some advice as to how to debug this?