LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu and fedore core 6 (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-and-fedore-core-6-a-557211/)

tommytomato 05-28-2007 09:03 AM

Ubuntu and fedore core 6
 
Hi all

I have fedore core 6 install on a 250gig HD and I have added another HD to the system, 2nd HD is 80gig and I'v installed Ubuntu 7.04 desktop.

Install went well, how ever i can get into fedore core 6 no boot menu has come up.

I had a duel boot system before, but this one got me foxed :scratch:

Code:

root@tommyland:~# grub-install --recheck /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)  /dev/fd0
(hd0)  /dev/hda
(hd1)  /dev/hdb

were do i start, can any one give me an idea on where to start please.

TT

Okie 05-28-2007 09:16 AM

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...

mitchell7man 05-28-2007 09:23 AM

I multi boot Windows, Ubuntu and Fedora... what i did was install windows first, then ubuntu then Fedora, Ubuntu was not detected automatically by fedora install, so i simply copy pasted the entry from menu.lst in ubuntu to the menu.lst in Fedora, and it works perfectly.

pixellany 05-28-2007 09:29 AM

I am inferring that you are able to boot into the new Ubuntu installation, and that you did the "grub-install" from there.

Look at /boot/grub/menu.lst and see if there is an entry for Fedora. If not, you will need to add one. Since you had Fedora running, you will find what you need by mounting the first drive and looking in the Fedora menu.lst file. Bear in mind that the drive and partition numbering depends on where GRUB is installed and what GRUB sees as the boot order.

This article on booting might help also (The GRUB manual and one other good reference are linked there.)

tommytomato 05-28-2007 09:40 AM

Quote:

Originally Posted by pixellany
I am inferring that you are able to boot into the new Ubuntu installation, and that you did the "grub-install" from there.

Look at /boot/grub/menu.lst and see if there is an entry for Fedora. If not, you will need to add one. Since you had Fedora running, you will find what you need by mounting the first drive and looking in the Fedora menu.lst file. Bear in mind that the drive and partition numbering depends on where GRUB is installed and what GRUB sees as the boot order.

This article on booting might help also (The GRUB manual and one other good reference are linked there.)

Yes I can boot into the new Ubuntu installation ok, but not Fedore Core 6.

/boot/grub/menu.lst
most of it is comment out
but here is what i have.
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

title          Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.20-15-generic root=UUID=9f6739dd-97c1-4d59-bdbc-694262258dae ro single
initrd          /boot/initrd.img-2.6.20-15-generic

title          Ubuntu, memtest86+
root            (hd1,0)
kernel          /boot/memtest86+.bin
quiet

question how do i re confirm what I'v install is on the right hard drive, FC6 on 250gig and ubuntu on the 80gig

TT

tommytomato 05-28-2007 09:55 AM

Is it possable to access the other Hard Drive (250g) to edit the Fedora's grub menu.1st file, from Ubuntu

TT

Okie 05-28-2007 10:15 AM

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...

tommytomato 05-28-2007 10:46 AM

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...

looking into it now

Only way I've been accessing FC6 is by Rescue Disk, is this correct :scratch: , I dont know of another way.

TT

bouchecl 05-28-2007 11:06 AM

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...

Fact of the matter is Ubuntu does use the infamous UUID strings, but grub still works with the friendlier /dev/hda1 | /dev/sda1 syntax.

Here's my own menu.lst (grub.conf) file for my triple boot Dell laptop (FC6, Ubuntu Feisty and XP Pro):

Code:

##
## My /boot/grub/grub.conf
##
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
#hiddenmenu

title Fedora Core (2.6.20-1.2948.fc6)
        root (hd0,2)
        kernel /vmlinuz-2.6.20-1.2948.fc6 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.20-1.2948.fc6.img

title Ubuntu Feisty (2.6.20-16-generic)
        root (hd0,7)
        kernel /boot/vmlinuz-2.6.20-16-generic root=/dev/sda8 ro quiet splash
        initrd /boot/initrd.img-2.6.20-16-generic
        boot

# Commented out to eliminate clutter
# title Ubuntu Feisty (2.6.20-16-generic - recovery mode)
#      root (hd0,7)
#      kernel /boot/vmlinuz-2.6.20-16-generic root=/dev/sda8 ro single
#      initrd /boot/initrd.img-2.6.20-16-generic
#      boot

title Windows
        rootnoverify (hd0,1)
        chainloader +1


Okie 05-28-2007 12:09 PM

i installed xubuntu-7.04 on an extra disk partition and it installed just fine, i opted to not let xubuntu overwrite my MBR and let it run grub-install to the disk partition where it was installed to /dev/hda3 and when the install was finished it prompted me to reboot i rebooted and when i was back in to Slackware i added xubuntu to Slackware's lilo and rebooted, i booted xubuntu and it would stop about half way through the boot process and just hang there doing nothing, not even a kernel panic, so i boot back in to Slackware to look at xubuntu's fstab and menu.1st and i see those UUID entries and then googled around about UUID and come to the conclusion that those UUID numbers are required to boot ubuntu, i tried adding them to my lilo.conf and when running /sbin/lilo in a terminal it would cough up errors, anyhow i am through with keeping an ubuntu install, personally i think UUID just makes things more complicated than it needs to be and that ubuntu implementing UUID was a blunder...

good luck with that ubuntu install tommytomato...

tommytomato 05-28-2007 12:22 PM

I've edited the FC6 /etc/grub.conf file

I'm still not having the choice of picking a system :scratch:

TT

Okie 05-28-2007 02:23 PM

tommytomato, you need to find the file named menu.1st in /boot/grub that is the one that lets you add other OSs to your bootmenu...

tommytomato 05-28-2007 09:54 PM

yep only the grub comes up, not able to enter any command either

I can only get in via rescue disk that FC6 has, and then it takes you to the command line, other than that, I cant get into the FC GUI

I'm at a real lost here


TT

Okie 05-28-2007 10:08 PM

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...

tommytomato 05-28-2007 10:21 PM

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...

thanks, I dont know what I'm raly looking for, I dont realy want to reinstall the system again, was kind of hoping i could get it back up.

it tells me to chroot /mnt/sysimage

back in a tick, had idea :cool:

TT


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