Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-10-2007, 12:33 AM   #1 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Triple boot problem: Fedora, Ubuntu, XP


I wanted to install Fedora 7, Ubuntu 7.04 and Windows XP Pro as a triple boot on my system. I firstly installed XP, after which I installed Ubuntu, followed by fedora. Now I can boot into both fedora and xp, but I've lost the option to boot into Ubuntu. How do i get it back? Right now all i get is the fedora grub menu which gives me an option to boot into fedora or windows.

Here are my partition tables (fdisk -l)


Code:
 Disk /dev/sda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         261     2096451    7  HPFS/NTFS
/dev/sda2             262        7352    56958457+   f  W95 Ext'd (LBA)
/dev/sda3            7353        7365      104422+  83  Linux
/dev/sda4            7366        9733    19020960   8e  Linux LVM
/dev/sda5             262        4991    37993693+   7  HPFS/NTFS
/dev/sda6            4992        5003       96358+  83  Linux
/dev/sda7            5004        5127      995998+  82  Linux swap / Solaris
/dev/sda8            5128        7352    17872281   83  Linux

Windows is on /dev/sda5 (boot.ini is on /dev/sda1), fedora on /dev/sda3, and ubuntu on /dev/sda6 (thats /boot).

Here's my current grub/menu.lst from fedora

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora 7
    root (hd0,2)
    kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.21-1.3194.fc7.img
title Windows XP Professional
    rootnoverify (hd0,0)
    chainloader +1

What do I have to add to menu.lst to get back Ubuntu?
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-10-2007, 12:51 AM   #2 (permalink)
Juke Box Hero
 
Join Date: Aug 2007
Posts: 1,204
Default Re: Triple boot problem: Fedora, Ubuntu, XP

Its always wise to use/edit grub.conf on Fedora, though menu.lst will work, but still its a standard procedure.

Now its very easy,
1) Ubuntu is on /dev/sda6 as /boot so the kernel must be there. Just mount sda6 to some directory.
Code:
#sudo mount -t ext3 /dev/sda6 some_folder
2) Now login as root temporarily
Code:
#su -
3) Open Nautilus (as its becomes easy to edit than using the console)
Code:
#nautilus
4) Browse to the folder where you have mounted sda6. Get into menu.lst using a text editor and copy-paste the kernel entry from there to your Fedora's grub.conf, save and reboot.

That's it. You get boot option for Ubuntu now, enjoy

PS: Remember, do all these in a single instance of Nautilus, i.e., copy-paste in the same Nautilus window which you have opened as root.
Hitboxx is offline  
Old 11-10-2007, 09:20 AM   #3 (permalink)
In The Zone
 
adit_sen's Avatar
 
Join Date: Feb 2004
Location: Perth, A*stralia
Posts: 342
Default Re: Triple boot problem: Fedora, Ubuntu, XP

Awesome!!! Thanks a lot for that...
__________________
AMD 4400+ X2; Compaq Presario M2202TU; Dell Inspirion 500m; Windows Vista Ultimate
adit_sen is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hmm...triple boot possible? abhi_10_20 Software Q&A 7 14-09-2007 10:09 PM
GRUB problem in triple booting saurabh.sauron Open Source 9 10-06-2007 08:08 PM
Triple booting XP, Vista and Ubuntu blackpearl Software Q&A 1 06-09-2006 05:06 PM
triple boot!!! jamyang312 Software Q&A 9 26-05-2006 02:26 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2