From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 13:31:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE6F16A4BF for ; Wed, 3 Sep 2003 13:31:07 -0700 (PDT) Received: from pd6mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC6843FF7 for ; Wed, 3 Sep 2003 13:31:04 -0700 (PDT) (envelope-from desmond.lee@shaw.ca) Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-ser.prod.shaw.ca [10.0.141.108])2003)) with ESMTP id <0HKN00FBGNNRYI@l-daemon> for questions@freebsd.org; Wed, 03 Sep 2003 14:31:03 -0600 (MDT) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKN005ORNNR9L@l-daemon> for questions@freebsd.org; Wed, 03 Sep 2003 14:31:03 -0600 (MDT) Received: from croydon (h24-83-94-81.vs.shawcable.net [24.83.94.81]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKN00MGHNNHRJ@l-daemon> for questions@freebsd.org; Wed, 03 Sep 2003 14:31:03 -0600 (MDT) Date: Wed, 03 Sep 2003 13:30:53 -0700 From: Desmond Lee In-reply-to: <20030903194721.GA4033@webserver> To: 'Joshua Oreman' Message-id: <000c01c3725a$48a127d0$6501a8c0@croydon> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.2616 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal cc: questions@freebsd.org Subject: RE: adding freebsd boot to grub X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 20:31:08 -0000 Hey Josh Thanks for your help. I just reinstalled freeBSD 4.8 all over again (I think it's cause some how it got messed up). I then typed in the following at the grub command line. grub> rootnoverify (hd1,0) grub> chainloader +1 grub> boot -or- (this one's better) grub> root (hd1,0,a) grub> kernel /boot/loader grub> boot It's pretty much the same thing that you said, except it only works if you change the 1 to a zero for the (hd1, 0, a) instead of (hd1,1,a). I'm guessing that you can also modify the grub to have an extra option in there that does the commands that you specified above. All you have to do is modify the file the grub looks to when trying to find out what os' are present in the hard disks? Thanks again. Desmond -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Joshua Oreman Sent: Wednesday, September 03, 2003 12:47 PM To: Desmond Lee Cc: questions@freebsd.org Subject: Re: adding freebsd boot to grub On Wed, Sep 03, 2003 at 12:16:39PM -0700 or thereabouts, Desmond Lee wrote: > Hello > > I was originally running win98 and freebsd4.8 on a box with 2 hard > drives. 1 disk had win98 and the other had freebsd. Everything worked > fine. But I then installed redhat 9.0 on the first disk with win 98. Now > the Grub only knows how to boot dos and linux, but no freebsd. There is > a article about this on the freebsd page: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/ch3.html. > This is almost the same scenario as me. However, I do not want to do a > complete install of all 3 operating systems. Is it possible to just > reinstall freebsd on my 2nd hard drive again and get grub to recognize > it is there? See what "DOS" and "Linux" do. If one of those actually boots FreeBSD, rename it. If not, do this at the grub> prompt (assuming your FBSD slice is (hd1,1) in GRUB): grub> rootnoverify (hd1,1) grub> chainloader +1 grub> boot -or- (this one's better) grub> root (hd1,1,a) grub> kernel /boot/loader grub> boot -- Josh _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"