repair a FreeBSD install

Garrett Cooper youshi10 at u.washington.edu
Sun Jun 3 21:50:24 UTC 2007


Manolis Kiagias wrote:
> Chad Perrin wrote:
>   
>> On Sun, Jun 03, 2007 at 11:19:39PM +0300, Manolis Kiagias wrote:
>>   
>>     
>>> You can use the grub bootloader to load freebsd (assuming that nothing
>>> is damaged in the freebsd slice itself, and I believe it is intact in
>>> your case)
>>> It's been some time since I've done this myself (I am no longer dual
>>> booting FreeBSD on this machine), but I'll try to be as accurate as
>>> possible.
>>> Start your system, when it gets to the grub loader press "c" to get to
>>> the grub command line.
>>> Do you know what your freebsd slice is? Even if you don't, you can get
>>> this info from fdisk -l from debian. Or you could try searching in the
>>> command line.
>>> Type something like:
>>>
>>> root (hd0,2,a)
>>>     
>>>       
>> GRUB doesn't recognize the partition type for some reason.  There's
>> pretty clearly something wrong with the partition, I think.
>>
>>   
>>     
> Is it possible that somehow the partition type was changed?
> Try as root an fdisk -l from your debian installation.
> Your freebsd should show up as partition type a5 (BSD/386)
> Otherwise you could use fdisk to fix this.
And for that you need a fixit floppy / LiveCD :).
-Garrett


More information about the freebsd-questions mailing list