From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 16:54:46 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 52E7616A4CE for ; Mon, 22 Dec 2003 16:54:46 -0800 (PST) Received: from mail.prosoft.com.pl (ns.prosoft.com.pl [213.25.91.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id B380343D50 for ; Mon, 22 Dec 2003 16:54:44 -0800 (PST) (envelope-from jarek@eko.net.pl) Received: from wa35m26.eko.net.pl ([192.168.78.26]) by mail.prosoft.com.pl with esmtp (Exim 4.22) id 1AYapK-0002oO-Ps for freebsd-questions@freebsd.org; Tue, 23 Dec 2003 01:55:10 +0100 From: Jaroslaw Nozderko To: freebsd-questions@freebsd.org Content-Type: text/plain Organization: Message-Id: <1072140766.1057.20.camel@skorpion> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 23 Dec 2003 01:52:46 +0100 Content-Transfer-Encoding: 7bit Subject: Re: Dual-boot does not work with 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: Tue, 23 Dec 2003 00:54:46 -0000 FreeBSD 5.1-RELEASE RedHat Linux 9.0 Hi, I have such problem: RedHat Linux 9.0 (Shrike) and FreeBSD 5.1-RELEASE together. I'd like to have working dual-boot with GRUB. # fdisk -l Disk /dev/hda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 65 522081 83 Linux /dev/hda2 66 3889 30716280 83 Linux /dev/hda3 * 3890 7713 30716280 a5 FreeBSD /dev/hda4 7714 14593 55263600 f Win95 Ext'd (LBA) /dev/hda5 7714 10263 20482843+ 83 Linux /dev/hda6 10264 11793 12289693+ 83 Linux /dev/hda7 11794 13068 10241406 83 Linux /dev/hda8 13069 14088 8193118+ 83 Linux /dev/hda9 14089 14219 1052226 82 Linux swap /dev/hda10 14220 14350 1052226 83 Linux FreeBSD partition is visible as hda3 under Linux and ad0s3 under FreeBSD. It has 3 slices: swap 1 GB ad0s3b /home1 1 GB ad0s3d / 28 GB ad0s3a After reading GRUB documentation, I've prepared the following entry in grub.conf: # FreeBSD title FreeBSD 5.1-RELEASE root (hd0,2,a) kernel /boot/loader Despite GRUB doc, I'm not sure I understand this format. According to http://www.gnu.org/software/grub/manual/html_node/Configuration.html#Configuration (hd0,2,a) means "partition of the third PC slice of the first hard disk". Is "a" a slice symbol and "2" is a partition number (starting with 0) on hd0 ? I've got the following error: Filesystem type unknown, partition type 0xa5 Error 17: Cannot mount selected partition Does GRUB have some problems with FreeBSD partition ? This is probably some stupid mistake. Could anyone give me some advice ? Thanks for any help, Jarek -----Original Message----- Hi, I to have a multi boot system with linux and freebsd and windows. GRUB is my boot loader. I did not chain load FreeBSD. This is my menu file for GRUB default=1 timeout=10 splashimage=(hd0,4)/grub/splash.xpm.gz title Red Hat Linux 9 (2.4.20-8) root (hd0,4) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ initrd /initrd-2.4.20-8.img title Windows 2000 rootnoverify (hd0,0) chainloader +1 title FreeBSD 4.8 root (hd0,3,a) kernel /boot/loader And my fdisk -l Device Boot Start End Blocks Id System /dev/hda1 1 892 7164958+ 7 HPFS/NTFS /dev/hda2 893 956 514080 b Win95 FAT32 /dev/hda3 957 2522 12578895 5 Extended /dev/hda4 * 2523 4865 18820147+ a5 FreeBSD /dev/hda5 957 969 104391 83 Linux /dev/hda6 970 2457 11952328+ 83 Linux /dev/hda7 2458 2522 522081 82 Linux swap This works fine for me. I to am a beginner and still gathering info Hope it helps -sundeep