Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2003 22:35:42 +0200
From:      Daan Goedkoop <daan@daang.ath.cx>
To:        freebsd-questions@freebsd.org
Subject:   Mount NetBSD partition
Message-ID:  <200308022235.42665.daan@daang.ath.cx>

next in thread | raw e-mail | index | archive | help
Hello,

On my IDE disk, I have two disk labels, one of FreeBSD and one from NetBSD. 
Now that I want to change to NetBSD, I would like to copy my data from the 
NetBSD /home partition to FreeBSD.

However, only a device /dev/ad1s3 exists, with which I can only mount the / of 
NetBSD. Does anyone know what I am doing wrong?

If I look at the fdisk output, can it possibly be something like that NetBSD 
decided to start it's slices at 0-based locations while FreeBSD expects them 
at 1-based ones?

Thanks in advance,
	Daan.

The output of fdisk:

******* Working on device ad1 *******
parameters extracted from in-core disklabel are:
cylinders=65531 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=65531 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 131 (0x83),(Linux native)
    start 63, size 6297417 (3074 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 391/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 53110890, size 12932325 (6314 Meg), flag 80 (active)
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 169 (0xa9),(NetBSD)
    start 6329610, size 26700030 (13037 Meg), flag 0
        beg: cyl 394/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 5 (0x05),(Extended DOS)
    start 33029640, size 20081250 (9805 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 254/ sector 63



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308022235.42665.daan>