是否可以将 ipod classic3G 作为 ubuntu 12.04 的外部磁盘使用?

是否可以将 ipod classic3G 作为 ubuntu 12.04 的外部磁盘使用?

我有一台 30GB 的 iPod Classic。它使用 Apple HFS 进行分区。我可以将其用作 Ubuntu 12.04 LTS 的外部驱动器吗?

使用 sudo fdisk -l 我得到:

Disk /dev/sda: 8006 MB, 8006926336 bytes
247 heads, 62 sectors/track, 1021 cylinders, total 15638528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00085342

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    13559807     6778880   83  Linux
/dev/sda2        13561854    15636479     1037313    5  Extended
/dev/sda5        13561856    15636479     1037312   82  Linux swap / Solaris

Disk /dev/mmcblk0: 16.3 GB, 16288579584 bytes
255 heads, 63 sectors/track, 1980 cylinders, total 31813632 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000881d5

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048    31813631    15905792   83  Linux
Note: sector size is 2048 (not 512)

Disk /dev/sdb: 30.0 GB, 30005821440 bytes
64 heads, 32 sectors/track, 7153 cylinders, total 14651280 sectors
Units = sectors of 1 * 2048 = 2048 bytes
Sector size (logical/physical): 2048 bytes / 2048 bytes
I/O size (minimum/optimal): 2048 bytes / 2048 bytes
Disk identifier: 0x00000000

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

使用 sudo blkid 我得到:

/dev/sda1: UUID="10b8c1cb-1b08-4b58-a312-376ea4206fb6" TYPE="ext4" 
/dev/sda5: UUID="969c9b05-a91e-43ed-8fd1-715fdbbf2f71" TYPE="swap" 
/dev/mmcblk0p1: LABEL="XINUTOP-NAV" UUID="2c574e17-6f0e-4828-b153-ded6a7a03d2f" TYPE="ext4" 
/dev/sdb3: UUID="693884dd-2694-3072-b912-ed8d6c27728e" LABEL="PamelaM-bM-^@M-^Ys iPod" TYPE="hfsplus"

使用 mount -l 我得到:

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/thierry/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=thierry)
/dev/mmcblk0p1 on /media/XINUTOP-NAV type ext4 (rw,nosuid,nodev,uhelper=udisks) [XINUTOP-NAV]
/dev/sdb3 on /media/Pamela’s iPod type hfsplus (ro,nosuid,nodev,uhelper=udisks) [Pamela’s iPod]

答案1

即使您没有禁用日志功能,也可以在 Linux 中启用写入 HFS+ 的功能。除了您已有的 hfsplus 之外,您还需要安装 hfsprogs:

sudo apt-get install hfsprogs

然后,使用 -o force 选项:

sudo mount -o force /dev/sdX /your/mount/point

如果驱动器已自动安装(在 Ubuntu 等桌面系统上应该如此),你可以使用以下命令启用写入

sudo mount -o remount,rw,force /mount/point

或者

sudo mount -o remount,rw,force /dev/sdx

/mount/point通常是/media/Your_drive_label /dev/sdx您的 HFS+ 设备

用于mount -l查找哪个设备已安装在哪个安装点上。

相关内容