DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default XP won't boot

next trouble, installing grub...

I have a dualboot machine, fresh install:

Code:
[pba@archangel /usr/home/pba]$ fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=581290 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=581290 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 102397617 (49998 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 244/ sector 63
The data for partition 2 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 102398310, size 102398310 (49999 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 204796620, size 381142125 (186104 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>
First partition is Free/PC-BSD, second the XP installation, third an NTFS data-disk.

My grub menu looks like this:

Code:
[pba@archangel /usr/home/pba]$ cat /boot/grub/menu.lst
title FreeBSD
root(hd0,0,a)
kernel /boot/loader

title WindowsXP
rootnoverify(hd0,1)
makeactive
chainloader +1
boot
This should be correct, right? I also swapped partitions back and forth, but no success.

When I choose WindowsXP in the menu, it pauses for half a second, then starts the bsd bootloader
Reply With Quote
  #2   (View Single Post)  
Old 1st October 2008
OldCoot OldCoot is offline
Real Name: Almon C. Turner
New User
 
Join Date: Jun 2008
Location: Mobile, Alabama USA
Posts: 8
Default

I have not done a dual-boot install recently, so things may have changed. However it has been my experience that Windows (any variety) gets huffy about booting if it is not the first OS on the disk. I have, in the past, had a multi-boot system with FreeBSD, Solaris, Linux and what-not installed on the same box and always had trouble unless Windows was on the first partition on the first drive. Also a third-party boot loader such as GAG was the only thing that I could get to work reliably. The FreeBSD boot loader (in the past, I don't know about now) should be installed on both disks if multi disks were involved. That (among other things) is why I went to GAG.
I believe that your boot loader is unable to find the Windows boot sector so is booting the first one it finds.
Reply With Quote
  #3   (View Single Post)  
Old 1st October 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

On my system the first partition is taken up by FreeBSD (80G) and Windows XP takes up the second -- Never had any problems.

Personally, I don't care much for grub, I used it for a short time some time ago when experimenting with CentOS, and I could boot Windows with it ... So it would guess it's a configuration on your end (?)

As OldCoot already mentioned, GAG is an excellent graphical boot loader, or you can use the FreeBSD bootloader if you want a simple bootloader that `just works'™.

Also post your boot.ini on your %SYSTEMDRIVE%.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 2nd October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default

this is boot.ini:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Micro soft Windows XP Professional" /noexecute=optin /fastdetect


I'll try boot0cfg and see what happens
Reply With Quote
  #5   (View Single Post)  
Old 2nd October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

I trust that the space between 'W S' at the end of line three, is a typo and not the actual file content?
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #6   (View Single Post)  
Old 3rd October 2008
PatrickBaer PatrickBaer is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 81
Default

I did cut&paste, so I honestly don't know

Yet, I used the NT bootloader for the setup and it works fine now. If I had know this is possible with XP, I'd have done so right from the beginning!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Silent Boot arch FreeBSD General 3 15th November 2008 07:00 PM
dual boot buba OpenBSD General 2 5th August 2008 11:32 AM
boot bug with USB enable nORKy FreeBSD Installation and Upgrading 5 12th June 2008 04:56 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM
Help me boot OpenSolaris again! Nobber Solaris 2 14th May 2008 10:49 PM


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick