(I've already ask the question in the Ubuntu Community - sorry if it duplicates)
The problem:
So the start was that I wanted to extend one of my partition to get bigger (with formatting another one). I did it with boot stick, but exactly when the extendening has started something went wrong and and the whole system collapsed. Ever since only the GRU (minimal bash) is starting as in this page Ive tried this solution, however this does not work. Ive also tried the fsck command to restore the status of my partition but it did not work either.
I`ve also tried similar solutions:
ls set prefix=(hd0,1)/boot/grub #note: maybe (hd0,2) or (hd0,3) set root=(loop0) set ls /boot insmod /boot/grub/linux.mod linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro #note: maybe sda2 or sda3 to match #2 above. initrd /initrd.img boot
however it always says that here is no vmlinuz file however i can see it when i command ls.
The boot repair does not offer me to repair the problem, and the info is this:
boot-repair-4ppa129 [20210403_0256] ============================== Boot Info Summary =============================== => Grub Legacy is installed in the MBR of /dev/sda and looks at sector 404309320 of the same hard drive for the stage2 file, but no stage2 files can be found at this location.. sda1: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /efi/ubuntu/fwupx64.efi /efi/ubuntu/grubx64.efi /efi/ubuntu/MokManager.efi /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg /grub/i386-pc/core.img sda2: __________________________________________________________________________ File system: vfat Boot sector type: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sda3: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda4: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: /boot/grub/i386-pc/core.img ================================ 0 OS detected ================================= ============================ Architecture/Host Info ============================ CPU architecture: 64-bit Live-session OS is Ubuntu 64-bit (Ubuntu 16.04.1 LTS, xenial, x86_64) ===================================== UEFI ===================================== BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot enabled. efibootmgr -v BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0000,2002,2001,2003 Boot0000* ubuntu HD(1,GPT,3ba27a69-b6cc-46c0-8440-83c31d4490e9,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0001* ATAPI CDROM: MATSHITA DVD-RAM UJ8HC PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,0,0)/CDROM(1,0xb2a9c,0x1280)RC Boot0003* WDC WD5000LPVX-22V0TT0 BBS(HD,,0x500)................-...........A......................................,........A......................... Boot0004* MATSHITA DVD-RAM UJ8HC BBS(CDROM,,0x500)................-...........A......................................,........A......................... Boot0005* Memorex TRAVELDRIVE 005B BBS(Network,,0x500)............................................................................A........................... Boot2001* EFI USB Device RC Boot2002* EFI DVD/CDROM RC Boot2003* EFI Network RC This session has been detected as 'live' because /proc/cmdline contains (boot=casper) This session has been detected as 'live' because df -Th / contains overlay d73bbea8b6c047d2a706472f87d3ccdb sda1/ubuntu/fwupx64.efi 431681ef094d1d7bebd85f742ceb8cbe sda1/ubuntu/grubx64.efi ba8a7979ac57f1c0c307ef94d1020eb8 sda1/ubuntu/MokManager.efi ded965934506efb38a6dcb9ac5b2b79e sda1/ubuntu/shimx64.efi ============================= Drive/Partition Info ============================= Disks info: ____________________________________________________________________ sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes Partitions info (1/3): _________________________________________________________ sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, grubenv-ok, noupdategrub, not-far sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios Partitions info (2/3): _________________________________________________________ sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot Partitions info (3/3): _________________________________________________________ sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda4 : is-sepboot, no-kernel, part-has-no-fstab, not-sep-usr, emptyusr, part-has-no-fstab, std-grub.d, sda fdisk -l (filtered): ___________________________________________________________ Disk ram0: 64 MiB, 67108864 bytes, 131072 sectors Disk ram1: 64 MiB, 67108864 bytes, 131072 sectors Disk ram2: 64 MiB, 67108864 bytes, 131072 sectors Disk ram3: 64 MiB, 67108864 bytes, 131072 sectors Disk ram4: 64 MiB, 67108864 bytes, 131072 sectors Disk ram5: 64 MiB, 67108864 bytes, 131072 sectors Disk ram6: 64 MiB, 67108864 bytes, 131072 sectors Disk ram7: 64 MiB, 67108864 bytes, 131072 sectors Disk ram8: 64 MiB, 67108864 bytes, 131072 sectors Disk ram9: 64 MiB, 67108864 bytes, 131072 sectors Disk ram10: 64 MiB, 67108864 bytes, 131072 sectors Disk ram11: 64 MiB, 67108864 bytes, 131072 sectors Disk ram12: 64 MiB, 67108864 bytes, 131072 sectors Disk ram13: 64 MiB, 67108864 bytes, 131072 sectors Disk ram14: 64 MiB, 67108864 bytes, 131072 sectors Disk ram15: 64 MiB, 67108864 bytes, 131072 sectors Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors Disk identifier: 1A293FAC-8EC4-481A-8FE6-A32ED17116AC Start End Sectors Size Type sda1 2048 1050623 1048576 512M EFI System sda2 1050624 40757247 39706624 19G Microsoft basic data sda3 968540160 976771071 8230912 3.9G Linux swap sda4 40757248 968540159 927782912 442.4G Linux filesystem Partition table entries are not in disk order. parted -lm (filtered): _________________________________________________________ sda:500GB:scsi:512:4096:gpt:ATA WDC WD5000LPVX-2:; 1:1049kB:538MB:537MB:fat32::boot, esp; 2:538MB:20.9GB:20.3GB:fat32::msftdata; 4:20.9GB:496GB:475GB:ext2::; 3:496GB:500GB:4214MB:linux-swap(v1)::; sr0:1513MB:scsi:2048:2048:mac:MATSHITA DVD-RAM UJ8HC:; 1:2048B:6143B:4096B::Apple:; 2:1499MB:1501MB:2425kB::EFI:; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda ├─sda1 vfat 375D-49AD 3ba27a69-b6cc-46c0-8440-83c31d4490e9 ├─sda2 vfat 4DA7-2B07 bd46422e-5d84-46bf-b33f-fd700977f646 ducati ├─sda3 swap 10e49605-09e8-4687-a01d-331bd8c1daff b98655fd-7760-4d0e-ab29-ba19d4564601 └─sda4 ext4 b1eee134-4a9e-41b8-8624-8ce8dccfb50a 5a1c263a-5c51-44c8-8034-c5b653d8033b df (filtered): _________________________________________________________________ Avail Use% Mounted on sda1 501.9M 2% /mnt/boot-sav/sda1 sda2 19G 0% /mnt/boot-sav/sda2 sda4 275.8G 0% /mnt/boot-sav/sda4 Mount options: __________________________________________________________________ sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro sda2 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro sda4 rw,relatime,block_validity,delalloc,barrier,user_xattr,acl ===================== sda1/efi/ubuntu/grub.cfg (filtered) ====================== search.fs_uuid b1eee134-4a9e-41b8-8624-8ce8dccfb50a root hd0,gpt4 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ==================== sda1: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? grub/i386-pc/core.img 1 ==================== sda4: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) 87.566604614 = 94.023925760 boot/grub/i386-pc/core.img 1 =============================== StdErr Messages ================================ File descriptor 63 (pipe:[77927]) leaked on lvs invocation. Parent PID 8428: /bin/bash Suggested repair: ______________________________________________________________ The default repair of the Boot-Repair utility would not act on the boot.
Do you propose any solution which could fix this?
The other thing which came in to my mind is simply to install again a new ubuntu - do you think i could reach the content of the mighty faulty partition?
One more info - in gparted my system looks like this:
Thank you in advance!!!!
https://stackoverflow.com/questions/66927888/stuck-at-grub-partition-problem-ubuntu April 03, 2021 at 01:04PM
没有评论:
发表评论