LinuxQuestions.org
Review your favorite Linux distribution.
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 11-20-2005, 07:17 PM   #1
rickbman
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Question Dual Boot Ubuntu, Suse, Mandriva & Fedora


Hi,

I have a pc with a Pentium III with one IDE 40 GB hard disk and one SCSI 9 GB drive.

I've installed Suse, Mandriva, Ubuntu 5.10 & Fedora Core 4, in that order on the pc. Suse Mandriva & Ubuntu are on the IDE hard disk with separate partitions. They all work fine. (Actually after I installed Suse & Mandriva, Mandriva messed up the boot loader, but then Ubuntu's install fixed it.)

When I installed Fedora Core, I chose not to install GRUB as it was already installed in the boot partition of the IDE drive. Fedora installed fine on the SCSI drive but GRUB doesn't have any information for it to boot to it.

I can get to the GRUB configuration file from within UBUNTU but I don't know what syntax to use to add Fedora Core 4 to the menu. First of all, I don't know how to find out what the Kernal # is for fedora core??? Secondly I'm not sure how to specify the SCSI drive, partition, etc.

Thanks for any help you can give me on this.

Below is part of my menu.lst file which shows excerpts for booting Ubuntu, Mandriva & Suse:

title Ubuntu, kernel 2.6.12-9-386
root (hd0,3)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda4 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Mandriva linux (on /dev/hda5)timeout X_seconds
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 ro acpi=ht resume=/dev/hda6
splash=silent
initrd /boot/initrd.img
savedefault
boot

title SUSE LINUX 10.0 (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 vga=0x31a selinux=0
resume=/dev/hda1 splash=silent showopts
initrd /boot/initrd
savedefault
boot
 
Old 11-20-2005, 09:27 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,555

Rep: Reputation: 182Reputation: 182
"First of all, I don't know how to find out what the Kernal # is for fedora core??? Secondly I'm not sure how to specify the SCSI drive, partition, etc."

The first thing that you need to know is the address of the drive and partition where you installed Fedora. You had to know that in order to tell the Fedora installer where to installl Fedora. Then boot Ubuntu, log in as root, and mount the Fedora partition. You mount Fedora with two commands that look something like this:

mkdir /plato
mount -t ext3 /dev/sda1 /plato

Then you can find out the name of your kernel and initrd with:

ls -l /plato/boot

Then edit your Ubuntu /boot/grub/menu.lst. Duplicate the SuSE title section and change the duplicate title section to a Fedora title section.

-----------------------------
Steve Stites
 
Old 11-20-2005, 11:03 PM   #3
rickbman
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Steve, your instructions were right on. In fact I was able to use your exact syntax to mount my drive. You've obviously been doing this for a while.

thanks again -Rick
 
Old 11-26-2005, 04:05 PM   #4
dhlw
LQ Newbie
 
Registered: May 2005
Location: Brazil
Posts: 23

Rep: Reputation: 15
After endless unsuccessful attempts to complete Ubuntu 5.10 Install CD install -- intention is be able to dual-boot with WinXP Home Ed. on a HP Pavilion notebook -- this newbie wonders if anyone can help me complete the installation. Right now, when finish editing and saving changes in GRUB menu.lst to root (hd0,0) in lieu of Ubuntu install's three times root (hd1,0) and altering Windows root from (hd0,1) to (hd1,1) in /boot/grub/menu.lst, and then exit shell as penultimate step in Ubuntu install at point when Ubuntu ejects CD-ROM and am expecting a final reboot into Ubuntu for first login, all that happens is re-boots again Windows XP HE SP2.
GRUB, that I take care to avoid installing to Windows IDE C: drive ever since messed up MBR on first two attempts with drastic consequences, I type during install to put it in /dev/sda

Quote:
Originally posted by jailbait
"... Then boot Ubuntu, log in as root, and mount the Fedora partition. You mount Fedora with two commands that look something like this:

mkdir /plato
mount -t ext3 /dev/sda1 /plato

Then you can find out the name of your kernel and initrd with:

ls -l /plato/boot

Then edit your Ubuntu /boot/grub/menu.lst. Duplicate the SuSE title section and change the duplicate title section to a Fedora title section.

-----------------------------
Steve Stites
My setup is 30GB notebook IDE disk with /dev/hda1 hidden default HP Factory Software FAT16 partition and /dev/hda2 WinXP NTFS partition. This 2002 notebook BIOS (never updated by HP) offers no external Firewire or USB removable disk drive boot options. I leave USB 2.0 Plextor DVD Recorder on and connected through Belkin PCMCIA USB 2.0 Cardbus notebook card, as also HP Mitsumi 3-1/2" floppy drive thru docked notebook USB 1.1 port.

Ubuntu 5.10 installed on external Firewire Seagate 160GB disk using guided partitioning and I can read /etc/fstab when running subsequent Ubuntu Live CD session:
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/sdb /media/usb0 auto rw,user,noauto 0 0
/dev/hda2 /Windows ntfs defaults 0 0


Seagate /dev/sda per Live CD session /media/ieee1394disk/boot/grub/menu.lst shows after my four edits mentioned in first paragraph above

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-9-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

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

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
title Microsoft Windows XP Home Edition
root (hd1,1)
savedefault
chainloader +1


Every time I run a grub> command using third-party sources like GRUB4DOS it tells me it cannot find grub/stage1 anywhere. I've tried editing grub locations all to no avail.

Here are the eight modules I add to recompile initrd.img hoping Ubuntu can see the external Firewire Seagate disk:

sd_mod
scsi_mod
sbp2
ieee1394
ohci1394
raw1394
ehci-hcd
usb-storage

Finally here's the kernel and initrd data found on external Firewire disk
/dev/sda external Firewire Seagate disk accessed w/ Ubuntu 5.10 Live CD
====================================================
ubuntu@ubuntu:~$ sudo ls -l /media/ieee1394disk/boot
total 7392
-rw-r--r-- 1 root root 239770 2005-10-10 13:16 abi-2.6.12-9-386
-rw-r--r-- 1 root root 64135 2005-10-10 12:12 config-2.6.12-9-386
drwxr-xr-x 2 root root 4096 2005-11-26 22:26 grub
-rw-r--r-- 1 root root 5017476 2005-11-25 16:20 initrd.img-2.6.12-9-386
-rw-r--r-- 1 root root 94664 2005-06-30 15:49 memtest86+.bin
-rw-r--r-- 1 root root 897159 2005-10-10 13:16 System.map-2.6.12-9-386
-rw-r--r-- 1 root root 1206555 2005-10-10 13:16 vmlinuz-2.6.12-9-386

====================================================

A big thanks to anyone who can help.

Last edited by dhlw; 11-26-2005 at 07:01 PM.
 
  


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
Dual boot suse and mandriva TigerLinux Suse/Novell 1 10-13-2005 02:15 AM
Dual boot Xp & Mandriva on seperate drive MetalMickey Linux - Newbie 12 10-05-2005 10:41 AM
Can I dual boot XP and Fedora Core 4 as easy as with Mandriva? futurist Fedora - Installation 16 09-22-2005 06:31 PM
Fedora & SuSE (and maybe others) dual boot - how? Napalm Llama Linux - Distributions 2 04-04-2005 11:29 AM
Fedora & SuSE dual boot question herkdrvr Fedora 0 10-26-2004 03:13 AM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration