Re: DVD-RAM Mac Format HFS

2006-05-14 Thread Brad Boyer
On Sat, May 13, 2006 at 10:58:17PM -0400, Richard wrote:
 Using /dev/hdc
 (parted) p
 Disk label type: mac
 MinorStart   End Filesystem  Name  Flags
 1  0.002  0.125  Apple
 2  0.125  0.152  Macintosh
 3  0.152  0.179  Macintosh
 4  0.180  0.207  Macintosh
 5  0.207  0.234  Macintosh
 6  0.234  0.484  Macintosh
 7  0.484  0.734  Macintosh
 8  0.734  0.984  Patch Partition
 10   128.984   4368.558  hfs+Apple_HFS_Untitled_1

The hfsplus module has code to detect a mac style partition map
and find a partition that looks likely. It searches for the
first one where the type field starts with Apple_HFS. You can
also specify which partition number to use with the part=num
option, so you may want to try adding part=10 to your options.
If that helps, it would seem to indicate that the type is
flagged wrong in the partition map. This output doesn't seem
to have the raw type strings, so it's hard to say.

Brad Boyer
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-14 Thread Richard

Brad Boyer wrote:


On Sat, May 13, 2006 at 10:58:17PM -0400, Richard wrote:
 


Using /dev/hdc
(parted) p
Disk label type: mac
MinorStart   End Filesystem  Name  Flags
1  0.002  0.125  Apple
2  0.125  0.152  Macintosh
3  0.152  0.179  Macintosh
4  0.180  0.207  Macintosh
5  0.207  0.234  Macintosh
6  0.234  0.484  Macintosh
7  0.484  0.734  Macintosh
8  0.734  0.984  Patch Partition
10   128.984   4368.558  hfs+Apple_HFS_Untitled_1
   



The hfsplus module has code to detect a mac style partition map
and find a partition that looks likely. It searches for the
first one where the type field starts with Apple_HFS. You can
also specify which partition number to use with the part=num
option, so you may want to try adding part=10 to your options.
If that helps, it would seem to indicate that the type is
flagged wrong in the partition map. This output doesn't seem
to have the raw type strings, so it's hard to say.

Brad Boyer
[EMAIL PROTECTED]


 


That the part I not quite clear on, where would I add the string 10
to mount that partition?

Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-14 Thread Brad Boyer
On Sun, May 14, 2006 at 03:43:58AM -0400, Richard wrote:
 That the part I not quite clear on, where would I add the string 10
 to mount that partition?

Try a command line similar to this:

mount -t hfsplus -o 'part=10' /dev/hdc /mntpoint

If you're adding it to /etc/fstab, one of the fields is for options.

/dev/hdc/mntpoint   hfsplus part=10 0   0

Substitute the desired device, mount point, and partition number as needed.

Brad Boyer
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-13 Thread Nick J. Fuller

what have you tried? does mount /media/cdrom work?

On 12/05/06, Richard [EMAIL PROTECTED] wrote:

How can I get linux to read mac formated dvd-ram,
when I put in a mac formated dvd-ram, nothing happens.

Thanks -
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]






Re: DVD-RAM Mac Format HFS

2006-05-13 Thread Richard

Nick J. Fuller wrote:


what have you tried? does mount /media/cdrom work?

On 12/05/06, Richard [EMAIL PROTECTED] wrote:


How can I get linux to read mac formated dvd-ram,
when I put in a mac formated dvd-ram, nothing happens.

Thanks -
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]





Here is what I have tried
# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
proc/proc   procdefaults0   0
/dev/hda3   /   ext3defaults,errors=remount-ro 0   1
/dev/hda4   noneswapsw  0   0
/dev/hdc

(with the dvd-ram media installed)


[EMAIL PROTECTED]:~$ sudo mount -t hfsplus /dev/hdc /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
  missing codepage or other error
  In some cases useful info is found in syslog - try
  dmesg | tail  or so

[EMAIL PROTECTED]:~$ dmseg | tail
bash: dmseg: command not found
[EMAIL PROTECTED]:~$ sudo mount -t hfs /dev/hdc /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
  missing codepage or other error
  In some cases useful info is found in syslog - try
  dmesg | tail  or so



Syslog
May 13 02:17:18 localhost kernel: [89790.958204] HFS+-fs: unable to find 
HFS+ superblock
May 13 02:19:15 localhost kernel: [89907.963590] VFS: Can't find a HFS 
filesystem on dev hdc.

--

Again, if I put a blank dvd-ram, with the ufs (universal format) it 
loadeds it, and copies to it.


Also, while I at this, I do have a second hard drive, shown in file browser,
its identical to my first hard drive, however, I want to format that drive,
as fat32 just for storage. ( HOW )


