[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-admin
Subject:    Re: Mount freebsd 5.x disk on linux 2.6.18 problem
From:       "Eric Marquez" <ebmarquez () gmail ! com>
Date:       2007-01-09 18:02:52
Message-ID: a4711e6b0701091002m37bb4c0bh5cfe5aeadd5432e5 () mail ! gmail ! com
[Download RAW message or body]

I ended up finding a emergency boot disk for freebsd and mounted it
and transfered the data off the drive.  I'm just going to format the
/dev/sda4 with ext3.
The drive was formated as a ufs format.  For some reason my linux box
was having issues reading the partition.    In any case I resolved the
issue.

On 1/8/07, Chuck Gelm <chuck@gelm.net> wrote:
> Hi, Eric:
>
>  I am not sure what a 'mp3' drive is, but I will assume that it appears as a
> USB thumbdrive or USB external harddrive or similar.
>
> Your posted information from 'fdisk' indicates that there is a /dev/sd4
> partition and it may be formatted as DOS.
>
>  Have you tried to mount this device/partition as type 'auto' ?
>
> mount /dev/sda4 /export
>
>  -or-
>
> mount -t auto /dev/sda4 /export
>
> Did you format /dev/sda4 with BSD with filesystem type 'ufs'?
>
> HTH, Chuck
>
>  Eric Marquez wrote:
> > I just changed over from freebsd to opensuse 10.2 linux.  I have my mp3
> > drive I need to mount on my new opensuse server.  When I try to mount
> > it I
> > get the following errors.
> >
> > build:~ # mount -r -t ufs -o ufstype=ufs2 /dev/sdb4 /export
> > build:~ # ls /export/samba
> > ls: cannot access /export/samba: Input/output error
> > build:~ # ls /export/
> > ls: cannot access /export/ftp: Input/output error
> >  ls: cannot access /export/samba: Input/output error
> > ls: cannot access /export/other: Input/output error
> >
> > I've tried using 44bsd, ufs2, 5xbsd, old for the fstype.
> > Can anybody help me get this mounted correctly?
> >
> > fdisk info:
> > build:~ # fdisk /dev/sdb4
> > This disk has both DOS and BSD magic.
> > Give the 'b' command to go to BSD mode.
> >
> > Command (m for help): p
> >
> > Disk /dev/sdb4: 25 MB, 25600000 bytes
> > 255 heads, 63 sectors/track, 3 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/sdb4p4 * 1 4 25000 a5 FreeBSD
> > Partition 4 has different physical/logical endings:
> > phys=(1023, 254, 63) logical=(3, 28, 41)
> >
> > Uname:
> > build:~ # uname -a
> >  Linux build 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006
> > i686 i686 i386 GNU/Linux
> >
> > Kernel support:
> > build:/usr/src/linux # zgrep BSD_DISKLABEL /proc/config.gz
> > CONFIG_BSD_DISKLABEL=y
> >
>
>


-- 
EBM
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic