Well, anything like 'hdc' is irrelevant, then.  As far as grub is
concerned, it's 'hd0'. To Linux, it's /dev/hda.  Do you have FreeBSD
installed on the 1st partition of that drive, with /boot, swap, and /
on the 2nd, 3rd, and 4th, respectively?  If you have /boot on the 2nd
partition of the drive, the salient part of grub.conf would be something like:

root (hd0,1)
kernel (hd0,1)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hda4
initrd (hd0,1)/boot/initrd-2.4.20-gentoo-r7

All this is contingent on your drive being partitioned as you implied
earlier.  As root, run fdisk -l, and send the output.


On 09:56 Sun 12 Oct     , Monah Baki wrote:
> I have just 1 drive.
> 
> 
> On Sun, 12 Oct 2003 05:58:37 -0400, Barry Marler wrote
> > You'll have problems. Assuming Linux is on partitions 2,3, and 4 of 
> > your third hard drive (as you detail, below), your Linux boot 
> > partition is (hd2,1).  You're telling grub that your kernel is on 
> > hda1 and / is on hdc4.  How many drives do you have?
> > 
> > On 02:48 Sun 12 Oct     , Monah Baki wrote:
> > > Thanks.
> > > 
> > > Now my disk layout is:
> > > 
> > > hdc1 Freebsd
> > > hdc2 Linux (boot)
> > > hdc3 Linux (swap)
> > > hdc4 Linux (root)
> > > 
> > > I'm planning on using grub
> > > 
> > > If my grub.conf was:
> > > 
> > > title=genkernel
> > > root (hd0,0)
> > > kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hdc4
> > > initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7
> > > 
> > > title=freebsd
> > > root (hd0,1)
> > > kernel /boot/loader
> > > 
> > > I should have no problems, correct??
> > > 
> > > Thanks
> > 
> > -- 
> > Barry Marler
> > Plant Genome Mapping Laboratory
> > University of Georgia
> > Room 229, Center for Applied Genetic Technologies
> > 111 Riverbend Rd.
> > Athens, GA 30602
> > 706.583.0164 [office]
> > 706.583.0160 [fax]
> > http://www.plantgenome.uga.edu
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> 
> --
> [EMAIL PROTECTED] mailing list
> 

-- 
Barry Marler
Plant Genome Mapping Laboratory
University of Georgia
Room 229, Center for Applied Genetic Technologies
111 Riverbend Rd.
Athens, GA 30602
706.583.0164 [office]
706.583.0160 [fax]
http://www.plantgenome.uga.edu

--
[EMAIL PROTECTED] mailing list

Reply via email to