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-28-2007, 10:27 PM   #16
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15

Quote:
Originally Posted by Okie
i think Fedora's rescue disk mounts your fedora install in /mnt you could look in there...

as to what text editors are available with the rescue disk i don't know, maybe a fedora guru will jump in here and help out...
When I start in rescue mode in FC, I usually chroot my active filesystem with the command :

Code:
chroot /mnt/sysimage
Edit your FC grub.conf file (since you've chrooted, it's not at its regular /boot/grub/grub.conf location)

AFAIK, you can use either vi or nano to do the edit. If you use nano, use the -w switch to avoid problems with long lines

Add your boot stanza for Ubuntu (I've provided an example for a / Ubuntu partition in /dev/sda8, but YMMV) and save your file.

Run the following command

Code:
grub-install
Then exit twice and your machine should reboot correctly (with Fedora's grub) and give you an option for Ubuntu.
 
Old 05-28-2007, 10:29 PM   #17
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
I used vi to edit the grub.config i think it was, FC6 is back up now

here is what I had in

Code:
title           Ubuntu, kernel 2.6.20-15-generic
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.20-15-generic
root=UUID=9f6739dd-97c1-4d59-bdbc-694262258dae ro quiet splash
initrd          /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
when the PC boots up I get the blue screen that allows you to chose what OS you want, I dont get the option the chose it starts to count down then loads FC6 up

other than that I cant get into Ubuntu

I'm unsure what to do as I'm a real newbie when it comes to duel boot systems.

I hope some one can help me out please on what to do

cheers TT

Last edited by tommytomato; 05-28-2007 at 10:30 PM.
 
Old 05-29-2007, 08:54 AM   #18
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Okie
you probably just need to ad the info to Fedora's grub, be aware that ubuntu now uses UUID so use a text editor and copy ubuntu's entry in grub's menu.1st over to Fedora's grub menu.1st file...
http://www.linuxquestions.org/questi...d.php?t=557393

Ok since i've done the install the other way round , do i need to copy the Fedora Core 6 grub menu over to the Ubuntu grub menu and then run grub-install.

the ubuntu grub menu is

Code:
title           Ubuntu, kernel 2.6.20-15-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=cb4797ac-2720-4d32-86ed-8eafd01b9a8f ro quiet splash
initrd          /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=cb4797ac-2720-4d32-86ed-8eafd01b9a8f ro single
initrd          /boot/initrd.img-2.6.20-15-generic

title           Ubuntu, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
quiet
getting the Fedore Core 6 menu.lst, thats my next reply

TT
 
Old 05-29-2007, 08:56 AM   #19
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Okie
first you need to ad Ubuntu's harddrive to fedora's /etc/fstab and create a directory (folder) where ubuntu is to be mounted (mkdir /mnt/hdb1)

something like:

/dev/hdb1 /mnt/hdb1 ext3 defaults 0 0

just pay attention to detail how fedora has fstab set up...
I tried this before and I didn't get it to work, so I'll give it another go since i need the Fedore Core 6 menu.lst details

TT
 
Old 05-29-2007, 09:07 AM   #20
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
How does one out put the drives to find out whether there /dev/hdb1 or /dev/hdb2

my fstab file is like so

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1
UUID=cb4797ac-2720-4d32-86ed-8eafd01b9a8f /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=e71b1e29-250f-464f-b9d7-e708b57781ff none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdc        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
TT

Last edited by tommytomato; 05-29-2007 at 09:30 AM.
 
Old 05-29-2007, 09:32 AM   #21
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Quote:
How does one out put the drives to find out whether there /dev/hdb1 or /dev/hdb2
fdisk -l bought up the list of drives

Code:
Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       30213   242685891   83  Linux
/dev/hda2           30214       30401     1510110    5  Extended
/dev/hda5           30214       30401     1510078+  82  Linux swap / Solaris

Disk /dev/hdb: 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/hdb1   *           1          13      104391   83  Linux
/dev/hdb2              14        9733    78075900   8e  Linux LVM
next step

TT
 
Old 05-29-2007, 10:09 AM   #22
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Am i correct the out put has loaded the boot of the 2nd drive after I added this to my fstab

Quote:
/dev/hdb1 /mnt/hdb1 ext3 defaults 0 0
Code:
/mnt/hdb1# ls
config-2.6.18-1.2798.fc6      symvers-2.6.18-1.2798.fc6.gz
grub                          System.map-2.6.18-1.2798.fc6
initrd-2.6.18-1.2798.fc6.img  vmlinuz-2.6.18-1.2798.fc6
lost+found
TT
 
Old 05-29-2007, 10:39 AM   #23
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
It seems to work, thanks heaps
I created the folder mnt/hdb1
then after adding this to my /etc/fstab file

Quote:
/dev/hdb1 /mnt/hdb1 ext3 defaults 0 0
the directory now has the following

Code:
:/mnt/hdb1# ls
config-2.6.18-1.2798.fc6      symvers-2.6.18-1.2798.fc6.gz
grub                          System.map-2.6.18-1.2798.fc6
initrd-2.6.18-1.2798.fc6.img  vmlinuz-2.6.18-1.2798.fc6
lost+found

after reading the grub details i was able to copy and paste details to the Ubuntu menu.lst via root and bingo all is well

boot now works well. thanks again guys, it was right in front of me..

Is there a option to make it a GUI boot

TT
 
  


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
fedore diffrent core carlainz Linux - Laptop and Netbook 2 12-01-2005 04:49 PM
fedore core 4 2good4u2c_52 Linux - Newbie 4 11-08-2005 02:39 AM
Fedore Core 2 harley51 Fedora 3 05-22-2004 11:24 PM
upgrading from fedore core 1 to core 2 rejser Linux - Software 0 05-20-2004 08:22 AM
Fedore Core and Nvidia ydoodle Linux - Newbie 0 01-06-2004 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

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