Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

21.09.2010, 09:52

hfs und hfsplus mounten

Hallo zusammen,

Ich habe neu auf meinem iMac g5 gentoo laufen. Leider habe ich noch eine alte externe HD, welche zwei Partitionen beinhaltet. Die eine ist ein Timemachine Backup (also HFS+ Format) die andere Partition ist ebenfalls HFS+. Nun habe ich folgendes Problem: Ich kann das DIng nicht mounten. Ich weiss, dass es ich es evt. nur lesen kann. Im Kernel sind die entsprechenden Optionen aktiviert.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
yourcomputer / # fdisk -l

    There is a valid Mac label on this disk.
    Unfortunately fdisk(1) cannot handle these disks.
    Use either pdisk or parted to modify the partition table.
    Nevertheless some advice:
    1. fdisk will destroy its contents on write.
    2. Be sure that this disk is NOT a still vital
       part of a volume group. (Otherwise you may
       erase the other disks as well, if unmirrored.)


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

   Device Boot      Start         End      Blocks   Id  System

    There is a valid Mac label on this disk.
    Unfortunately fdisk(1) cannot handle these disks.
    Use either pdisk or parted to modify the partition table.
    Nevertheless some advice:
    1. fdisk will destroy its contents on write.
    2. Be sure that this disk is NOT a still vital
       part of a volume group. (Otherwise you may
       erase the other disks as well, if unmirrored.)


Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdc: 4089 MB, 4089445376 bytes
126 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x656e2d73

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


/dev/sda ist meine interne HD mit root, swap etc. partitionen. /dev/sdb ist die externe HD. Wenn ich jetzt aber mittels

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
yourcomputer / # mount -t hfsplus /dev/sdb /mnt/back_up/
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

yourcomputer / # dmesg | tail
snd_aoa_i2sbus: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
Unable to load isight firmware
usbcore: registered new interface driver isight_firmware
EXT3-fs (sda4): using internal journal
Adding 524284k swap on /dev/sda3.  Priority:-1 extents:1 across:524284k 
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
radeonfb 0000:04:00.0: Invalid ROM contents
radeonfb 0000:04:00.0: Invalid ROM contents
hfs: unable to find HFS+ superblock
yourcomputer / #
. Ich habe auch -o ro versucht ohne Erfolg. Ich hoffe jemand kann mir helfen. Danke!

greetz

math

2

21.09.2010, 12:15

paste mal die ausgabe von

Quellcode

1
2
zgrep  CONFIG_HFS /proc/config.gz 
lsmod


Nach:
ok, sieht aus als hätteste bereits, versuche mal

Quellcode

1
zgrep CONFIG_MAC_PARTITION /proc/config.gz

3

21.09.2010, 17:06

Quellcode

1
2
3
4
yourcomputer linux # zgrep  CONFIG_HFS /proc/config.gz 
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=y
yourcomputer linux #


Hey hier ist der erste Teil. Ist vielleicht eine dumme Frage, aber wenn ich im Kernel etwas als Module aktiviert habe, wo kann ich dann nachschauen unter welchem Namen ich dieses module mit modprobe laden kann?

Hier noch der zweite Teil:

Quellcode

1
2
3
4
5
yourcomputer linux # lsmod
Module                  Size  Used by
yourcomputer linux # zgrep  CONFIG_MAC_PARTITION /proc/config.gz 
CONFIG_MAC_PARTITION=y
yourcomputer linux #

4

22.09.2010, 18:04

Zitat von »math«


wo kann ich dann nachschauen unter welchem Namen ich dieses module mit modprobe laden kann?

wenn du in menuconfig ? drückst dann ist da meistens der modul name angegeben.
in generellen brauchst du dir aber nicht gleich einen neuen kernel bauen nur um nach zu schauen.
in /lib/modules/<dein kernel>/fs/hfs/ findeste das Modul und damit auch den namen ;).

etwas merkwüdig ist schon das du überhaupt keine module geladen hast.
Haste alles als ein riesigen Klumpen (überall y) zusammengebaut ?

Ich bezweifle das es was bringen wird aber kannst ja mal

Quellcode

1
modprobe hfs

versuchen und berichten ob damit dann deine beide Problem mit hfs@stick gelöst sind