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.
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 47 |
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 Disk /dev/sdb: 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/sdb doesn't contain a valid partition table 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/sdc: 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 yourcomputer / # |
Quellcode |
|
1 2 |
yourcomputer / # mount -o auto /dev/sdb /mnt/usb_stick/ mount: you must specify the filesystem type |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »math« (22.09.2010, 20:44)
Bist du dir da sicher?Dabei sollte der Stick /dev/sdb sein.
Quellcode |
|
1 |
# tail -f /var/log/messages |
Quellcode |
|
1 2 3 4 5 6 |
Sep 21 10:16:23 josef-95 kernel: [ 9854.423209] usb 1-5: new high speed USB device using ehci_hcd and address 4 Sep 21 10:16:24 josef-95 kernel: [ 9855.277287] uba: uba1 Sep 21 10:16:24 josef-95 kernel: [ 9855.278543] usbcore: registered new interface driver ub Sep 21 10:16:24 josef-95 kernel: [ 9855.297487] Initializing USB Mass Storage driver... Sep 21 10:16:24 josef-95 kernel: [ 9855.297703] usbcore: registered new interface driver usb-storage Sep 21 10:16:24 josef-95 kernel: [ 9855.297705] USB Mass Storage support registered. |
Quellcode |
|
1 |
mount /dev/uba1 /mnt/usb-stick/ |
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 |
yourcomputer / # tail -f /var/log/messages Sep 21 10:04:10 yourcomputer su[5566]: pam_unix(su:session): session closed for user root Sep 21 10:10:01 yourcomputer cron[5907]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Sep 21 10:20:01 yourcomputer cron[6037]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Sep 21 10:26:37 yourcomputer su[6195]: Successful su for root by nicolas Sep 21 10:26:37 yourcomputer su[6195]: + /dev/pts/0 nicolas:root Sep 21 10:26:37 yourcomputer su[6195]: pam_unix(su:session): session opened for user root by nicolas(uid=1000) Sep 21 10:30:01 yourcomputer cron[6343]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Sep 21 10:33:10 yourcomputer su[6381]: Successful su for root by nicolas Sep 21 10:33:10 yourcomputer su[6381]: + /dev/pts/1 nicolas:root Sep 21 10:33:10 yourcomputer su[6381]: pam_unix(su:session): session opened for user root by nicolas(uid=1000) Sep 21 10:34:13 yourcomputer kernel: usb 1-3: USB disconnect, address 14 Sep 21 10:34:14 yourcomputer kernel: usb 1-3: new high speed USB device using ehci_hcd and address 16 Sep 21 10:34:15 yourcomputer kernel: scsi9 : usb-storage 1-3:1.0 Sep 21 10:34:16 yourcomputer kernel: scsi 9:0:0:0: Direct-Access JetFlash TS4GJFV30 8.07 PQ: 0 ANSI: 2 Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: Attached scsi generic sg1 type 0 Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] 7987198 512-byte logical blocks: (4.08 GB/3.80 GiB) Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Write Protect is off Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Mode Sense: 03 00 00 00 Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through Sep 21 10:34:16 yourcomputer kernel: sdb: unknown partition table Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through Sep 21 10:34:16 yourcomputer kernel: sd 9:0:0:0: [sdb] Attached SCSI removable disk |
Hmm ja, problem ist wohl "unknown partition table"
Quellcode
1 Sep 21 10:34:16 yourcomputer kernel: sdb: unknown partition table
Quellcode |
|
1 2 3 4 |
File systems ---> Partition Types ---> [*] Advanced partition selection ..... |
Ich denke, Du musst den Stick neu formatieren
Quellcode |
|
1 |
dd if=/dev/sdb of=stick.img |
Quellcode |
|
1 |
zgrep -i "CONFIG_.*_PARTITION" /proc/config.gz |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
CONFIG_MAC_PARTITION: │ │ │ │ Say Y here if you would like to use hard disks under Linux which │ │ were partitioned on a Macintosh. │ │ │ │ Symbol: MAC_PARTITION [=y] │ │ Prompt: Macintosh partition map support │ │ Defined at fs/partitions/Kconfig:100 │ │ Depends on: BLOCK [=y] && PARTITION_ADVANCED [=y] │ │ Location: │ │ -> File systems │ │ -> Partition Types │ │ -> Advanced partition selection (PARTITION_ADVANCED [=y]) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
yourcomputer nicolas # zgrep -i "CONFIG_.*_PARTITION" /proc/config.gz # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set CONFIG_MAC_PARTITION=y CONFIG_MSDOS_PARTITION=y # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set # CONFIG_EFI_PARTITION is not set # CONFIG_SYSV68_PARTITION is not set yourcomputer nicolas # |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »math« (21.09.2010, 12:46)
Ich frage mich gerade, warum ich die MSDOS aktiviert habe. Das kann ich deaktivieren oder?
Quellcode |
|
1 |
dd if=/dev/sdb of=sdb.dump bs=512 count=1; bzip2 -9 sdb.dump |
Zitat von »math«
Ext4. Sollte man dies aktivieren?
Quellcode |
|
1 2 3 4 |
~/ file -s /dev/sda /dev/sda: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0x83, active, starthead 1, startsector 63, 1991997 sectors; partition 2: ID=0x82, starthead 0, startsector 1992060, 4000185 sectors; partition 3: ID=0x8e, starthead 0, startsector 5992245, 482399820 sectors, code offset 0x48 ~/ file -s /dev/sda1 /dev/sda1: Linux rev 1.0 ext3 filesystem data (large files) |
Quellcode |
|
1 |
# file -s /dev/sdb |