Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 23:14:05 
From:      "Weiguang Shi" <wgshi@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   help on mounting linux partition
Message-ID:  <LAW2-F23NpyLAPDVXLu00009fab@hotmail.com>

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

I am using freebsd 4.0. and failed to mount a Linux partition on
the second hard disk. Could you please shed some light?

Thanks very much
Weiguang

==================================================================
bash-2.04# fdisk /dev/ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=1653 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=1653 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 8225217 (4016 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 511/ sector 63/ head 254
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
bash-2.04# /bin/ls /dev/ad1*
/dev/ad1        /dev/ad1c       /dev/ad1f       /dev/ad1s1      /dev/ad1s4
/dev/ad1a       /dev/ad1d       /dev/ad1g       /dev/ad1s2
/dev/ad1b       /dev/ad1e       /dev/ad1h       /dev/ad1s3
bash-2.04# mount -t ext2fs /dev/ad1s1 /mnt/work
ext2fs: /dev/ad1s1: Invalid argument
bash-2.04# uname -a
FreeBSD newby-nfr.cs.ualberta.ca 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Tue May 
i386 unknown
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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?LAW2-F23NpyLAPDVXLu00009fab>