LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2011, 12:11 AM   #1
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Multibooting XP, Ubuntu and Fedora


I want Windoze and Ubuntu 10.10 on my drive, I already have Fedora 11 installed. My question is, if I install Ubuntu, then will it recognise both XP and Fedora 11, and add them to the boot menu? Isn't this quite dangerous and problematic, since, I think Fedora creates 3 or 4 partitions for itself, some of which are LVM - will Ubuntu recognise that? And do the needful?


Thx.
 
Old 01-21-2011, 02:40 AM   #2
zedmelon
Member
 
Registered: Jun 2004
Location: colorado, USA
Distribution: slack, oBSD
Posts: 119

Rep: Reputation: 24
Quote:
Originally Posted by resetreset View Post
Isn't this quite dangerous and problematic, since, I think Fedora creates 3 or 4 partitions for itself, some of which are LVM
Someone else might have better insight on whether Fedora creates LVM partitions or if that should pose an issue at all for Ubuntu--I suspect not--but the limit on partitions is high enough that you needn't worry about having too many.

Also, every Linux distribution I've used in a multiboot scenario recognized Windows immediately and offered to cohabitate in grub or lilo. Some of the more user-friendly installations even added the WinX entry automagically. Windows has not been *nearly* as consistent in that regard. Installing Windows first helps things go more smoothly.
 
Old 01-21-2011, 02:44 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by resetreset View Post
I want Windoze and Ubuntu 10.10 on my drive, I already have Fedora 11 installed. My question is, if I install Ubuntu, then will it recognise both XP and Fedora 11, and add them to the boot menu? Isn't this quite dangerous and problematic, since, I think Fedora creates 3 or 4 partitions for itself, some of which are LVM - will Ubuntu recognise that? And do the needful?


Thx.
I don't think Fedora creates LVM partitions by default, I am not sure though because I always customaize partitions while installing.
Installing Windows after any linux distro will delete the GRUB and replace it with windows bootloader, you'll have to reinstall the GRUB then. Thats why its always recomended to install windows first and the linux.
 
Old 01-21-2011, 03:24 AM   #4
zedmelon
Member
 
Registered: Jun 2004
Location: colorado, USA
Distribution: slack, oBSD
Posts: 119

