LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Reply
 
Thread Tools
Old 05-12-2008, 08:50 AM   #1
renatohe
LQ Newbie
 
Registered: May 2008
Posts: 2
grub or no grup that might be the question


[Log in to get rid of this advertisement]
I have installed win xp and ubuntu on the same IDE drive. I noticed that with Fedora 8 it asks you where you want to mount grub. With ubuntu it just mounts it. If I want to erase the ubuntu partition i will erase also grub, which means next time the computer tells me it was not able to find out which OS it was suppose to mount. How may I recover the self-start capability of an OS, without depending upon grub?

Thanks
renatohe is offline     Reply With Quote
Old 05-12-2008, 09:16 AM   #2
Larry Webb
Senior Member
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse 10.2, PCLOS, Mepis 6.5
Posts: 1,902
If you are going to run multiple OSes you will need to run some type of boot loader and understand some of the setup. I am not sure of Fedora's setup but should ask you where you want to install grub. Install grub to the mbr and it will overwrite the ubuntu and you will be able to boot from Fedora. It should also pickup your windows installation automatically or ask you if you want to also be able to boot windows.
Larry Webb is online now     Reply With Quote
Old 05-12-2008, 11:19 AM   #3
vadkutya
Member
 
Registered: Apr 2008
Distribution: slackware 10.2
Posts: 117
Quote:
Originally Posted by renatohe View Post
How may I recover the self-start capability of an OS, without depending upon grub?
if you deleted ubuntu you deleted grub as well. now there's no bootloader in the MBR which means you have to install on. use your winxp cd. go in recovery mode and typ FIXMBR at the boot prompt. this will install the windows bootloader in the MBR.

vadkutya
vadkutya is offline     Reply With Quote
Old 05-12-2008, 11:31 AM   #4
b0uncer
Senior Member
 
Registered: Aug 2003
Location: fin
Distribution: (B)LFS, Ubuntu, Slackware
Posts: 4,622
Quote:
Originally Posted by vadkutya View Post
if you deleted ubuntu you deleted grub as well. now there's no bootloader in the MBR which means you have to install on.
Not true, unless "deleting Ubuntu" means also somehow formatting/scrambling the MBR part of the disk. If the Ubuntu partitions are removed, and the Grub that is in use was installed with Ubuntu, it means some of it's files (such as configuration file menu.lst) are lost because they reside on the /boot partition (or root partition of Ubuntu, if no separate /boot was created). However Grub (or the pieces of it that are not on a normal partition) doesn't vanish from MBR; it just doesn't work, because parts of it were removed along with /boot.

To be able to boot several operating systems you need a bootloader, and it's probably best to put to MBR because that's the "dedicated place" for it. If you are using multiple operating systems, I recommend creating a dedicated /boot partition (big enough to hold all operating system kernels, if they put them there) where the bootloader-specific files are (and kernels). Then you can install as many operating systems as you like and remove/move them at will, as long as you just remember to configure the bootloader (Grub: menu.lst, LILO: lilo.conf) so that it "knows" where your current operating systems are (root partition, kernel, initrd, ...)

I thought Ubuntu had some "extra options" for the bootloader, but nevertheless the default option to install onto MBR is what you should use anyway, unless for some reason you don't want to erase Windows' bootloader (no reason for that, it can be recovered if you later want to use only it, and no other bootloaders). With multiple operating systems it's best to do some manual partitioning, and share common partitions such as /boot and/or /home - saves space and nerves.
b0uncer is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
One more GRUP question. swamprat Suse/Novell 3 07-15-2007 02:40 PM
Grup ......Xp ~linux ziox Linux - General 2 10-12-2004 12:33 PM
Does Grup have anything do to with IRQ's? danslinuxbox Linux - Hardware 1 03-03-2004 07:53 AM
grup need help! Tgrasshopper Linux - Newbie 8 10-27-2003 04:40 PM
Grup mhd_Ahmed Linux - Newbie 1 05-21-2003 12:40 PM



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 05:18 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration