Boot problems afther reinstall windows

Alex de Kruijff freebsd at akruijff.dds.nl
Tue Mar 15 05:11:05 PST 2005


Windows was able to boot afhter I installed it. I never touched
boot.ini. The content would have been:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn

I now use a different solution. Instead of the freebsd bootloader
(boot0). I now use the windows bootloader. I copied boot1 to
c:\freebsd.bin. Then modified windows boot.ini as follow:

[boot loader]
timeout=10
default=c:\freebsd.bin
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect /NoExecute=OptIn
c:\freebsd.bin="FreeBSD 5"

This works for me. I still wonder why the stuff below didn't work. In
the past I would do this with /stand/sysinstall. But I don't dare to do
this with FreeBSD 5 because of drive geometric warnings.


On Tue, Mar 15, 2005 at 02:12:46AM +0000, Jason Henson wrote:
> What is in your windows boot.ini file?
> 
> 
> On 03/14/05 11:13:49, Alex de Kruijff wrote:
> >Hi,
> >
> >I've recently reinstalled windows. Windows removes the MBR as you
> >know.
> >So ather I installed it I set partion 1 (FreeBSD) active and  
> >rebooted.
> >Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now
> >I
> >get the orginal screen afther booting. Only it beeps when I press F2
> >(Windows). I can mount the second partion on FreeBSD, but cant boot.
> >Any
> >ideas to what I'm missing here?
> >
> ># fdisk
> >******* Working on device /dev/ad0 *******
> >parameters extracted from in-core disklabel are:
> >cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> >Figures below won't work with BIOS for partitions not in cyl 1
> >parameters to be used for BIOS calculations are:
> >cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)
> >
> >Media sector size is 512
> >Warning: BIOS sector numbering starts with sector 1
> >Information from DOS bootblock is:
> >The data for partition 1 is:
> >sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> >    start 63, size 20971377 (10239 Meg), flag 80 (active)
> >        beg: cyl 0/ head 1/ sector 1;
> >        end: cyl 1023/ head 104/ sector 63
> >The data for partition 2 is:
> >sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
> >    start 20980890, size 20948760 (10228 Meg), flag 80 (active)
> >        beg: cyl 1023/ head 0/ sector 1;
> >        end: cyl 1023/ head 254/ sector 63
> >The data for partition 3 is:
> >sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> >    start 41942880, size 446454288 (217995 Meg), flag 80 (active)
> >        beg: cyl 1023/ head 210/ sector 1;
> >        end: cyl 1023/ head 80/ sector 63
> >The data for partition 4 is:
> ><UNUSED>
> >
> >--
> >Alex
> >
> >Please copy the original recipients, otherwise I may not read your
> >reply.
> >WWW: http://www.kruijff.org/alex/FreeBSD/
> >_______________________________________________
> >freebsd-questions at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "freebsd-questions- 
> >unsubscribe at freebsd.org"
> >
> >
> >
> >

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/


More information about the freebsd-questions mailing list