Re: Mount freebsd 5.x disk on linux 2.6.18 problem
"Eric Marquez" <[email protected]>
| Newsgroups | org.kernel.vger.linux-admin |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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