Change GRUB boot menu
=====================
I have just installed the latest Kubuntu on a PC that has XP installed.
Both OS's boot OK (default = Kubuntu), but there is also an XP recovery partition that appears on the boot list, plus some other stuff (memtest?) I don't want displayed.
I want to drastically simplify this menu so that it just shows:
- XP (default)
- Kubuntu
...and I want it to stay this way throughout future Kubuntu updates (ideally!).
As a first step I thought I would try something simpler: just change the default OS to XP.
In a previous version of GRUB, I could simply edit the menu.lst, but this appears to be GRUB 2,
and the boot menu appears to be generated dynamically (why?).
After trawling through a lot of web sites I tried:
kdesu cp /etc/default/grub /etc/default/grub.orig
kdesu COMMAND NOT FOUND
So I tried
sudo cp /etc/default/grub /etc/default/grub.orig
which worked.
Then
kdesu kate /etc/default/grub
kdesu COMMAND NOT FOUND
So I tried
sudo kate /etc/default/grub
which worked.
Then edit GRUB_DEFAULT=n and save the file. OK
Then
kdesu grub-update
kdesu COMMAND NOT FOUND
So I tried
sudo grub-update
grub-update COMMAND NOT FOUND
I am now totally stuck.
I want to make a simple change to the boot menu, and it should be a simple job to do - why isn't it?
=====================
I have just installed the latest Kubuntu on a PC that has XP installed.
Both OS's boot OK (default = Kubuntu), but there is also an XP recovery partition that appears on the boot list, plus some other stuff (memtest?) I don't want displayed.
I want to drastically simplify this menu so that it just shows:
- XP (default)
- Kubuntu
...and I want it to stay this way throughout future Kubuntu updates (ideally!).
As a first step I thought I would try something simpler: just change the default OS to XP.
In a previous version of GRUB, I could simply edit the menu.lst, but this appears to be GRUB 2,
and the boot menu appears to be generated dynamically (why?).
After trawling through a lot of web sites I tried:
kdesu cp /etc/default/grub /etc/default/grub.orig
kdesu COMMAND NOT FOUND
So I tried
sudo cp /etc/default/grub /etc/default/grub.orig
which worked.
Then
kdesu kate /etc/default/grub
kdesu COMMAND NOT FOUND
So I tried
sudo kate /etc/default/grub
which worked.
Then edit GRUB_DEFAULT=n and save the file. OK
Then
kdesu grub-update
kdesu COMMAND NOT FOUND
So I tried
sudo grub-update
grub-update COMMAND NOT FOUND
I am now totally stuck.
I want to make a simple change to the boot menu, and it should be a simple job to do - why isn't it?
Comment