LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-17-2005, 11:11 AM   #1
tgreen
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
mount external firewire drive udf formatted


Hello all,

I seem to have goofed up a bit and i was hoping that you guys might have some advice for me.

i have an external firewire drive that i wanted to share between my mac and linux box. without thinking it out too thoroughly. I formatted the drive in mac os x with the unix setting which is udf. so i now have an entire block device that is udf formatted. I cannot seem to mount the drive on my linux box. i get the standard error:

mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems

I have fixed the fstab and used the mount command correctly

mount -t udf /dev/sda /mnt/fire1

the problem i have read may ly in the fact that the udf versions are incompatible(ie mac 1.5, linux 2.0).

I basically need to get the data off of the drive, and then i will reformat to ext3 format. does anyone know of a system on which i may mount the drive? the obvious answer is the mac. there is however a problem with that in that the mac will create but does not like an entire block device that is udf formatted. It will write to the drive but if I try to copy data from the drive back to the mac, I get a kernel panic.

can anyone help get this mounted on my linux box or any other machine for that matter?

thanks for the help in advance.

cheers -
todd
 
Old 01-17-2005, 12:36 PM   #2
tgreen
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
a little more info:

from /var/log/warn

Jan 17 12:13:24 bravo5 kernel: Vendor: WDC WD16 Model: 00BB-00DWA0 Rev: 15.0
Jan 17 12:13:24 bravo5 kernel: Type: Direct-Access ANSI SCSI revision: 06
Jan 17 12:13:24 bravo5 kernel: sg_attach: dev14=(21:14)
Jan 17 12:13:24 bravo5 kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Jan 17 12:13:24 bravo5 kernel: SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
Jan 17 12:26:23 bravo5 kernel: UDF-fs: No partition found (1)
-----------

and from

fdisk -l

Disk /dev/sda: 255 heads, 63 sectors, 19457 cylinders
Units = cylinders of 16065 * 512 bytes

Disk /dev/sda doesn't contain a valid partition table

so the question is if the partition table is fixed will i be able to mount in linux? and if so, how do i fix it? i am running suse 8.1.

thanks again -
todd
 
Old 01-17-2005, 04:19 PM   #3
tgreen
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
the third time is the charm, eh. well i had the info a little skewed, so here is an update

i believe i was wrong and the format is actually ufs rather than udf. but the partition table i believe is screwed up, ie.

-------------
bravo5:/xtal/green # fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 19457 cylinders
Units = cylinders of 16065 * 512 bytes

Disk /dev/sda doesn't contain a valid partition table
-------------

however if i used parted then i get this info:

bravo5:/xtal/green # parted
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT
ANYWARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.

Using /dev/sda
Information: The operating system thinks the geometry on /dev/sda is
19457/255/63. Therefore, cylinder 1024 ends at 8032.499M.
(parted) print
Disk geometry for /dev/sda: 0.000-152627.835 megabytes
Disk label type: mac
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple type=Apple_partition_map
2 0.031 0.058 Macintosh type=Apple_Driver43
3 0.059 0.085 Macintosh type=Apple_Driver43
4 0.086 0.113 Macintosh type=Apple_Driver_ATA
5 0.113 0.140 Macintosh type=Apple_Driver_ATA
6 0.141 0.390 Macintosh type=Apple_FWDriver
7 0.391 0.640 Macintosh type=Apple_Driver_IOKit
8 0.641 0.890 Patch Partition type=Apple_Patches
9 0.891 152627.832 Untitled type=Apple_UFS


----------------------------------

I think that i should be able to mount with this command:

modprobe ufs
mount -t ufs -o ufstype=openstep /dev/sda /mnt/fire1

but i still get :
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems

i think maybe as a result of the partition table.?.?

any suggestions? on the partition table which will allow me to mount on linux, without losing my data?

thanks - todd
 
Old 02-03-2005, 10:02 AM   #4
hessijens
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
First /dev/sda is the hole drive you have to use /dev/sda1 for your partition. You should also try to mount /dev/sda4 instead of /dev/sda1. I don't have a firewire drive but I have to use /dev/sda4 instead of /dev/sda1 with my old SCSI-Zip drive. Maybe this help. Good luck

Second hint: You have to compile partition table support for openstep in your kernel if you have make your partion with openstep!

Last edited by hessijens; 02-03-2005 at 10:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External drive will not backup when formatted to VFAT32 linuxmarine Linux - Hardware 1 03-25-2005 04:50 AM
External Firewire hard disk drive - mount glitches shultzc Linux - Hardware 0 10-09-2004 06:31 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
Is it possible to mount an external mac formatted firewire drive? BrianK Linux - General 1 06-03-2004 07:08 PM
External Firewire Drive Mount on Red Hat 9 Problem anilnatha Linux - Hardware 5 12-17-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration