From owner-freebsd-hardware Mon Dec 24 13:32:41 2001 Delivered-To: freebsd-hardware@freebsd.org Received: from haloflightleader.net (adsl-63-197-56-193.dsl.lsan03.pacbell.net [63.197.56.193]) by hub.freebsd.org (Postfix) with ESMTP id CEB4E37B41E; Mon, 24 Dec 2001 13:32:21 -0800 (PST) Received: from enterprise ([192.168.1.254]) by haloflightleader.net (8.11.6/8.11.6) with SMTP id fBOLWM902134; Mon, 24 Dec 2001 13:32:22 -0800 (PST) (envelope-from peter@haloflightleader.net) Message-ID: <005301c18cc2$2717cda0$0101a8c0@haloflightleader.net> From: "Peter Ong" To: "Josh Tolbert" Cc: , References: Subject: Re: Mounting a Linux HDD Extended partition. Date: Mon, 24 Dec 2001 13:30:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Going right to it. Thanks. ----- Original Message ----- From: "Josh Tolbert" To: "Peter Ong" Cc: ; Sent: Monday, December 24, 2001 1:27 PM Subject: Re: Mounting a Linux HDD Extended partition. > Hello, > Have you checked to see if the device files exist for the > partitions you're trying to mount? I was doing the exact same thing as you > were a few days ago and noticed that ad2s1(a|b|c|d|e|f|g) didn't exist in > /dev. I just had to cd to dev and "sh MAKEDEV ad2s1a ad2s1b ad2s1c...You > get the idea. > > Good luck, > Josh > > On Mon, 24 Dec 2001, Peter Ong wrote: > > > 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: > > > > The data for partition 4 is: > > > > ~ > > > > 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-stable" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message