Date: 23 Dec 2003 01:52:46 +0100 From: Jaroslaw Nozderko <jarek@eko.net.pl> To: freebsd-questions@freebsd.org Subject: Re: Dual-boot does not work with GRUB Message-ID: <1072140766.1057.20.camel@skorpion>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1072140766.1057.20.camel>