LinuxQuestions.org
Register a domain and help support LQ
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 03-06-2008, 04:15 PM   #1
EevaH
LQ Newbie
 
Registered: Mar 2008
Location: Mikkeli, Finland
Posts: 22

Rep: Reputation: 0
installing grub into ubuntu partition


I am planning to get XP, eCS (OS/2) and ubuntu to coexist in the same
machine (IBM ThinkCentre M50) and even on the same hard disk (40 G).
At the moment there is the pre-installed XP in its 10 G partition.
I think I know how to install eCS and ubuntu, the problem of course is
the bootloader. I know that in whichever order I install them, the last one will kill the previous system's bootloader. I'd rather use eCS's BootManager to start and call grub if asked for. I planned to install eCS next as I'd like to do the partitioning with it (it is rather sensitive to the MS-style non-standard partitioning info) and install ubuntu last, but need to know how I can prevent grub to write MBR, and make it go nicely into its own partition. I've got ubuntu 7.10 on a CD, but am not really willing to experiment.

background: used OS/2 a lot, Windows when unavoidable, Aix in my earlier
life (over 10 years ago), no Linux experience, but curious. I rather like
to use command line (or terminal as it is called here), gives you a nice
feeling of being in control...

Thanks for you input!

Eeva (from Finland)
 
Old 03-06-2008, 05:03 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
If the Ubuntu installer is well behaved, during installation you will be prompted for various kinds of information. Among them: the partition to install Ubuntu, and where to install grub. Choose to install grub to the root partition (the boot sector of the Ununtu partition) instead of to the MBR.

Of course, this means that you have no means to boot Ubuntu without a boot disk (floppy or cd) or the Ubuntu cd (if there is a menu with the option to boot from hard drive instead of the cd).

I don't know the capabilities of eCS, so I can't say how you would go about configuring it to boot Ubuntu.
 
Old 03-06-2008, 05:21 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Unfortunately too many installers aren't "well behaved" - I prefer to use the Ubuntu "alternate" install CD. This is a more interactive install - gives you the option of where to place the loader (amongst other things).
Then you can merely chain-load from your loader of choice. Any updates to the Ubuntu system will update its "menu.lst", you have nothing to do from the other system to continue chainloading it. Only downside is that you get 2 (at least) boot menus - they can be hidden or on a short time-out, so not really a problem.
Easy.
 
Old 03-07-2008, 03:15 AM   #4
EevaH
LQ Newbie
 
Registered: Mar 2008
Location: Mikkeli, Finland
Posts: 22

Original Poster
Rep: Reputation: 0
Well, that is actually what I am asking: how well behaved is ubuntu installation process. I have not seen documentation that would tell all the installation options, it there one? I am rather confident I'll be able do the chainloading, if I can make grub go sit in the ubuntu partition's boot record. But I am rather worried that ubuntu installation will go and write MBR and so destroy BootManager without asking me anything. What is the Alternate install CD and where can I get one?

Many thanks for responses!

Eeva
 
Old 03-07-2008, 09:56 AM   #5
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
http://www.psychocats.net/ubuntu/installing

or for text base install.

http://users.bigpond.net.au/hermanzone/
 
Old 03-07-2008, 10:34 AM   #6
EevaH
LQ Newbie
 
Registered: Mar 2008
Location: Mikkeli, Finland
Posts: 22

Original Poster
Rep: Reputation: 0
Thank you, looks like it can be done with the standard installation CD
 
Old 03-07-2008, 10:42 AM   #7
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Answer to all of your questions http://gag.sourceforge.net/ .
 
Old 03-07-2008, 04:15 PM   #8
EevaH
LQ Newbie
 
Registered: Mar 2008
Location: Mikkeli, Finland
Posts: 22

Original Poster
Rep: Reputation: 0
Sounds good, anyone ever used it? Comments on reliablity?

(The link is about Graphical Boot Manager, GAG)
 
Old 03-07-2008, 04:21 PM   #9
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I have used it,just install it on the MBR.You got all instructions within the package.
 
Old 03-07-2008, 06:01 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Looks o.k., but I've personally never seen the need - same applies to all the other boot "managers".
Never had a collection of systems I couldn't manage quite nicely with grub. Even if the MBR does get over-written, it's trivially easy to recover from.
 
Old 03-08-2008, 05:17 PM   #11
EevaH
LQ Newbie
 
Registered: Mar 2008
Location: Mikkeli, Finland
Posts: 22

Original Poster
Rep: Reputation: 0
OK, in case grub accidentally slips into MBR, can it be moved with Linux commands into its own boot partition, or recreated? What would be the incantation for doing that? I believe I could manage to patch MBR.
 
  


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
installing grub on the root partition mahdif Linux - General 4 06-16-2007 01:11 PM
Partition rearrangement & dual booting Ubuntu/XP via GRUB VoidRoamer Linux - Hardware 9 04-29-2007 09:32 AM
Need help configuring GRUB to add the correct windows partition (Ubuntu) gnanda66541 Linux - Newbie 15 04-12-2007 12:03 AM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 07:11 PM


All times are GMT -5. The time now is 12:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration