在四个内置硬盘中,Ubuntu Live 只能看到一个

在四个内置硬盘中,Ubuntu Live 只能看到一个

我有一个装有 Windows 7 的 ocz SSD 驱动器,还有三个用于存储的其他内部驱动器。它们都是相同的 4TB Seagate HDD 驱动器。我从闪存 USB 启动并进入 Ubuntu。我选择尝试,而不安装。如果我将外部驱动器插入 USB 插槽,Ubuntu 会看到它们,也会看到 ocz 驱动器,它在图标的左侧行中将其列为 120GB 卷。虽然这三个内部驱动器在 Windows 7 中可见,并显示在 BIOS 中,但从 Ubuntu 闪存驱动器启动时不会出现它们。我知道这三个驱动器没有问题。我正在考虑安装 Ubuntu,但首先我想确保一切都能正常工作。请告诉我该怎么做才能让其他三个内部驱动器可见。我使用的是华硕 Sabertooth z77 主板,英特尔酷睿 i7 3770k 3.5Ghz 处理器,32GB RAM,华硕 Radeon GPU 和华硕 Xonar DS 声卡(这些可能都不重要,但只是为了提供完整的信息,以防万一)。如果我能让 Ubuntu 看到我的其他驱动器,那么我将继续进行全新安装。提前致谢。

我尝试打开终端并输入第一个命令(sudo fdisk -l),得到以下结果:

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 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 /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0x4c9476d4

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2  *    206848 234438655 234231808 111.7G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6563D057-D3B8-4ABE-B2DD-B40B0DF5577D

Device      Start        End    Sectors  Size Type
/dev/sdb1      34       2081       2048    1M Microsoft LDM metadata
/dev/sdb2    2082     262177     260096  127M Microsoft reserved
/dev/sdb3  262178 7814037134 7813774957  3.7T Microsoft LDM data

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.


Disk /dev/sdc: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 4F050823-221E-47DC-8FDC-4B1069E2B215

Device      Start        End    Sectors  Size Type
/dev/sdc1      34       2081       2048    1M Microsoft LDM metadata
/dev/sdc2    2082     262177     260096  127M Microsoft reserved
/dev/sdc3  262178 7814037134 7813774957  3.7T Microsoft LDM data

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.


Disk /dev/sdd: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9EFE1A04-59E0-4FBD-960E-E06399FD9148

Device      Start        End    Sectors  Size Type
/dev/sdd1      34       2081       2048    1M Microsoft LDM metadata
/dev/sdd2    2082     262177     260096  127M Microsoft reserved
/dev/sdd3  262178 7814037134 7813774957  3.7T Microsoft LDM data

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.


Disk /dev/sde: 29.7 GiB, 31914983424 bytes, 62333952 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
Disklabel type: dos
Disk identifier: 0x0b7cfa9f

Device     Boot Start      End  Sectors  Size Id Type
/dev/sde1  *     2048 62333951 62331904 29.7G  c W95 FAT32 (LBA)
ubuntu@ubuntu:~$ 

答案1

我数了一下,您的问题中列出了 5 个硬盘,其中 3 个是 4TB 硬盘:

第一个看起来像你的 SSD:

Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors

接下来的 3 个都是 4TB:

Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors

Disk /dev/sdc: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors

Disk /dev/sdd: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors

最后一个是您的 32GB USB 驱动器:

Disk /dev/sde: 29.7 GiB, 31914983424 bytes, 62333952 sectors

答案2

Ubuntu 应该可以毫无问题地看到这些驱动器。

打开终端并使用这些命令来检查磁盘是否存在。

此命令应列出系统中的所有磁盘,并显示有关分区的信息。 sudo fdisk -l

此命令应显示每个分区的 GUID/ID 以及每个分区包含的文件系统。 sudo blkid

最后,此命令将列出在 Ubuntu 的设备目录中找到的所有磁盘驱动器。 ls -l /dev/sd*

它们将采用以下格式: /dev/sda其中“a”表示磁盘。它们将按字母顺序排列,但不按任何实际顺序排列。(这意味着/dev/sda可能是/dev/sdc您下次启动闪存驱动器时,但除非您断开存储设备的连接, /dev/sdb否则将始终存在)并且数字是“a”存储设备的分区(如果有)。/dev/sdc/dev/sda1/dev/sda2

如果它们仍然没有出现,请检查它们是否处于 RAID 配置中,对于主板内置 raid 功能始终在 fakeRAID(软件 RAID)中实现,在这种情况下您可能需要输入命令: sudo dmraid -ay

如果仍然未列出驱动器,请确保您启动的 Ubuntu 映像是最新的,并且系统的模块(驱动程序)已正确加载。

要查看已加载的模块,请使用以下命令: lsmod

[编辑] 回答您新编辑的问题:

据我所见,Ubuntu 可以看到这些驱动器。

从您发布的命令输出中,您可以忽略/dev/ram*和的每个条目/dev/loop*。这些只是由于您在“实时”模式下使用 Ubuntu 而创建的特殊设备。(仅从 RAM 运行)

Ubuntu 无法看到您的驱动器的问题是,您正在使用 Microsoft 逻辑磁盘管理器来管理磁盘(也称为“动态磁盘”)。因此,您要么在 RAID 中使用它们,要么在某种其他配置中使用它们。在 Windows 中,您可以使用位于以下位置的“磁盘管理”实用程序查看/编辑配置:

Control Panel > Administrator Tools > Disk Management

Linux 本身不支持为 Microsoft LDM 配置的磁盘(即内核配置选项)。但确实存在一些库和工具,它们会为您提供对磁盘的有限访问权限。

使用以下命令安装 ldmtool:

sudo apt-get update; sudo apt-get install ldmtool

要访问磁盘,请使用以下命令:

sudo ldmtool create all

它们不会位于/dev/mapper目录中。(忽略/dev/mapper/control它并不重要)

磁盘实用程序和文件资源管理器现在应该显示磁盘,并应该能够读取/写入文件。

或者,如果您只想挂载单个磁盘组,请执行以下操作:

sudo ldmtool scan /dev/sd[b-d]*

这应该输出一个 guid。(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

将该 guid 复制到剪贴板,然后使用此命令(替换为您复制的 guid):

sudo ldmtool create volume <guid> volume1

您可以增加“volume1”中的数字以获得更多磁盘。(即,volume1 在该命令中变为volume2,等等)

有关 ldmtool 包的更多信息,请参阅这里

有关如何使用 ldmtool 的信息,请参阅这里

相关内容