From owner-freebsd-questions Tue Aug 8 16:13:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cmpharm.ucsf.edu (cmpharm.ucsf.edu [128.218.67.18]) by hub.freebsd.org (Postfix) with ESMTP id 067C737B851 for ; Tue, 8 Aug 2000 16:13:29 -0700 (PDT) (envelope-from steve@cmpharm.ucsf.edu) Received: from piglet.ucsf.edu (steve@piglet.ucsf.edu [128.218.67.20]) by cmpharm.ucsf.edu (8.10.1/8.10.1) with ESMTP id e78NCc112907 for ; Tue, 8 Aug 2000 16:12:38 -0700 (PDT) Received: (from steve@localhost) by piglet.ucsf.edu (8.9.3/8.9.3) id QAA11714 for freebsd-questions@FreeBSD.ORG; Tue, 8 Aug 2000 16:13:27 -0700 (PDT) Date: Tue, 8 Aug 2000 16:13:27 -0700 From: Steve Sizemore To: freebsd-questions@FreeBSD.ORG Subject: Re: Multiboot linux + freebsd on two drives Message-ID: <20000808161327.A11083@cmpharm.ucsf.edu> References: <20000727134824.C39397@cmpharm.ucsf.edu> <20000801093235.C87514@cmpharm.ucsf.edu> <20000801173350.CFFA7200A@nil.science-factory.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000801173350.CFFA7200A@nil.science-factory.com>; from marc.vanwoerkom@science-factory.com on Tue, Aug 01, 2000 at 07:33:50PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, Marc - I'm now a grub convert. Even grub wasn't entirely straightforward, but I now have three systems which can dual boot either FreeBSD or linux. On Tue, Aug 01, 2000 at 07:33:50PM +0200, Marc van Woerkom wrote: > > Does anyone know how to make FreeBSD on /dev/da1s1 actually bootable? > > I use this together with the grub boot loader - I gave up on LILO.. > First partition is Windows 2000, second FreeBSD, third Linux (Reiser FS), > fourth FAT32 partition for file sharing. Just in case anyone else ever faces this, I'll document what I had to do, for the mailing list archives. Linux is installed on the first SCSI disk, and FreeBSD on the second. While running FreeBSD (of course!), 1. Install the grub port, and copy the appropriate files from /usr/local/share/grub/i386-freebsd to /boot/grub. 2. Put the following menu (edited from Marc's) into /boot/grub/menu.lst: timeout 10 color white/green blue/green default 0 title FreeBSD root (hd1,a) kernel /boot/loader title Linux kernel (hd0,0)/boot/vmlinuz root=/dev/sda1 title root (fd0) chainloader +1 3. Run grub (If you run grub from FreeBSD, as opposed to a floppy boot disk, the Enter key doesn't work. You need to press ^J instead.) grub> root (hd1,a) grub> find /boot/grub/stage1 grub> setup (hd0) grub> quit 4. Reboot, and it WORKS! Thanks again, Marc, for the pointer to grub, and thanks to others who tried to help with BootEasy and Lilo. Steve -- ----------------------------------------------#-----#--#####--------------- # # # # Steve Sizemore # # # Dept. of Cellular and Molecular Pharmacology # # # Box 0450, Room HSE-1285 # # # University of California Medical Center # # # # 513 Parnassus Avenue ##### ##### ##### ####### San Francisco CA 94143-0450 # # # # # steve@cmpharm.ucsf.edu ##### ##### (415) 476-6987 FAX: (415) 476-6515 # # # # # -------------------------------------------------------------#####--#------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message