我在 Dell XPS 13 上安装了双启动设置,安装了 Windows 10 和 Ubuntu 18.04。主板坏了,戴尔更换了主板。和往常一样,这破坏了我的 grub 设置。我按照通常的方式继续操作,从 USB 驱动器启动到 ubuntu,然后尝试安装我的 linux 分区,但现在我的硬盘不可见。
我想知道我的问题是否是由于我原来的驱动器上的 Windows 分区不知何故被破坏了。在更换主板之前,我无法从 grub 菜单进入它。更换主板后,我也无法进入 Windows 10。我可以进入 dos 提示符,告诉我 windows 仍然以某种形式存在,但我无法让 windows 自我修复。
以下是从屏幕运行的常用命令的输出try ubuntu
:
来自:( sudo fdisk -l
我看到的只有 /dev/sda,也就是 USB 驱动器)
Disk /dev/loop0: 1.7 GiB, 1831378944 bytes, 3576912 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: 28.9 GiB, 31004295168 bytes, 60555264 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: 0x2b192737
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 0 3753599 3753600 1.8G 0 Empty
/dev/sda2 3672780 3677451 4672 2.3M ef EFI (FAT-12/16/32)
从lshw -class storage -class disk
*-storage
description: RAID bus controller
product: 82801 Mobile SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 17
bus info: pci@0000:00:17.0
version: 21
width: 32 bits
clock: 66MHz
capabilities: storage msix pm bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:16 memory:dc2a0000-dc2a7fff memory:dc2b9000-dc2b90ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:dc200000-dc27ffff
*-scsi
physical id: 1
bus info: usb@2:1.1
logical name: scsi8
capabilities: emulated scsi-host
configuration: driver=usb-storage
*-disk
description: SCSI Disk
product: DT microDuo 3.0
vendor: Kingston
physical id: 0.0.0
bus info: scsi@8:0.0.0
logical name: /dev/sda
logical name: /cdrom
version: PMAP
serial: 4B018AD15FC9
size: 28GiB (31GB)
capabilities: removable
configuration: ansiversion=6 logicalsectorsize=512 mount.fstype=iso9660 mount.options=ro,noatime,nojoliet,check=s,map=n,blocksize=2048 sectorsize=512 state=mounted
*-medium
physical id: 0
logical name: /dev/sda
logical name: /cdrom
size: 28GiB (31GB)
capabilities: partitioned partitioned:dos
configuration: mount.fstype=iso9660 mount.options=ro,noatime,nojoliet,check=s,map=n,blocksize=2048 signature=2b192737 state=mounted
同样,gparted
只显示 USB 驱动器,没有硬盘驱动器。
无奈之下,我尝试重新安装 ubuntu,但甚至无法做到这一点:唯一可见的驱动器是 USB 驱动器 /dev/sda。
如能提供任何帮助我将非常感激。