Backtrack grub and Ubuntu grub
I tried to perform a triple install using Windows XP already installed, Ubuntu 9.10 Karmic Koala already installed, and tried to install Backtrack 4 Final in to the mix. The XP loader worked but the Ubuntu loader gave me an error 15, which I have corrected, but grub doesn't have the option to boot into Backtrack anymore. Can I manually add it or something in Grub2?
Using Dell Inspiron 640m POS w/ 2gigs RAM, 2ghz Intel Core 2 Duo Dual-core processor, w/ XP, Ubuntu 9.10, and Backtrack 4 Installed but floating somewhere on the harddrive.
Thanks in advance
Re: Backtrack grub and Ubuntu grub
Sounds like you need to install grub again from ubuntu and maybe manually create the menu.lst
Re: Backtrack grub and Ubuntu grub
You should be able to run update-grub from Ubuntu terminal. And that will detect all OS's. No need for manual editing.
Re: Backtrack grub and Ubuntu grub
Grub2 is not part of BT4
Grub2 is not meant to be edited like Grub1 here's how to reinstall Grub2
Using Ubuntu 9.10 livecd
Here assuming the Ubuntu partition is sda7,and /boot partition is sda6 (if you have a separate /boot partition).
Boot up ubuntu from the livecd,open terminal and run:
Code:
sudo -i
mount /dev/sda7 /mnt
mount /dev/sda6 /mnt/boot #skip this one if not have a separate /boot partition
grub-install --root-directory=/mnt/ /dev/sda
Reboot into ubuntu and run
all done.
From here Grub 2 Basics - Ubuntu Forums
Re: Backtrack grub and Ubuntu grub
maybe you have to check grub using this command
gksudo gedit /boot/grub/menu.lst
set the backtrack boot configuration
Re: Backtrack grub and Ubuntu grub
It's probably easier to use the Ubuntu grub only, as it's the one that will change more often with kernel updates (I expect BT4 to remain more 'frozen' to its release version, as in the past). 9.10 installed grub2 as well, correct? It uses the dynamic entry building with the scripts (in Ubuntu) under /etc/grub.d. You can try copying the BT4 grub entry to 40_custom and rebuild using update-grub. The problem would be if you can't boot to BT4, you won't have the working grub entry ;) Maybe someone else can post it, I haven't installed BT4-final yet. Here's a link on Grub2:
GRUB 2: A Guide for Users
Lacoste