Date: Tue, 28 Aug 2001 11:45:42 -0400 From: Joe Abley <jabley@automagic.org> To: freebsd-questions@freebsd.org Subject: mounting a slice from a NetBSD bios partition using FreeBSD 4.4-RC Message-ID: <20010828114542.B15182@buddha.home.automagic.org>
next in thread | raw e-mail | index | archive | help
I have a NetBSD FFS partition on a SCSI disk that I would like to mount from FreeBSD, but I can't figure out how to do it. Is there some fundamental difficulty here I should be aware of? The NetBSD filesystem on partition 2 was made using NetBSD 1.5.1 i386. goose# mount /dev/da0s2a /mnt mount: /dev/da0s2a on /mnt: incorrect super block goose# mount /dev/da0s2 /mnt mount: /dev/da0s2 on /mnt: incorrect super block goose# goose# uname -a FreeBSD goose.home.automagic.org 4.4-RC FreeBSD 4.4-RC #0: Mon Aug 27 22:24:43 EDT 2001 jabley@goose.home.automagic.org:/usr/obj/usr/src/sys/GOOSE i386 goose# fdisk ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=4462 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=4462 heads=255 sectors/track=63 (16065 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,(FreeBSD/NetBSD/386BSD) start 63, size 20980827 (10244 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 169,(NetBSD) start 20980890, size 20964825 (10236 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED> The old NetBSD disklabel was as follows (partition 2 appeared as slice h): # /dev/rsd0d: type: unknown disk: mydisk label: flags: bytes/sector: 512 sectors/track: 395 tracks/cylinder: 12 sectors/cylinder: 4740 cylinders: 15110 total sectors: 71687340 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] a: 104217 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 21) b: 1227660 104280 swap # (Cyl. 22 - 280) c: 20974437 63 unused 0 0 # (Cyl. 0*- 4424) d: 71687340 0 unused 0 0 # (Cyl. 0 - 15123*) e: 10243140 1331940 4.2BSD 1024 8192 16 # (Cyl. 281 - 2441) f: 2047680 11575080 4.2BSD 1024 8192 16 # (Cyl. 2442 - 2873) g: 7351740 13622760 4.2BSD 1024 8192 16 # (Cyl. 2874 - 4424) h: 50712840 20974500 4.2BSD 1024 8192 16 # (Cyl. 4425 - 15123*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010828114542.B15182>