From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 03:13:15 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 1B50E16A4BF for ; Thu, 4 Sep 2003 03:13:15 -0700 (PDT) Received: from mail.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB4BC43FF9 for ; Thu, 4 Sep 2003 03:13:13 -0700 (PDT) (envelope-from judmarc@fastmail.fm) Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id EC08E16EDB1; Thu, 4 Sep 2003 06:11:43 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Thu, 04 Sep 2003 06:11:44 -0400 X-Epoch: 1062670303 X-Sasl-enc: EKgR1Q/M8JtYbJSw1LqmAA Received: from sparky (dialup-67.74.84.241.Dial1.Philadelphia1.Level3.net [67.74.84.241]) by www.fastmail.fm (Postfix) with ESMTP id 3959916D7C0; Thu, 4 Sep 2003 06:11:39 -0400 (EDT) To: Desmond Lee , 'Joshua Oreman' References: <000c01c3725a$48a127d0$6501a8c0@croydon> Message-ID: From: Jud Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 04 Sep 2003 06:11:37 -0400 In-Reply-To: <000c01c3725a$48a127d0$6501a8c0@croydon> User-Agent: Opera7.20/Win32 M2 build 3082 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: Thu, 04 Sep 2003 10:13:15 -0000 On Wed, 03 Sep 2003 13:30:53 -0700, Desmond Lee wrote: > 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. That's correct. Find and modify (or make) the menu.lst file (that's 'lst' as in abbreviation for "list"). In fact, it's a very good idea to read Grub's online documentation, which covers this pretty thoroughly. And yes, the second version is better. There's no need for the chainloader or rootnoverify stuff when booting FreeBSD (again, this is covered in the Grub documentation). Jud > -----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" > > > _______________________________________________ > 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"