Resolved: Ran updates,now grub messed up.
Colin Law
clanlaw at googlemail.com
Fri Jun 18 15:52:14 UTC 2010
On 18 June 2010 15:46, Goh Lip <g.lip at gmx.com> wrote:
> On Fri, 18 Jun 2010 22:33:08 +0800, Edwin McGuire
> <mcguiresmain at emypeople.com> wrote:
>
>>> Sorry for leading you astray. just meant that Grub menu loads.
>> .> How do i fix the default OS. It used to default to XP before upgrade.
>> I cant seem to change menu.lst,seems it wont save after i change file.
>> Thanks again
>> Ed
>
> Sorry too for not understanding.
> Ed, you're on grub2 now, there is no more menu.lst; the new replacement is
> grub.cfg at /boot/grub/. It is not as easy just to change that like in
> menu.lst. But it can be done. I will outline a longer but simpler way to
> do what you wanted.
> But I am on kde, not gnome, so I will try to use 'common' not specific
> words to describe.
I think in an earlier post he said he is still on grub 1.97.
Ed, how are you attempting to edit menu.lst? You have to do it with
sudo so that you have permission to save it.
sudo gedit /boot/grub/menu.lst
>
> Go to /etc/grub.d
> Make a terminal there
> $ sudo cp 40_custom 07_mefirst
> copy entry contents of Windows at 30_os-prober to new 07_mefirst directory
> save, exit
> at terminal
> $ sudo update-grub
If using grub2 then I think there is a simpler way to change the
default boot. Edit the cfg file
sudo gedit /etc/default/grub
and change the value of GRUB_DEFAULT to the one you want (the first
one is value 0). Then
sudo update-grub
It does need to be re-done if a new kernel is installed as the number
will change.
Colin
More information about the ubuntu-users
mailing list