Thanks +++
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-13 Thread Brad Boyer
On Sat, May 13, 2006 at 09:13:24AM -0400, Richard wrote:
 [EMAIL PROTECTED]:~$ sudo mount -t hfsplus /dev/hdc /media/cdrom0
 mount: wrong fs type, bad option, bad superblock on /dev/hdc,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
 
 Syslog
 May 13 02:17:18 localhost kernel: [89790.958204] HFS+-fs: unable to find 
 HFS+ superblock
 May 13 02:19:15 localhost kernel: [89907.963590] VFS: Can't find a HFS 
 filesystem on dev hdc.
 --

Is it a multi-session disc? There is a session=num option for hfsplus
to select the right session on the disc in the source I have here.

Brad Boyer
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-13 Thread Richard

Brad Boyer wrote:


Is it a multi-session disc? There is a session= option for hfsplus
to select the right session on the disc in the source I have here.


No its not a multi-session (its dvd-ram) its not a dvd-rw
I just install it on my mac (formated) then copy back up items,
and done. When running linux (now) and not mac no more,
its not loading mac formated hfs+ dvd-ram.

Q. I have two drives, in my Mac both are 80 gig's
Master Drive, is running ubuntu, and the second slave drive is blank 
format mac drive,

Can I install Mac OS X on the SLAVE drive, and be able to run a dual OS's ??
I want yaboot (ubuntu) to make the choice which drives, load (or OS) loads,
NOT MAC.

If I can do this, then I can run Mac OS X, then re-copy to USB Drive.

Thanks 
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD-RAM Mac Format HFS

2006-05-13 Thread Richard

Brad Boyer wrote:


On Sat, May 13, 2006 at 09:13:24AM -0400, Richard wrote:
 


[EMAIL PROTECTED]:~$ sudo mount -t hfsplus /dev/hdc /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
 missing codepage or other error
 In some cases useful info is found in syslog - try
 dmesg | tail  or so

Syslog
May 13 02:17:18 localhost kernel: [89790.958204] HFS+-fs: unable to find 
HFS+ superblock
May 13 02:19:15 localhost kernel: [89907.963590] VFS: Can't find a HFS 
filesystem on dev hdc.

--
   



Is it a multi-session disc? There is a session=num option for hfsplus
to select the right session on the disc in the source I have here.

Brad Boyer
[EMAIL PROTECTED]


 


I have some more info: ( dvd-ram disk is loaded ) but not mounted

[EMAIL PROTECTED]:~$ sudo mkdir /mnt/osx
[EMAIL PROTECTED]:~$ sudo modprobe hfsplus
[EMAIL PROTECTED]:~$ sudo parted /dev/hdc
GNU Parted 1.6.21 with HFS shrink patch 16
Copyright (C) 1998 - 2004 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 ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A

PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hdc
(parted) p
Warning: The driver descriptor says the physical block size is 2048 
bytes, but

Linux says it is 512 bytes.
Ignore/Cancel? ignore
Error: The partition's data region doesn't occupy the entire partition.
Ignore/Cancel? Ignore
Disk geometry for /dev/hdc: 0.000-4368.562 megabytes
Disk label type: mac
MinorStart   End Filesystem  Name  Flags
1  0.002  0.125  Apple
2  0.125  0.152  Macintosh
3  0.152  0.179  Macintosh
4  0.180  0.207  Macintosh
5  0.207  0.234  Macintosh
6  0.234  0.484  Macintosh
7  0.484  0.734  Macintosh
8  0.734  0.984  Patch Partition
10   128.984   4368.558  hfs+Apple_HFS_Untitled_1
(parted) 10
 check MINOR   do a simple check on the filesystem
 cp [FROM-DEVICE] FROM-MINOR TO-MINOR  copy filesystem to another 
partition  help [COMMAND]prints general help, or help on 
COMMAND

 mklabel LABEL-TYPEcreate a new disklabel (partition table)
 mkfs MINOR FS-TYPEmake a filesystem FS-TYPE on partititon 
MINOR

 mkpart PART-TYPE [FS-TYPE] START END  make a partition
 mkpartfs PART-TYPE FS-TYPE START END  make a partition with a 
filesystem

 move MINOR START END  move partition MINOR
 name MINOR NAME   name partition MINOR NAME
 print [MINOR] display the partition table, or a partition
 quit  exit program
 rescue START END  rescue a lost partition near START and END
 resize MINOR START ENDresize filesystem on partition MINOR
 rm MINOR  delete partition MINOR
 select DEVICE choose the device to edit
 set MINOR FLAG STATE  change a flag on partition MINOR
(parted)
-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



DVD-RAM Mac Format HFS

2006-05-12 Thread Richard

How can I get linux to read mac formated dvd-ram,
when I put in a mac formated dvd-ram, nothing happens.

Thanks -
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]