LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-17-2013, 02:46 AM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Grub as a stand alone


Hi

I would like to install grub2 as a standalone not connected to any OS.
Can I put it in an extended partition
It will have to boot multi distros with chainloading, I know this is setup in /etc/grub.d/40_custom so how would this work.
Finaly how would I update-grub when a distro updates or would that have to be done by hand?
Think I have covered everything
 
Old 02-17-2013, 03:19 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Unfortunately, you can't do that. For some strange reason I never could understand, Grub2 is an integrated part of the OS.
If you install Grub2 in one partition and then remove the distro, you have no control over your Grub2-installation.
This is why I'm still using old grub, I want one place to boot from. What I've done is install grub-legacy in one small partition, and use that for booting.
 
1 members found this post helpful.
Old 02-17-2013, 04:53 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by pingu View Post
For some strange reason I never could understand, Grub2 is an integrated part of the OS.
Probably because it was written by (predominantly) Debian/Ubuntu people that obviously have no concept of users doing what they want.
Placing files under /etc destroys plans like this.

I keep one installation (distro) per physical system so I have control of the boot environment whatever I do with the other distros. Can still be a challenge, but is manageable in my situation.

Edit: yes you can install to a logical partition (not the extended).

Last edited by syg00; 02-17-2013 at 05:03 AM.
 
1 members found this post helpful.
Old 02-17-2013, 05:25 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi syg00

That is how it is at the moment, I did mean logical I realised that after I posted.
Not sure I,m going to keep ubuntu tho.
 
Old 02-17-2013, 05:32 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Shouldn't matter. Any newer system can be the "control" system - simply allow it to install into the MBR.
The problem(s) come when other systems automatically over-write the MBR without you knowing - usually when they upgrade grub in their own environment. Generally pretty easy to fix.
 
Old 02-17-2013, 05:43 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
The other OS are bsd,centos windows they dont use grub2 which I,m familer with and like the only reason I put ubuntu on was grub2 and I have used before.
 
Old 02-17-2013, 05:56 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
As I said, no big deal if you replace Ubuntu with something else that uses grub2. These days they should all run os-prober - don't know if it'll find a BSD as I don't use it, but shouldn't be hard to fix - maybe keep your own .cfg on a USB key.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
What Does ES or AS Stand For? Canis Polaris Red Hat 2 05-16-2007 11:05 AM
What does this stand for? newlinuxnewbie Linux - Server 1 09-22-2006 01:25 PM
So mad I can't stand it: GRUB! herkdrvr Linux - General 3 11-02-2004 03:06 AM
what does rc.d stand for? german Linux - General 4 11-13-2003 07:55 AM

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

All times are GMT -5. The time now is 04:21 PM.

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