Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 12:58:21 -0800
From:      "Peter Ong" <peter@haloflightleader.net>
To:        <stable@FreeBSD.ORG>, <freebsd-hardware@FreeBSD.ORG>
Subject:   Mounting a Linux HDD Extended partition.
Message-ID:  <00e101c18cbd$b8bebca0$0101a8c0@haloflightleader.net>

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

I'm trying to mount a Linux HDD.  It's divided into Linux partitions, 1, 2,
5 and so on...

The first partition /, and then the 2 is an Extended parititon.  The 5 is a
logical partition, and there are 6, 7, and 8 which are also logical
partitions.

I'm trying to mount #5 and 6, 7, and 8 give the same thing:

[11:12][root@saint:/]# mount -t ext2fs -r /dev/ad2s5 /mnt
ext2fs: /dev/ad2s5: No such file or directory

But this is what I get.

So, I check out the info on fdisk:

******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=3736 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=3736 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 131,(Linux filesystem)
    start 63, size 48132 (23 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 2/ head 254/ sector 63
The data for partition 2 is:
sysid 5,(Extended DOS)
    start 48195, size 59970645 (29282 Meg), flag 0
        beg: cyl 3/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
~

According to the Handbook, FreeBSD has support for BIOS extended/logical
partitions.  But FreeBSD only shows that this is a Primary and an Extended
partition here, not the logical partitions.  Does this mean that FreeBSD
does not have support for such partitions?  Is there a way for me to see the
data in those partitions from BSD?

My Linux partitions are always divided with only small primary partition for
the /, and then the rest are logical partitions inside the extended.
Thanks.

Peter




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e101c18cbd$b8bebca0$0101a8c0>