grub rescue с lvm без файловой системы

Я пытался спасти Grub, но не смог его исправить, если я использую ls в grubrescue, и при выборе любого из них (также (hd0,1)) всегда возникает ошибка, сообщающая об отсутствии файловой системы

Система представляет собой Ubuntu 18.04 x64, работающую на виртуальной коробке, разделенные файлы .vmdk. Также пытался смонтировать с помощью компакт-диска Ubuntu Live и смонтировать раздел, но он пуст

Я наблюдал и пробовал разные вещи с других форумов. но ничего не помогло, я также использовал диск восстановления загрузчика и вывод следующий, и я не знаю, что делать, знаю

Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for 
    (lvmid/j9Tehd-JzsK-ZZt1-eSYm-1vKe-waiB-arJ1FS/wgc17k-GyfG-B4TO-K3ds-W6h5-jw
    BK-I8OS9e)/boot/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos diskfilter lvm biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

ubuntu-vg-root: ________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/LVM/ubuntu-vg-root: unknown filesystem type ''.

ubuntu-vg-swap_1: ______________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   209,713,151   209,711,104  8e Linux LVM


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mapper/ubuntu--vg-swap_1 e4398da6-a3b6-4e52-a905-b6fe294d5866   swap       
/dev/sda1        RV4GvP-9GWe-wjhj-hOk3-ZiC9-26bX-UHNuAx LVM2_member 
/dev/sr0         2017-10-29-00-56-18-00                 iso9660    Boot-Repair-Disk 64bit
/dev/zram0       624716b1-0db3-4900-a489-51596c62b22b   swap       
/dev/zram1       7388fb65-d401-43f5-9bd5-81d1f15c0a8d   swap       
/dev/zram2       94f8eaf7-95f1-4c57-b0f2-8c2daab8d1d8   swap       
/dev/zram3       75623944-b0e8-4004-b6db-34208914f94c   swap       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Sep 18 07:42 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 18 07:47 ata-VBOX_HARDDISK_VB8749a016-94bf0457 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 18 07:47 ata-VBOX_HARDDISK_VB8749a016-94bf0457-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 18 07:47 dm-name-ubuntu--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 18 07:47 dm-name-ubuntu--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 18 07:47 dm-uuid-LVM-j9TehdJzsKZZt1eSYm1vKewaiBarJ1FSk7c14qZHNle5rvZSA0KAZuxvNump63aA -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 18 07:47 dm-uuid-LVM-j9TehdJzsKZZt1eSYm1vKewaiBarJ1FSwgc17kGyfGB4TOK3dsW6h5jwBKI8OS9e -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 18 07:47 lvm-pv-uuid-RV4GvP-9GWe-wjhj-hOk3-ZiC9-26bX-UHNuAx -> ../../sda1

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
ubuntu--vg-root
ubuntu--vg-swap_1

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


=============================== StdErr Messages: ===============================

File descriptor 8 (/proc/9440/mountinfo) leaked on lvs invocation. Parent PID 14671: bash
File descriptor 63 (pipe:[44068]) leaked on lvs invocation. Parent PID 14671: bash
File descriptor 8 (/proc/9440/mountinfo) leaked on lvchange invocation. Parent PID 15288: bash
File descriptor 63 (pipe:[44068]) leaked on lvchange invocation. Parent PID 15288: bash
File descriptor 8 (/proc/9440/mountinfo) leaked on lvchange invocation. Parent PID 15288: bash
File descriptor 63 (pipe:[44068]) leaked on lvchange invocation. Parent PID 15288: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20190918_0747 ===================
boot-repair version : 4ppa62
boot-sav version : 4ppa62
boot-sav-extra version : 4ppa62
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/sr0: UUID="2017-10-29-00-56-18-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="6b8b4567" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="RV4GvP-9GWe-wjhj-hOk3-ZiC9-26bX-UHNuAx" TYPE="LVM2_member" PARTUUID="ea01a2f3-01"
/dev/zram0: UUID="624716b1-0db3-4900-a489-51596c62b22b" TYPE="swap"
/dev/zram1: UUID="7388fb65-d401-43f5-9bd5-81d1f15c0a8d" TYPE="swap"
/dev/zram2: UUID="94f8eaf7-95f1-4c57-b0f2-8c2daab8d1d8" TYPE="swap"
/dev/zram3: UUID="75623944-b0e8-4004-b6db-34208914f94c" TYPE="swap"
/dev/mapper/ubuntu--vg-swap_1: UUID="e4398da6-a3b6-4e52-a905-b6fe294d5866" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 8 (/proc/9440/mountinfo) leaked on vgscan invocation. Parent PID 9449: /bin/bash
Reading volume groups from cache.
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 8 (/proc/9440/mountinfo) leaked on vgchange invocation. Parent PID 9449: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 8 (/proc/9440/mountinfo) leaked on lvscan invocation. Parent PID 9449: /bin/bash
LVSCAN:
ACTIVE            '/dev/ubuntu-vg/root' [99.04 GiB] inherit
ACTIVE            '/dev/ubuntu-vg/swap_1' [980.00 MiB] inherit
File descriptor 8 (/proc/9440/mountinfo) leaked on lvs invocation. Parent PID 11228: /bin/sh
Error: /dev/mapper/ubuntu--vg-root: unrecognised disk label
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 1oct2017, zesty, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=de keyboard-configuration/layoutcode?=de
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:


=================== blkid:
/dev/sr0: UUID="2017-10-29-00-56-18-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="6b8b4567" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="RV4GvP-9GWe-wjhj-hOk3-ZiC9-26bX-UHNuAx" TYPE="LVM2_member" PARTUUID="ea01a2f3-01"
/dev/zram0: UUID="624716b1-0db3-4900-a489-51596c62b22b" TYPE="swap"
/dev/zram1: UUID="7388fb65-d401-43f5-9bd5-81d1f15c0a8d" TYPE="swap"
/dev/zram2: UUID="94f8eaf7-95f1-4c57-b0f2-8c2daab8d1d8" TYPE="swap"
/dev/zram3: UUID="75623944-b0e8-4004-b6db-34208914f94c" TYPE="swap"
/dev/mapper/ubuntu--vg-swap_1: UUID="e4398da6-a3b6-4e52-a905-b6fe294d5866" TYPE="swap"


=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:



=================== parted -lm:

BYT;
/dev/sda:107GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:107GB:107GB:::boot, lvm;

BYT;
/dev/mapper/ubuntu--vg-root:106GB:dm:512:512:unknown:Linux device-mapper (linear):;

BYT;
/dev/mapper/ubuntu--vg-swap_1:1028MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;

BYT;
/dev/zram3:1574MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1574MB:1574MB:linux-swap(v1)::;

BYT;
/dev/zram1:1574MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1574MB:1574MB:linux-swap(v1)::;

BYT;
/dev/sr0:742MB:scsi:2048:2048:unknown:VBOX CD-ROM:;

BYT;
/dev/zram2:1574MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1574MB:1574MB:linux-swap(v1)::;

BYT;
/dev/zram0:1574MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1574MB:1574MB:linux-swap(v1)::;

=================== lsblk:
KNAME TYPE FSTYPE        SIZE LABEL
loop0 loop squashfs    629,3M
sda   disk               100G
sda1  part LVM2_member   100G
sr0   rom  iso9660       708M Boot-Repair-Disk 64bit
zram0 disk               1,5G
zram1 disk               1,5G
zram2 disk               1,5G
zram3 disk               1,5G
dm-0  lvm                 99G
dm-1  lvm  swap          980M

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
sda      1  0  0 running
sda1     1  0  0
sr0      1  0  1 running /cdrom
zram0    0  0  0         [SWAP]
zram1    0  0  0         [SWAP]
zram2    0  0  0         [SWAP]
zram3    0  0  0         [SWAP]
dm-0     1  0  0 running
dm-1     1  0  0 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=6122880k,nr_inodes=1530720,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1230016k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13741)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1230012k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu_dma_latency cuse disk dm-0 dm-1 dri dvd ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom userio vboxguest vboxuser vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control ubuntu--vg-root ubuntu--vg-swap_1

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  5.9G     0  5.9G   0% /dev
tmpfs          tmpfs     1.2G  9.1M  1.2G   1% /run
/dev/sr0       iso9660   708M  708M     0 100% /cdrom
/dev/loop0     squashfs  630M  630M     0 100% /rofs
/cow           overlay   5.9G   87M  5.8G   2% /
tmpfs          tmpfs     5.9G     0  5.9G   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     5.9G  176K  5.9G   1% /tmp
tmpfs          tmpfs     1.2G  4.0K  1.2G   1% /run/user/999

=================== fdisk -l:
Disk /dev/loop0: 629.3 MiB, 659873792 bytes, 1288816 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: 100 GiB, 107374182400 bytes, 209715200 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: 0xea01a2f3

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1  *     2048 209713151 209711104  100G 8e Linux LVM


Disk /dev/zram0: 1.5 GiB, 1574416384 bytes, 384379 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 1.5 GiB, 1574416384 bytes, 384379 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram2: 1.5 GiB, 1574416384 bytes, 384379 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram3: 1.5 GiB, 1574416384 bytes, 384379 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/ubuntu--vg-root: 99 GiB, 106342383616 bytes, 207699968 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/ubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 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


Error: no partitions

** (zenity:13654): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed:  repair-filesystems


=================== User settings
The settings chosen by the user will not act on the boot.
0
задан 18 September 2019 в 11:24

0 ответов

Другие вопросы по тегам:

Похожие вопросы: