mounting ext2fs partitions on FBSD7 ( third time a charm?)

Roland Smith rsmith at xs4all.nl
Sat Jul 5 08:59:45 UTC 2008


On Sat, Jul 05, 2008 at 05:46:09AM -0300, Gonzalo Nemmi wrote:
> On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote:
> > Hey,
> >
> > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
> > > If you did, at least I'd know that it _is_ possible :s
> >
> > It is possible, although I haven't used this on FreeBSD 7.0 yet (only on
> > 5.x and 6.x releases).
> >
> > I'd also try this:
> >
> > mkdir /mnttest
> > mount -t ext2fs /dev/ad0s8 /mnttest
> > ls /mnttest
> > file /mnttest
> > ls -la / | grep mnttest
> >
> > and maybe also:
> >
> > fdisk /dev/ad0
> >
> > Bye,
> > Nejc
> 
> No luck :(
> Exactly the same results ...
> 
> Just in case you can see something that I don't, here you go:
> 
> root at inferna:~ # fdisk /dev/ad0
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=387621 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=387621 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 102398247 (49999 Meg), flag 0
>         beg: cyl 0/ head 1/ sector 1;
>         end: cyl 1023/ head 254/ sector 63

Looks like you should try mount -t ext2fs /dev/ad0s1 /mnt

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080705/2b0c3726/attachment.pgp


More information about the freebsd-questions mailing list