I installed backtrack a few weeks ago and am just now getting around to asking this. When I installed it, backtrack showed up as "Ubuntu, with Linux kernel ........" where ......... is a lot of numbers. Since I also have Ubuntu on my system, this gets confusing from time to time. Is there a way to change the name of backtrack to backtrack?

09-10-2012, 06:58 PM

daedalus1776

Re: Backtrack shows up as Ubuntu in grub

Quote:

Originally Posted by Jt000

Is there a way to change the name of backtrack to backtrack?

Yep, there is.

09-11-2012, 01:08 AM

comaX

Re: Backtrack shows up as Ubuntu in grub

Indeed, there is. /boot/grub/grub.conf if my memory is good.

09-12-2012, 08:16 PM

aut0exec

Re: Backtrack shows up as Ubuntu in grub

Its not quite as easy as editing grub.cfg or at least it wasn't for me.

Warning: I take no responsibility if you hose your machine. This worked for me but do this at your own risk. I would make sure to back up your current grub.cfg file before you start messing with this.

You have to make your own menu at /etc/grub.d/40_custom. What I did was copied all of the entries out of /boot/grub/grub.cfg and pasted them into /etc/grub.d/40_custom. An entry begins with "menuentry" and ends with " } " Put them in the order you want them there and fix the entries as you deem fit. Then you need to change the permissions on /etc/grub.d/10_linux and /etc/grub.d/30_os-prober. The code is as follows:

Code:

chmod -x /etc/grub.d/10_linux /etc/grub.d/30_os-prober

I left the memtest stuff but you dont have too. If you dont want them be sure to add /etc/grub.d/20_memtest86+ to the command above. Once you have done this you need do a update-grub in terminal. I would check your grub file after this and make sure you see all your entries are in your /boot/grub/grub.cfg file otherwise you may not have anything in the list when you restart. If nothing is in the list you did something wrong.

This will likely only fix the issue until another kernel update. Then you will have a new entry and have to modify the order again. I hope this helps and let me know if you have any issues and I will try to help to the best of my knowledge.

09-16-2012, 06:57 PM

daedalus1776

Re: Backtrack shows up as Ubuntu in grub

Depends on if you're running Grub or Grub2. But yes, that is the gist of it for Grub2. And it depends if your bootloader is sitting on the same partition as Backtrack or Ubuntu.. or somewhere else entirely.