LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Replace 3rd OS without installing new Grub bootloader (https://www.linuxquestions.org/questions/linux-newbie-8/replace-3rd-os-without-installing-new-grub-bootloader-948833/)

Banquo 06-06-2012 11:29 AM

Replace 3rd OS without installing new Grub bootloader
 
Hello all. I hope I have posted in the correct forum. I have a triple boot setup with Windows 7, Backtrack5 R2 and Knoppix. While Knoppix has, for the most part, been a swell distro, it's also a security hole in my machine due to the lack of any login screen or password requirements. I want to replace Knoppix with Debian 6.0.5.

My problem is that I'm not sure how to install Debian without Installing Grub that comes with it, then edit the BT5 grub menu to reflect the new OS list after the Debian install.

Does anyone have an idea as to how to go about this?

EDDY1 06-06-2012 12:13 PM

Bt5 is debian based you should be able to do
Quote:

update-grub
& automatically detect debian.

TobiSGD 06-06-2012 12:19 PM

BT5 is Ubuntu based, not Debian based.

To answer the OP's question: Just download a Debian installer CD (not a Live-CD) and during boot choose the expert install option. This way you should be asked if you want to install a bootloader.
After installation boot into Backtrack and launch
Code:

sudo update-grub
, which, as EDDY1 stated already, will add debian to the boot menu.

Banquo 06-06-2012 12:22 PM

Excellent. I will try this and report back on the outcome. Many thanks!

Banquo 06-06-2012 01:40 PM

Hmmm. The terminal is telling me that Grub is not installed nor is the 'update' command....:confused:

Code:

sudo update grub
and
Code:

grub
return the following messages;

Quote:

sudo update grub
sudo: update: command not found
and

Code:

grub
The program 'grub' is currently not installed.  You can install it by typing:
apt-get install grub

The bootloader does say 'Grub'.....What is going on here?

TobiSGD 06-06-2012 01:44 PM

That is because the command is
Code:

sudo update-grub

Banquo 06-06-2012 01:46 PM

I forgot the "-" on 'update-grub'. :/

Banquo 06-07-2012 08:44 AM

Well, It worked without a hitch. The only problem was that the particular version of Debian that I have does not have wireless drivers for my netbook :(

Thank you for your help

TobiSGD 06-07-2012 09:57 AM

Open a new thread for your wireless issue, I am sure that there is a solution.


All times are GMT -5. The time now is 10:16 AM.