我试图更新 Java,我使用了一颗星来确保它被完全删除,但没有意识到它会搞砸一切
我用了
apt-get remove java*
Run Code Online (Sandbox Code Playgroud)
这是在 Ubuntu 16.0 或其他服务器上。我现在在服务器上有 sysrcd 或 System Rescue CD,我正在尝试取回我的旧文件以将它们放在新服务器上并将 sysrcd 服务器重新加载回 Ubuntu。但是我似乎无法弄清楚如何使用安装系统。
我试过跑步
fdisk -l
Run Code Online (Sandbox Code Playgroud)
我得到
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 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: 0x04a5ca62
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 4095 1024 83 Linux
/dev/sda2 6142 468860927 234427393 5 Extended
/dev/sda5 6144 2004991 999424 83 Linux
/dev/sda6 2007040 468860927 233426944 8e Linux LVM
Disk /dev/mapper/vg-root: 221.6 GiB, 237879951360 bytes, 464609280 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/mapper/vg-tmp: 976 MiB, 1023410176 bytes, 1998848 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/mapper/vg-swap: 88 MiB, 92274688 bytes, 180224 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
Run Code Online (Sandbox Code Playgroud)
我不确定要安装哪个驱动器或如何安装它。有人可以帮忙吗?
Tim*_*tin 47
挂载LVM
分区与非 LVM 分区时需要更多的步骤。
sudo apt-get install lvm2 #This step may or may not be required.
sudo pvscan #Use this to verify your LVM partition(s) is/are detected.
sudo vgscan #Scans for LVM Volume Group(s)
sudo vgchange -ay #Activates LVM Volume Group(s)
sudo lvscan #Scans for available Logical Volumes
sudo mount /dev/YourVolGroup00/YourLogVol00 /YourMountPoint
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
51041 次 |
最近记录: |