LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Next Booting Problem! (https://www.linuxquestions.org/questions/linux-software-2/next-booting-problem-463624/)

PirateFSM 07-13-2006 07:43 AM

Next Booting Problem!
 
Good day all!

I want to thank you all for taking the time and reading my post! Now...to business.

I have 3 drives. 1 With a 50/50 Windows/Ubuntu Combination, the second {BLANK} I'll explain why in a bit... and a third for media.

Now, it used to be that I had drive number two as an FC5 setup, but I got home yesterday and grub would throw me in a command line, which, to be honest with you, I knew nothing about. I tried getting my Grub.conf through the recovery, I used live CDs, I entered the values manually, and after getting a cramp I stopped.

My next bright Idea was "hey, why don't I install Ubuntu on the remaining 40 GB on Drive 1! That way, when the boot loader for Ubuntu installs it will read my FC5 Install and we'll have one big happy 3-OS booting machine!" Much to my chagrin however it didn't turn out that way. Ubuntu loaded its boot loader and it picked up windows but no FC5.

In my depression cause by lack of FC5-age and since it was 2 in the morning, I went in and copied my /home folders to my media drive and did what we all do to put any creature out of its misery... I killed my OS. As I reinstalled in sadness, but I looked at the bright side, and realized that this time for sure, I would have tri-boot goodness. The installation came to a close and I restarted.... Ubuntu’s boot screen came up...

So in short...SOMEBODY HELP! Thank you for your time.

Oh, and Ubuntu's not that bad! It installed really easily and quickly. It would have been fine last week but I recently decided that I wanted to run DNS, and APACHE on my Linux box. Ubuntu doesn't have system-config-httpd!

Please feel free to contact me at joblesspirate on AIM.

raskin 07-13-2006 08:15 AM

Well, first, you can simply 'chroot' to mounted FC5 installation and manually start apache/DNS by '/etc/rc.d/init.d/httpd start' etc (after chroot).
Second, what Ubuntu loader is like? look for /boot/grub/menu.lst and /etc/lilo.conf on your Ubuntu partition. Try to copy kernel and initrd from /boot in FC5 partition to /boot in ubuntu (check no naming conflict happens, feel free to rename), and maybe synchronize /lib/modules across partitions. Then duplicate entry for ubuntu editing kernel, initrd and root.

PirateFSM 07-13-2006 08:28 AM

Confused.
 
There are a couple of problems though. I can't for some reason mount sda2 (FC5) I can't see the file with ubuntu or Explore2fs. As for chroot... what's that. I've seen it, probably used it but not too sure On it's function. Not really asking for a reply, i'll google it, but in the end, i'd like to have all three as options on my boot loader. Your second suggestions I'm not too clear on. I'll try my best to replicate your suggestion. Any other suggestions?

:study:

raskin 07-13-2006 08:39 AM

ls /sys/block - what does it show? Try to search ubuntuforums and modprobe all SATA or SCSI modules you need (if you have sda's). What is Ubunutu root? If it is hda, try hda2.

About chroot - read man chroot, it gives you shell with another root.

About bootloader - I asked which of two files you have, one is about grub, other is about lilo - say which you have and you'll get better chance.

PirateFSM 07-13-2006 08:43 AM

It's grub for Ubuntu. do you think it could be giving a problem because of the SATA Drive? My media drive is SATA as well and that is read fine. My Ubuntu boot is hda2

raskin 07-13-2006 01:48 PM

Well, what drive you cannot mount? Do you have IDE with Ubuntu + SATA with FC? Oh dear. I have no experience of setting up grub with SATA. And it has complicated naming scheme.. Try reading manual to understand how you partition is called for grub... And try to make an entry by info, it explains it well, except for disk naming.

PirateFSM 07-13-2006 02:21 PM

my ubuntu and Windows disk is IDE the other two are SATA. I'll figure something out if anything i'll set up FC5 so that I have to switch the boot order.

raskin 07-14-2006 12:38 AM

Maybe try to add to /boot/grub/menu.lst

title FC5
root (hd2,1)
kernel /boot/kernel-FC5 root=/dev/sda2
initrd /boot/initrd-FC5

and try to change hd2 to something else (hd3?) if it fails.


All times are GMT -5. The time now is 08:07 PM.