how to install Windows on an existing partition?

Pietro Cerutti pietro.cerutti at gmail.com
Thu Mar 10 09:01:28 PST 2005


Hi List,
I need to install Windows on an existing partition of my laptop.
At the moment I have this label:
laptop# bsdlabel /dev/ad0s1
# /dev/ad0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   307200        0    4.2BSD        0     0     0
  b:  3072000   307200      swap
  c: 117210177        0    unused        0     0         # "raw" part,
don't edit
  d: 10485760  3379200    4.2BSD        0     0     0
  e: 41943040 34099200    4.2BSD        0     0     0
  f: 41167937 76042240    4.2BSD        0     0     0
  g: 20234240 13864960    4.2BSD     2048 16384 28552

a: /
b: swap
c: extended
d: /var
e: /usr
f: /home
g: where I want to install windows

I tried to format g: as FAT32, and I think it worked:
laptop# newfs_msdos /dev/ad0s1g
/dev/ad0s1g: 116981728 sectors in 14622716 FAT32 clusters (4096 bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf8 spt=63 hds=16 hid=4197991296
bsec=117210240 bspf=114240 rdcl=2 infs=1 bkbs=2

But when I run bsdlaben /dev/ad0s1 I have the same result as above, so
the g: partition is still formatted with 4.2BSD filesystem, so that
Windows won't see this partition.

How can I format this partition and make it visible to the Windows CD-ROM?

Thank you!


-- 
Pietro "Piter" Cerutti
<pietro.cerutti at gmail.com>
<piter at beansidhe.ch>

Beansidhe - SwiSS Death / Thrash Metal
<www.beansidhe.ch>

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"


More information about the freebsd-questions mailing list