0

I recently installed Debian Lenny on a VM and ran all apt-get updates which also upgraded Grub to version 2.

I followed all the instructions (as best as I could) and everything works fine except it now shows 2 boot items. The first 1 goes to a initramfs command line after it says it couldn't find a bootable volume. The second is the correct one.

How do I fully remove the 1st boot item and change the boot order to the second?

EddyR
  • 171
  • 6
  • On a side note what actually happened was my mistake. Some tutorials I was looking at included "sid" and not "lenny" as a source list entry. Hence Grub 2 was installed. I think I'll wait for the stable release :) – EddyR Nov 04 '10 at 06:38

2 Answers2

0

1st you need install this .dep it will work

sudo aptitude search startupmanager

sudo aptitude install startupmanager

:D

Rajat
  • 3,349
  • 22
  • 29
0

There is a file called menu.lst in /boot/grub.

It holds the boot entries, if you only want changes the order of the options it's pretty self explanatory.

Also you want to make that the migration to grub2 is complete, debian does this in two steps, so you can confirm it works as planned. To complete the upgrade run upgrade-from-grub-legacy

Jasper
  • 1,084
  • 10
  • 10
  • yep, I did all that already. It says it keeps detecting files vmlinux-2.6.26-5-amd64, initrd.img-2.6.32-5-amd64 and vmlinux-2.6.26-2-amd64, initrd.img-2.6.32-2-amd64. I think the first 2 shouldn't be there and that that's why it keeps listing 2 OS. Can I move these? – EddyR Nov 03 '10 at 09:02
  • You can move them and run update-grub. It will not detect the moved files. You're mentioning incongruent files, is this a typo? If not something's wrong. You should have a combo of vmlinux-x-y-amd64 and initrd.img-x-y-amd64. You can also set default 1 in menu.lst and then run update-grub – Jasper Nov 03 '10 at 13:03