![如何在 Ubuntu 上安装 RAID0(从 Acer Aspire S5 Ultrabook 恢复数据)](https://linux22.com/image/1125459/%E5%A6%82%E4%BD%95%E5%9C%A8%20Ubuntu%20%E4%B8%8A%E5%AE%89%E8%A3%85%20RAID0%EF%BC%88%E4%BB%8E%20Acer%20Aspire%20S5%20Ultrabook%20%E6%81%A2%E5%A4%8D%E6%95%B0%E6%8D%AE%EF%BC%89.png)
最近,我在 Acer Aspire S5 超极本上遇到了 Windows 7 启动问题。在启动之前,系统显示其中一个物理磁盘(超极本预装了两个 128 GB SSD,配置为 RAID0)存在问题 - 并且在启动时 Windows 进入死机蓝屏模式。
我基本上想在重新格式化这些磁盘并重新安装 Ubuntu 之前从磁盘恢复我的数据。
使用 USB 记忆棒,我能够启动 Ubuntu(无需安装它),并且当使用“磁盘”查看时能够看到这两个磁盘(并且这两个磁盘都显示为健康,尽管有坏扇区)。
fdisk -l 命令的输出如下:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x3d49 of partition table 5 will be corrected by w(rite)
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0x33fc577e
Device Boot Start End Blocks Id System
/dev/sda1 2048 16779263 8388608 84 OS/2 hidden C: drive
/dev/sda2 16779264 50333695 16777216 27 Hidden NTFS WinRE
/dev/sda3 * 50333696 50538495 102400 7 HPFS/NTFS/exFAT
/dev/sda4 50538496 500127743 224794624 f W95 Ext'd (LBA)
/dev/sda5 ? 2025907283 4860989575 1417541146+ 61 SpeedStor
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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: 0xe1d9c00c
Device Boot Start End Blocks Id System
/dev/sdb3 3823264065 4948320604 562528270 0 Empty
我尝试使用“dmraid -ay”安装 raid(基于 Intel MATRIX Raid)
ubuntu@ubuntu:~$ sudo dmraid -ay
ERROR: isw: wrong number of devices in RAID set "isw_bbdaaaifgc_Aspire S5-391" [1/2] on /dev/sdb
RAID set "isw_bbdaaaifgc_Aspire S5-391" was not activated
其他输入:
ubuntu@ubuntu:~$ sudo dmraid -r
/dev/sdb: isw, "isw_bbdaaaifgc", GROUP, ok, 250069678 sectors, data@ 0
如何让磁盘安装在原始 RAID0 配置中?