Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2003 20:36:31 +0100
From:      "Paul A. Mayer" <paul@fnug.net>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Unable to mount ext2fs partition
Message-ID:  <3E18893F.6080009@fnug.net>
References:  <20030105022547.GA40477@papagena.rockefeller.edu>

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

I had to install the e2fstools port before I could access my e2fs 
partitions after installing -current.  Thereafter everything has been 
fine.  No problems with the disk, etc.  The only thing that is a problem 
is if your e2fs partion(s) are mounted and your system crashes or the 
mount is uncleanly shut down.  Then I have to use a linux livecd to 
repair the partition as the freebsd e2fsck often isn't able to clean up 
the mess.

Regards,

Paul

Rahul Siddharthan wrote:
> I decided to bump my laptop up to 5.0-CURRENT today.  All seems to have
> gone well and all my old binaries work fine, it looks very nice.
> 
> However, I can no longer mount my linux partition: when I try, I get
> # mount -t ext2fs /dev/ad0s2 /mnt
> ext2fs: /dev/ad0s2: No such file or directory
> 
> Did something change when I install new bootblocks, and how do I fix it?
> 
> Below, output from fdisk and disklabel.  I don't remember anything unusual
> before the upgrade.
> 
> Thanks,
> 
> Rahul
> 
> -----------
> 
> # fdisk
> ******* Working on device /dev/ad0 *******
> parameters extracted from in-core disklabel are:
> cylinders=19485 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=19485 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>     start 63, size 13912227 (6793 Meg), flag 80 (active)
>         beg: cyl 0/ head 1/ sector 1;
>         end: cyl 865/ head 254/ sector 63
> The data for partition 2 is:
> sysid 131 (0x83),(Linux native)
>     start 13912290, size 5719140 (2792 Meg), flag 0
>         beg: cyl 866/ 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>
> 
> 
> # disklabel -r /dev/ad0s2
> # /dev/ad0s2:
> type: ESDI
> disk: ad0s2
> label: 
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 356
> sectors/unit: 5719140
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # milliseconds
> track-to-track seek: 0  # milliseconds
> drivedata: 0 
> 
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   c:  5719140 13912290    unused        0     0         # (Cyl.  866 - 1221)
>   e:  5719140 13912290    4.2BSD     1024  8192    16   # (Cyl.  866 - 1221)
> partition c: offset past end of unit
> partition c: partition extends past end of unit
> Warning, partition c doesn't start at 0!
> Warning, An incorrect partition c may cause problems for standard system utilities
> partition e: offset past end of unit
> partition e: partition extends past end of unit
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E18893F.6080009>