Subject: Re: dualbooting WinXP with NetBSD
To: Brian A. Seklecki <lavalamp@spiritual-machines.org>
From: felix zaslavskiy <felix@students.poly.edu>
List: port-i386
Date: 08/03/2003 11:51:34
On 03 Aug 2003 10:51:18 -0400
"Brian A. Seklecki" <lavalamp@spiritual-machines.org> wrote:

> On Sat, 2003-08-02 at 19:07, felix zaslavskiy wrote:
> > I stalled NebBSD-current on a machine that already had WinXP installed.
> > 
> > WinXP Pro was installed on FAT32 on partition1 while NetBSD got
> > installed on partition2
> > 
> > I installed the NetBSD bootloader and boostmeny.
> > I can mount the FAT32 partition from NetBSD.
> > I run fsck on it and it was clean.
> > 
> > I can also boot to NetBSD fine but the troubles start when trying to
> > boot to WinXP.
> > 
> > WinXP start to load and then goes to a blue screen and the mouse appears
> > with teh Windows Logo and then nothing it just sits there does not go
> > into the login screen.
> 
> In order to help, we need you to paste the output of fdisk(8) and
> disklabel(8).  Boot off install media and manually copy it if you have
> to.

I got the info from running the working installed netbsd.
Here is the output:

Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 16383, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 60058656

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 60058656

Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
    bootmenu: Windows
    start 63, size 40965687 (20003 MB, Cyls 0/1/1-2550), Active
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1022, head 254, sector 63
1: NetBSD (sysid 169)
    bootmenu: NetBSD
    start 40965750, size 19092906 (9323 MB, Cyls 2550-3738/122/1)
        beg: cylinder 1022, head 254, sector 63
        end: cylinder 1022, head 254, sector 63
2: <UNUSED>
3: <UNUSED>
Bootselector enabled, timeout 5 seconds.
# /dev/rwd0d:
type: unknown
disk: mydisk
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 60058656
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:  18829440  40965750     4.2BSD   1024  8192     0   # (Cyl.  40640*-  59320*)
 b:    263466  59795190       swap                      # (Cyl.  59320*-  59581)
 c:  19092906  40965750     unused      0     0         # (Cyl.  40640*-  59581)
 d:  60058656         0     unused      0     0         # (Cyl.      0 -  59581)
 e:  40965687        63      MSDOS                      # (Cyl.      0*-  40640*)


> 
> > 
> > Is anyone familiar with this problem ? I am puzzled because since NetBSD
> > did not touch windows partition what can be the problem ?
> -- 
> 
> Thanks,
> 	-Brian
> 
> NOTE: When replying to a mailing list post, please be sure to reply to
> the /list/ and cc: or bcc: myself as I am unable to promise a timely
> response.
>