Rep: Reputation: 24
Quote:
Originally Posted by Sayan Acharjee View Post
Installing Windows after any linux distro will delete the GRUB and replace it with windows bootloader.
Oops, I meant to mention that.
:-(

Windows XP seems to recognize the other operating systems all right, but having to reinstall grub is discouraging. I think part of me was thinking of Win98...
 
Old 01-21-2011, 04:38 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by zedmelon View Post
...having to reinstall grub is discouraging...
Not really. Most distributions have a recovery modus on the install CD/DVD, openSuSE even an entry dedicated to resolving boot problems.

At the good old times of NT 4.0 you had to extract the MBR of the windows-installation to a file on C:\ and handle that to GRUB. Is that not anymore the case? (I dunno, I don't use win anymore).
 
Old 01-21-2011, 05:29 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Yes yes, I KNOW that installing 'doze will kill the MBR - My plan is: right now, I have Fedora 11 installed, so I want to delete the current 'doze partition, and reinstall it with a smaller size partition (I have a virus on it), and THEN install Ubuntu. Ubuntu's bootloader should recognise XP, but I'm just worried about whether it'll recognise Fedora 11 or not.
If it doesn't, what do I have to do?
 
Old 01-21-2011, 05:57 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Make sure ubuntu's GRUB can read from a LVM volume, or verify that your fedora kernel and initrd reside on a non LVM partition. If a direct boot is impossible (I don't see how that could be) you can also chainload the fedora GRUB and start your fedora from there.
 
Old 01-21-2011, 06:04 AM   #8
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by JZL240I-U View Post
Make sure ubuntu's GRUB can read from a LVM volume,


How?






Quote:
Originally Posted by JZL240I-U View Post
or verify that your fedora kernel and initrd reside on a non LVM partition.

I *think* I have a /boot - that should be non-LVM, right?

By the way, I have no idea what LVM is...





Quote:
Originally Posted by JZL240I-U View Post
If a direct boot is impossible (I don't see how that could be) you can also chainload the fedora GRUB and start your fedora from there.


Sorry - what is "chainload"? And how do I do it?



Thanks a lot.
 
Old 01-21-2011, 06:05 AM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You could avoid reinstalling by running av from live-cd.
Hiren's bcd has avira inside miniwinsxp.
 
Old 01-21-2011, 06:07 AM   #10
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by resetreset View Post
Ubuntu's bootloader should recognise XP, but I'm just worried about whether it'll recognise Fedora 11 or not.
If it doesn't, what do I have to do?
Follow this: http://www.linuxquestions.org/questi...ectory-837603/
 
Old 01-21-2011, 06:19 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Umph .

Quote:
Originally Posted by resetreset View Post
How?
Search in the ubuntu fora and read about GRUB2:
http://ubuntuforums.org/printthread.php?t=1195275
https://help.ubuntu.com/community/Grub2
http://www.linuxforums.org/forum/lin...to_threadtools
http://www.dedoimedo.com/computers/grub-2.html

Quote:
Originally Posted by resetreset View Post
I *think* I have a /boot - that should be non-LVM, right?
Not automatically, no. Look for a /boot entry in the file /etc/fstab. Then do a fdisk -l (that is a small -L) and check the partition type.

Quote:
Originally Posted by resetreset View Post
By the way, I have no idea what LVM is...
The Logical Volume Manager. Let me google that for you :
http://en.wikipedia.org/wiki/Logical...er_%28Linux%29
http://tldp.org/HOWTO/LVM-HOWTO/
http://www.ibiblio.org/pub/Linux/doc...O.html#lvm2faq

Quote:
Originally Posted by resetreset View Post
Sorry - what is "chainload"? And how do I do it?
Chainloading is an ability of GRUB to load another boot loader (instead of an operating system). Your new ubuntu GRUB would thus load the old fedora GRUB.

You do realize that the current fedora version stands at 14, don't you...

Last edited by JZL240I-U; 01-21-2011 at 06:21 AM.
 
Old 01-21-2011, 06:23 AM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Even if Ubuntu doesn't recognize Fedora, as long as Ubuntu boots and you know location of root you can mount using Ubuntu's disk utility.

After mounting
run
"os-prober"
then run
"update-grub"
Attached Thumbnails
Click image for larger version

Name:	Screenshot-12.png
Views:	10
Size:	190.0 KB
ID:	5907  
 
Old 01-22-2011, 12:59 AM   #13
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by JZL240I-U View Post

Chainloading is an ability of GRUB to load another boot loader (instead of an operating system). Your new ubuntu GRUB would thus load the old fedora GRUB.

So - how do I pull it off?

Quote:
Originally Posted by JZL240I-U View Post
You do realize that the current fedora version stands at 14, don't you...

Yeah, I just don't *neeed* anything newer - I've never even used ALL the programs that came with 11, so I don't see the point of upgrading. And besides, I pay for my net by the MB, I'm not going to download 4 gigs or whatever.
Thanks for your help.
 
Old 01-24-2011, 01:28 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by resetreset View Post
So - how do I pull it off?
I am assuming you use GRUB 2. That notwithstanding I'll post some links for the "old" GRUB so you can better understand the basic concept. First the new ones:

https://help.ubuntu.com/community/Grub2
http://linuxers.org/howto/how-config...ub2-ubuntu-910

Here older entries:

http://www.gnu.org/software/grub/manual/
http://www.troubleshooters.com/linux/grub/grub.htm

Just search in them for "chainload" and get a basic understanding and a hold of the syntax.

Quote:
Originally Posted by resetreset View Post
...I pay for my net by the MB, I'm not going to download 4 gigs or whatever...
I'm already convinced .
 
  


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
Multibooting with GRUB veeruk101 Linux - Newbie 11 01-25-2007 03:07 AM
multibooting simcox1 Mandriva 4 07-13-2005 10:36 AM
Multibooting How-To RodimusProblem LinuxQuestions.org Member Success Stories 3 02-22-2005 05:06 AM
Multibooting with w98se, mdk9.2 and fedora d4d4n9 Mandriva 4 02-08-2004 07:06 PM
Multibooting with SuSe 7.2 william8 Linux - General 2 11-08-2002 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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