Subject: Re: mbr for wd1
To: None <netbsd-help@NetBSD.org>
From: P Kozberski <pkoz@adam.com.au>
List: netbsd-help
Date: 09/17/2003 10:06:51
On Tue 16 Sep, P Kozberski wrote:
> On Mon 15 Sep, Manuel Bouyer wrote:
> > 
> > On Mon, Sep 15, 2003 at 03:06:20PM +0000, P Kozberski wrote:
> > > 
> > > When adding a second hd to a system is there a single mbr or 2 mbr's: one for
> > > each hd?
> > > 
> > > When I 'fdisk wd1' it indicated that wd1 has no disklabel. 
> > > 
> > > Wd1 contains a bootable XP os, does it need labelling?
> > 
> > If it doesn't have a NetBSD partition, no (this would erase the mbr) 
> If I can't disklabel wd1 how can I access it via a mount_ntfs?
> 
> # /dev/rwd1d:
> type: ESDI
> disk: ST340810A       
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 16383
> total sectors: 78165360
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0		# microseconds
> track-to-track seek: 0	# microseconds
> drivedata: 0 
> 
> 8 partitions:
> #        size   offset     fstype   [fsize bsize cpg/sgs]
>   d: 78165360        0     unused        0     0         # (Cyl.    0 - 77544)
>   e: 78140097       63       NTFS                        # (Cyl.    0*- 77519)
> 
> I'm confused between partition and label.
> Does the label live in the unused space before ntfs space?
> If I 'disklabel -i -I wd1e' and W "write" it should I then be able to
> mount_ntfs ? 
> > > I tried to label without losing data but it did not work.
> > > ie. copy ficticious disklabel created into /etc/disktab and use this
> > > to add a label to the hd.
>

-- Koz