LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2012, 10:29 AM   #1
Banquo
Member
 
Registered: May 2012
Distribution: Peppermint OS
Posts: 65

Rep: Reputation: Disabled
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?
 
Old 06-06-2012, 11:13 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Bt5 is debian based you should be able to do
Quote:
update-grub
& automatically detect debian.
 
Old 06-06-2012, 11:19 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 06-06-2012, 11:22 AM   #4
Banquo
Member
 
Registered: May 2012
Distribution: Peppermint OS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Excellent. I will try this and report back on the outcome. Many thanks!
 
Old 06-06-2012, 12:40 PM   #5
Banquo
Member
 
Registered: May 2012
Distribution: Peppermint OS
Posts: 65

Original Poster
Rep: Reputation: Disabled
Hmmm. The terminal is telling me that Grub is not installed nor is the 'update' command....

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?
 
Old 06-06-2012, 12:44 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That is because the command is
Code:
sudo update-grub
 
Old 06-06-2012, 12:46 PM   #7
Banquo
Member
 
Registered: May 2012
Distribution: Peppermint OS
Posts: 65

Original Poster
Rep: Reputation: Disabled
I forgot the "-" on 'update-grub'. :/
 
Old 06-07-2012, 07:44 AM   #8
Banquo
Member
 
Registered: May 2012
Distribution: Peppermint OS
Posts: 65

Original Poster
Rep: Reputation: Disabled
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
 
Old 06-07-2012, 08:57 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace GRUB Bootloader with WIN NT Bootloader wombat53 Linux - Software 1 09-04-2009 08:56 AM
Installing a 3rd os/grub zchoyt Linux - Software 2 06-01-2005 04:35 PM
Installing The Grub Bootloader From Rescue Disk sloik2000 Linux - Software 4 01-20-2005 04:38 PM
Installing Arch--bootloader killed my Grub busbarn Linux - Software 4 03-13-2004 10:34 PM
Re-installing Grub Bootloader? kkempter Linux - General 21 08-20-2003 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration