Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 20:28:28 +0100
From:      Hanspeter Roth <hampi@rootshell.be>
To:        freebsd-questions@freebsd.org
Subject:   Re: I can not boot my FreeBSD-5.2 partition, please help
Message-ID:  <20040116192828.GA6326@gicco.homeip.net>
In-Reply-To: <200401161230.52275.jfrherve@ing.uc3m.es>
References:  <200401161230.52275.jfrherve@ing.uc3m.es>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Jan 16 at 12:30, Juan Rodriguez Hervella spoke:

> Hello,
> 
> I've got a 40 GBytes hard disk on an old Pentium MMX 266 MHz.
> The first time I plugged it into the motherboard my BIOS didn't recognize
> the drive, but fortunately there is a jumper that reduces the size of the
> disk to 32 GBytes, and that's enough for my BIOS at this moment.
> 
> So I've got something like this:
> 
> 10 GBytes for Windows 2000
> 10 GBytes for Linux
> 10 GBytes for FreeBSD-5.2
> 
> The big problem is that the FreeBSD boot manager that I've
> got installed on my MBR is only able to boot the Windows partition.

Hello Juan,

I assume that you have installed all OSes on primary partitions, if
not you should mention it.
FreeBSD's bootmanager has an option `packet' which is required to
boot from cylinder > 1023. Unfortunately it is set off by default.

There are two (or more) possibilities to recover. 

1. install the FreeBSD bootmanager into MBR and Lilo/Grub into the
   Linux partition (/dev/hda2). In order to install the FreeBSD
   bootmanager with the packet option you should boot the FreeBSD
   recovery disk. This is the second disk. And then choose Fixit
   from the install menu. After you have the root prompt issue the
   following command:

   boot0cfg -vB -o packet /dev/ad0

   (This assumes you have a IDE disk.)

2. launch the Linux recovery CD/floppy and setup Lilo or Grub
   accordingly.
   You would need to install it in the MBR (/dev/hda) and create
   entries for Windows and FreeBSD as well.

-Hanspeter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040116192828.GA6326>