From owner-freebsd-hackers@FreeBSD.ORG Wed May 19 04:06:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2969E16A4CE for ; Wed, 19 May 2004 04:06:11 -0700 (PDT) Received: from multiplay.co.uk (www1.multiplay.co.uk [212.42.16.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7180943D2F for ; Wed, 19 May 2004 04:06:10 -0700 (PDT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [212.42.16.7]) (MDaemon.PRO.v7.1.0.R) with ESMTP id md50000219347.msg for ; Wed, 19 May 2004 11:41:53 +0100 Message-ID: <008401c43d8e$1da1a640$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "db" , References: <200405191241.50871.db@traceroute.dk> Date: Wed, 19 May 2004 11:43:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Processed: multiplay.co.uk, Wed, 19 May 2004 11:41:53 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Wed, 19 May 2004 11:41:55 +0100 Subject: Re: Grub and FreeBSD 4.9 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 11:06:11 -0000 chainloader is your friend here I found as u correctly state it doesn't seem to support ffs drives even though the devs seem to say it does. Steve ----- Original Message ----- From: "db" To: Sent: Wednesday, May 19, 2004 11:41 AM Subject: Grub and FreeBSD 4.9 > Hi all > > I'm trying to get grub working on my FreeBSD 4.9 test-box. So far I've done: > cd /usr/ports/sysutils/grub > make install clean > mkdir /boot/grub > cp /usr/local/share/grub-0.94/i386-freebsd/* /boot/grub/ > In /boot/grub I created a fil called menu.lst and wrote this in it: > default 0 # By default, boot the first entry. > timeout 5 # Boot automatically after 30 secs. > > title FreeBSD > root (hd0,0) > kernel /boot/loader > > My box is just a test box with one harddisk, so I've made one huge / and then > given about 256 mb to swap. > > I've read that the safest way to install grub is by making a bootdisk, boot > and run setup, so I made the disk: > # cd /boot/grub > # dd if=stage1 of=/dev/afd0 bs=512 count=1 > 1+0 records in > 1+0 records out > # dd if=stage2 of=/dev/afd0 bs=512 seek=1 > 153+1 records in > 153+1 records out > And I booted on it just fine, but I can't install grub because it by default > dones't support ffs drives. I know there is a ffs_stage1_5 in /boot/grub, but > how do I use it? > > Anyway I rebooted in FreeBSD and ran "grub" and made the install > successfully, but then booting the system again I get an "error 18". So how > do I fix it? > > I've also tried getting network support built into grub, but I can't figure > out which driver to use (FreeBSD use de0), any ideas? > > Best regards > db > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk.