[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount confused between hfs and ext2?



On Wed, Oct 17, 2001 at 11:03:42PM -0400, Bill Lovett wrote:
> I've got a weird situation with the second scsi disk I just put in my
> 8500. The disk is formatted as ext2, but I can only get mount to work
> if I specify the type as hfs. Check it out--
> 
> Here's what mac-fisk says about /dev/sdb:
> 
>         #                    type name                length   base
>                              ( size )  system
> /dev/sdb1     Apple_partition_map Apple                  100 @ 1
>                              ( 50.0k)  Partition map
> /dev/sdb2    FWB Driver Components FWB Driver Components    1024 @ 101
>                              (512.0k)  Unknown
> /dev/sdb3          Apple_Driver43 FWB Disk Driver         76 @ 1125
>                              ( 38.0k)  Driver 4.3
> /dev/sdb4         Apple_UNIX_SVR2 MP3s               4192214 @ 1201
>                              (  2.0G)  Linux native
> 
> Block size=512, Number of Blocks=4193415
> DeviceType=0x0, DeviceId=0x0
> Drivers-
> 1: @ 1125 for 76, type=0x1
> 
> /dev/sdb4 is Linux native, which is what I want. But if I do this:
> 
> mount /dev/sdb4 /mnt -t ext2
> 
> which should be correct, I get a "wrong fs type, bad option, bad
> superblock on /dev/sdb4" error. Yet mounting with -t hfs works just
> fine. What's up with that?

partition types have nothing to do with filesystems.

run mke2fs /dev/sdb4 and then you will be able to mount it as ext2.
all the data will go away when you do this.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpNIHrtATIiG.pgp
Description: PGP signature


Reply to: