LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-12-2008, 09:50 AM   #1
renatohe
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
grub or no grup that might be the question


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
 
Old 05-12-2008, 10:16 AM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 05-12-2008, 12:19 PM   #3
vadkutya
Member
 
Registered: Apr 2008
Distribution: slackware 10.2
Posts: 117

Rep: Reputation: 16
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
 
Old 05-12-2008, 12:31 PM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.
 
  


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
One more GRUP question. swamprat SUSE / openSUSE 3 07-15-2007 03:40 PM
Grup ......Xp ~linux ziox Linux - General 2 10-12-2004 01:33 PM
Does Grup have anything do to with IRQ's? danslinuxbox Linux - Hardware 1 03-03-2004 08:53 AM
grup need help! Tgrasshopper Linux - Newbie 8 10-27-2003 05:40 PM
Grup mhd_Ahmed Linux - Newbie 1 05-21-2003 01:40 PM


All times are GMT -5. The time now is 06:29 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