Pokaż jeszcze wynik:
lsblk -f
Pokaż jeszcze wynik:
lsblk -f
Proszę:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0 0 100% /rofs
loop1 squash 4.0 0 100% /snap/bare/5
loop2 squash 4.0 0 100% /snap/core20/1623
loop3 squash 4.0 0 100% /snap/firefox/1969
loop4 squash 4.0 0 100% /snap/gnome-3-38-2004/119
loop5 squash 4.0 0 100% /snap/gtk-common-themes/1535
loop6 squash 4.0 0 100% /snap/snapd/17336
sda
├─sda1
├─sda2 ntfs BCAEACC0AEAC7494
└─sda3 ntfs DA16A5D916A5B743
sdb
└─sdb1 vfat FAT32 KUBUNTU 22_
1812-4359 54,4G 7% /cdrom
sdc
└─sdc1 ntfs ADATA F28A5D158A5CD7A5
sr0
nvme0n1
├─nvme0n1p1
│ ntfs Odzyskiwanie
│ 01D84E971F2A1730
├─nvme0n1p2
│ vfat FAT32 3458-1225
├─nvme0n1p3
│
├─nvme0n1p4
│ ntfs D6460FBB460F9B7F
├─nvme0n1p5
│ ntfs 96BE0481BE045C5D
├─nvme0n1p6
│ ntfs 01D84E9BF2861300
└─nvme0n1p7
ext4 1.0 7e5f8a6a-9772-42ef-b934-0caac3ecdae3
No to teraz pokaż gdzie montujesz partycję ESP/EFI (/boot/efi), ale trzeba sprawdzić.
sudo su -
mkdir -p /mnt/
mount /dev/nvme0n1p7 /mnt/
I teraz wyniki dwóch komend:
find /mnt/boot
cat /mnt/etc/fstab
Wynik polecenia:
find /mnt/boot
/mnt/boot
/mnt/boot/vmlinuz.old
/mnt/boot/config-5.19.0-23-generic
/mnt/boot/vmlinuz
/mnt/boot/initrd.img.old
/mnt/boot/memtest86+.elf
/mnt/boot/System.map-5.19.0-26-generic
/mnt/boot/initrd.img-5.19.0-23-generic
/mnt/boot/memtest86+_multiboot.bin
/mnt/boot/initrd.img
/mnt/boot/memtest86+.bin
/mnt/boot/vmlinuz-5.19.0-26-generic
/mnt/boot/initrd.img-5.19.0-26-generic
/mnt/boot/vmlinuz-5.19.0-23-generic
/mnt/boot/System.map-5.19.0-23-generic
/mnt/boot/config-5.19.0-26-generic
/mnt/boot/grub
/mnt/boot/grub/fonts
/mnt/boot/grub/fonts/unicode.pf2
/mnt/boot/grub/x86_64-efi
/mnt/boot/grub/x86_64-efi/bufio.mod
/mnt/boot/grub/x86_64-efi/afsplitter.mod
/mnt/boot/grub/x86_64-efi/gfxterm_menu.mod
/mnt/boot/grub/x86_64-efi/sfs.mod
/mnt/boot/grub/x86_64-efi/procfs.mod
/mnt/boot/grub/x86_64-efi/efi_gop.mod
/mnt/boot/grub/x86_64-efi/grub.efi
/mnt/boot/grub/x86_64-efi/newc.mod
/mnt/boot/grub/x86_64-efi/pata.mod
/mnt/boot/grub/x86_64-efi/raid6rec.mod
/mnt/boot/grub/x86_64-efi/video.mod
/mnt/boot/grub/x86_64-efi/gcry_sha512.mod
/mnt/boot/grub/x86_64-efi/luks2.mod
/mnt/boot/grub/x86_64-efi/lsefisystab.mod
/mnt/boot/grub/x86_64-efi/jfs.mod
/mnt/boot/grub/x86_64-efi/echo.mod
/mnt/boot/grub/x86_64-efi/relocator.mod
/mnt/boot/grub/x86_64-efi/bfs.mod
/mnt/boot/grub/x86_64-efi/bitmap_scale.mod
/mnt/boot/grub/x86_64-efi/minix2.mod
/mnt/boot/grub/x86_64-efi/play.mod
/mnt/boot/grub/x86_64-efi/video_cirrus.mod
/mnt/boot/grub/x86_64-efi/usb_keyboard.mod
/mnt/boot/grub/x86_64-efi/nativedisk.mod
/mnt/boot/grub/x86_64-efi/setjmp_test.mod
/mnt/boot/grub/x86_64-efi/reiserfs.mod
/mnt/boot/grub/x86_64-efi/cryptodisk.mod
/mnt/boot/grub/x86_64-efi/mdraid09_be.mod
/mnt/boot/grub/x86_64-efi/pbkdf2_test.mod
/mnt/boot/grub/x86_64-efi/xnu_uuid_test.mod
/mnt/boot/grub/x86_64-efi/gcry_rijndael.mod
/mnt/boot/grub/x86_64-efi/gcry_rfc2268.mod
/mnt/boot/grub/x86_64-efi/lsefi.mod
/mnt/boot/grub/x86_64-efi/minix3.mod
/mnt/boot/grub/x86_64-efi/acpi.mod
/mnt/boot/grub/x86_64-efi/videoinfo.mod
/mnt/boot/grub/x86_64-efi/squash4.mod
/mnt/boot/grub/x86_64-efi/search_label.mod
/mnt/boot/grub/x86_64-efi/cbtable.mod
/mnt/boot/grub/x86_64-efi/gcry_seed.mod
/mnt/boot/grub/x86_64-efi/mmap.mod
/mnt/boot/grub/x86_64-efi/ata.mod
/mnt/boot/grub/x86_64-efi/ntfscomp.mod
/mnt/boot/grub/x86_64-efi/datetime.mod
/mnt/boot/grub/x86_64-efi/zfs.mod
/mnt/boot/grub/x86_64-efi/cpio.mod
/mnt/boot/grub/x86_64-efi/backtrace.mod
/mnt/boot/grub/x86_64-efi/zfsinfo.mod
/mnt/boot/grub/x86_64-efi/tar.mod
/mnt/boot/grub/x86_64-efi/ntfs.mod
/mnt/boot/grub/x86_64-efi/gcry_rmd160.mod
/mnt/boot/grub/x86_64-efi/dm_nv.mod
/mnt/boot/grub/x86_64-efi/memdisk.mod
/mnt/boot/grub/x86_64-efi/diskfilter.mod
/mnt/boot/grub/x86_64-efi/tpm.mod
/mnt/boot/grub/x86_64-efi/gfxterm_background.mod
/mnt/boot/grub/x86_64-efi/hfs.mod
/mnt/boot/grub/x86_64-efi/gcry_md5.mod
/mnt/boot/grub/x86_64-efi/password.mod
/mnt/boot/grub/x86_64-efi/usbserial_common.mod
/mnt/boot/grub/x86_64-efi/ohci.mod
/mnt/boot/grub/x86_64-efi/minicmd.mod
/mnt/boot/grub/x86_64-efi/parttool.lst
/mnt/boot/grub/x86_64-efi/div.mod
/mnt/boot/grub/x86_64-efi/iorw.mod
/mnt/boot/grub/x86_64-efi/partmap.lst
/mnt/boot/grub/x86_64-efi/exfctest.mod
/mnt/boot/grub/x86_64-efi/tftp.mod
/mnt/boot/grub/x86_64-efi/fixvideo.mod
/mnt/boot/grub/x86_64-efi/hfsplus.mod
/mnt/boot/grub/x86_64-efi/loopback.mod
/mnt/boot/grub/x86_64-efi/test.mod
/mnt/boot/grub/x86_64-efi/crypto.mod
/mnt/boot/grub/x86_64-efi/sleep.mod
/mnt/boot/grub/x86_64-efi/macho.mod
/mnt/boot/grub/x86_64-efi/lsacpi.mod
/mnt/boot/grub/x86_64-efi/mpi.mod
/mnt/boot/grub/x86_64-efi/romfs.mod
/mnt/boot/grub/x86_64-efi/part_apple.mod
/mnt/boot/grub/x86_64-efi/part_amiga.mod
/mnt/boot/grub/x86_64-efi/smbios.mod
/mnt/boot/grub/x86_64-efi/raid5rec.mod
/mnt/boot/grub/x86_64-efi/gcry_sha1.mod
/mnt/boot/grub/x86_64-efi/hello.mod
/mnt/boot/grub/x86_64-efi/hfspluscomp.mod
/mnt/boot/grub/x86_64-efi/ldm.mod
/mnt/boot/grub/x86_64-efi/terminal.mod
/mnt/boot/grub/x86_64-efi/eval.mod
/mnt/boot/grub/x86_64-efi/probe.mod
/mnt/boot/grub/x86_64-efi/all_video.mod
/mnt/boot/grub/x86_64-efi/gcry_rsa.mod
/mnt/boot/grub/x86_64-efi/udf.mod
/mnt/boot/grub/x86_64-efi/blocklist.mod
/mnt/boot/grub/x86_64-efi/ahci.mod
/mnt/boot/grub/x86_64-efi/part_plan.mod
/mnt/boot/grub/x86_64-efi/minix3_be.mod
/mnt/boot/grub/x86_64-efi/testload.mod
/mnt/boot/grub/x86_64-efi/pgp.mod
/mnt/boot/grub/x86_64-efi/mdraid09.mod
/mnt/boot/grub/x86_64-efi/memrw.mod
/mnt/boot/grub/x86_64-efi/wrmsr.mod
/mnt/boot/grub/x86_64-efi/efinet.mod
/mnt/boot/grub/x86_64-efi/true.mod
/mnt/boot/grub/x86_64-efi/elf.mod
/mnt/boot/grub/x86_64-efi/afs.mod
/mnt/boot/grub/x86_64-efi/pcidump.mod
/mnt/boot/grub/x86_64-efi/cbls.mod
/mnt/boot/grub/x86_64-efi/ext2.mod
/mnt/boot/grub/x86_64-efi/signature_test.mod
/mnt/boot/grub/x86_64-efi/hexdump.mod
/mnt/boot/grub/x86_64-efi/cbmemc.mod
/mnt/boot/grub/x86_64-efi/tr.mod
/mnt/boot/grub/x86_64-efi/usbserial_pl2303.mod
/mnt/boot/grub/x86_64-efi/gzio.mod
/mnt/boot/grub/x86_64-efi/xnu_uuid.mod
/mnt/boot/grub/x86_64-efi/ufs1.mod
/mnt/boot/grub/x86_64-efi/btrfs.mod
/mnt/boot/grub/x86_64-efi/videotest_checksum.mod
/mnt/boot/grub/x86_64-efi/crypto.lst
/mnt/boot/grub/x86_64-efi/gcry_twofish.mod
/mnt/boot/grub/x86_64-efi/nilfs2.mod
/mnt/boot/grub/x86_64-efi/normal.mod
/mnt/boot/grub/x86_64-efi/minix2_be.mod
/mnt/boot/grub/x86_64-efi/exfat.mod
/mnt/boot/grub/x86_64-efi/terminal.lst
/mnt/boot/grub/x86_64-efi/adler32.mod
/mnt/boot/grub/x86_64-efi/hdparm.mod
/mnt/boot/grub/x86_64-efi/datehook.mod
/mnt/boot/grub/x86_64-efi/bitmap.mod
/mnt/boot/grub/x86_64-efi/bsd.mod
/mnt/boot/grub/x86_64-efi/strtoull_test.mod
/mnt/boot/grub/x86_64-efi/keystatus.mod
/mnt/boot/grub/x86_64-efi/cs5536.mod
/mnt/boot/grub/x86_64-efi/gfxmenu.mod
/mnt/boot/grub/x86_64-efi/gptsync.mod
/mnt/boot/grub/x86_64-efi/videotest.mod
/mnt/boot/grub/x86_64-efi/part_gpt.mod
/mnt/boot/grub/x86_64-efi/video.lst
/mnt/boot/grub/x86_64-efi/help.mod
/mnt/boot/grub/x86_64-efi/setjmp.mod
/mnt/boot/grub/x86_64-efi/http.mod
/mnt/boot/grub/x86_64-efi/regexp.mod
/mnt/boot/grub/x86_64-efi/linux.mod
/mnt/boot/grub/x86_64-efi/xzio.mod
/mnt/boot/grub/x86_64-efi/font.mod
/mnt/boot/grub/x86_64-efi/usbserial_usbdebug.mod
/mnt/boot/grub/x86_64-efi/password_pbkdf2.mod
/mnt/boot/grub/x86_64-efi/part_msdos.mod
/mnt/boot/grub/x86_64-efi/bswap_test.mod
/mnt/boot/grub/x86_64-efi/xnu.mod
/mnt/boot/grub/x86_64-efi/boot.mod
/mnt/boot/grub/x86_64-efi/geli.mod
/mnt/boot/grub/x86_64-efi/gcry_whirlpool.mod
/mnt/boot/grub/x86_64-efi/appleldr.mod
/mnt/boot/grub/x86_64-efi/part_dfly.mod
/mnt/boot/grub/x86_64-efi/gfxterm.mod
/mnt/boot/grub/x86_64-efi/usb.mod
/mnt/boot/grub/x86_64-efi/fshelp.mod
/mnt/boot/grub/x86_64-efi/legacy_password_test.mod
/mnt/boot/grub/x86_64-efi/multiboot.mod
/mnt/boot/grub/x86_64-efi/gcry_dsa.mod
/mnt/boot/grub/x86_64-efi/hashsum.mod
/mnt/boot/grub/x86_64-efi/div_test.mod
/mnt/boot/grub/x86_64-efi/ctz_test.mod
/mnt/boot/grub/x86_64-efi/gcry_crc.mod
/mnt/boot/grub/x86_64-efi/f2fs.mod
/mnt/boot/grub/x86_64-efi/video_colors.mod
/mnt/boot/grub/x86_64-efi/macbless.mod
/mnt/boot/grub/x86_64-efi/part_sun.mod
/mnt/boot/grub/x86_64-efi/crc64.mod
/mnt/boot/grub/x86_64-efi/iso9660.mod
/mnt/boot/grub/x86_64-efi/affs.mod
/mnt/boot/grub/x86_64-efi/time.mod
/mnt/boot/grub/x86_64-efi/cmdline_cat_test.mod
/mnt/boot/grub/x86_64-efi/part_dvh.mod
/mnt/boot/grub/x86_64-efi/modinfo.sh
/mnt/boot/grub/x86_64-efi/video_fb.mod
/mnt/boot/grub/x86_64-efi/lssal.mod
/mnt/boot/grub/x86_64-efi/ufs1_be.mod
/mnt/boot/grub/x86_64-efi/minix_be.mod
/mnt/boot/grub/x86_64-efi/usbms.mod
/mnt/boot/grub/x86_64-efi/reboot.mod
/mnt/boot/grub/x86_64-efi/gettext.mod
/mnt/boot/grub/x86_64-efi/cpio_be.mod
/mnt/boot/grub/x86_64-efi/offsetio.mod
/mnt/boot/grub/x86_64-efi/msdospart.mod
/mnt/boot/grub/x86_64-efi/syslinuxcfg.mod
/mnt/boot/grub/x86_64-efi/gcry_idea.mod
/mnt/boot/grub/x86_64-efi/cpuid.mod
/mnt/boot/grub/x86_64-efi/efi_uga.mod
/mnt/boot/grub/x86_64-efi/read.mod
/mnt/boot/grub/x86_64-efi/ls.mod
/mnt/boot/grub/x86_64-efi/terminfo.mod
/mnt/boot/grub/x86_64-efi/chain.mod
/mnt/boot/grub/x86_64-efi/spkmodem.mod
/mnt/boot/grub/x86_64-efi/ufs2.mod
/mnt/boot/grub/x86_64-efi/testspeed.mod
/mnt/boot/grub/x86_64-efi/part_sunpc.mod
/mnt/boot/grub/x86_64-efi/search_fs_uuid.mod
/mnt/boot/grub/x86_64-efi/gcry_sha256.mod
/mnt/boot/grub/x86_64-efi/json.mod
/mnt/boot/grub/x86_64-efi/net.mod
/mnt/boot/grub/x86_64-efi/cbfs.mod
/mnt/boot/grub/x86_64-efi/rdmsr.mod
/mnt/boot/grub/x86_64-efi/gcry_camellia.mod
/mnt/boot/grub/x86_64-efi/lsefimmap.mod
/mnt/boot/grub/x86_64-efi/core.efi
/mnt/boot/grub/x86_64-efi/zfscrypt.mod
/mnt/boot/grub/x86_64-efi/at_keyboard.mod
/mnt/boot/grub/x86_64-efi/morse.mod
/mnt/boot/grub/x86_64-efi/uhci.mod
/mnt/boot/grub/x86_64-efi/fs.lst
/mnt/boot/grub/x86_64-efi/archelp.mod
/mnt/boot/grub/x86_64-efi/fat.mod
/mnt/boot/grub/x86_64-efi/random.mod
/mnt/boot/grub/x86_64-efi/loadenv.mod
/mnt/boot/grub/x86_64-efi/usbtest.mod
/mnt/boot/grub/x86_64-efi/setpci.mod
/mnt/boot/grub/x86_64-efi/shift_test.mod
/mnt/boot/grub/x86_64-efi/luks.mod
/mnt/boot/grub/x86_64-efi/linuxefi.mod
/mnt/boot/grub/x86_64-efi/mdraid1x.mod
/mnt/boot/grub/x86_64-efi/progress.mod
/mnt/boot/grub/x86_64-efi/efifwsetup.mod
/mnt/boot/grub/x86_64-efi/moddep.lst
/mnt/boot/grub/x86_64-efi/load.cfg
/mnt/boot/grub/x86_64-efi/cmp_test.mod
/mnt/boot/grub/x86_64-efi/lzopio.mod
/mnt/boot/grub/x86_64-efi/halt.mod
/mnt/boot/grub/x86_64-efi/gcry_des.mod
/mnt/boot/grub/x86_64-efi/tga.mod
/mnt/boot/grub/x86_64-efi/parttool.mod
/mnt/boot/grub/x86_64-efi/disk.mod
/mnt/boot/grub/x86_64-efi/gcry_blowfish.mod
/mnt/boot/grub/x86_64-efi/serial.mod
/mnt/boot/grub/x86_64-efi/search.mod
/mnt/boot/grub/x86_64-efi/cbtime.mod
/mnt/boot/grub/x86_64-efi/gcry_tiger.mod
/mnt/boot/grub/x86_64-efi/usbserial_ftdi.mod
/mnt/boot/grub/x86_64-efi/sleep_test.mod
/mnt/boot/grub/x86_64-efi/lsmmap.mod
/mnt/boot/grub/x86_64-efi/part_acorn.mod
/mnt/boot/grub/x86_64-efi/file.mod
/mnt/boot/grub/x86_64-efi/gcry_cast5.mod
/mnt/boot/grub/x86_64-efi/configfile.mod
/mnt/boot/grub/x86_64-efi/video_bochs.mod
/mnt/boot/grub/x86_64-efi/legacycfg.mod
/mnt/boot/grub/x86_64-efi/gcry_serpent.mod
/mnt/boot/grub/x86_64-efi/gcry_arcfour.mod
/mnt/boot/grub/x86_64-efi/jpeg.mod
/mnt/boot/grub/x86_64-efi/aout.mod
/mnt/boot/grub/x86_64-efi/command.lst
/mnt/boot/grub/x86_64-efi/lvm.mod
/mnt/boot/grub/x86_64-efi/part_bsd.mod
/mnt/boot/grub/x86_64-efi/trig.mod
/mnt/boot/grub/x86_64-efi/png.mod
/mnt/boot/grub/x86_64-efi/gcry_md4.mod
/mnt/boot/grub/x86_64-efi/xfs.mod
/mnt/boot/grub/x86_64-efi/search_fs_file.mod
/mnt/boot/grub/x86_64-efi/cmp.mod
/mnt/boot/grub/x86_64-efi/functional_test.mod
/mnt/boot/grub/x86_64-efi/scsi.mod
/mnt/boot/grub/x86_64-efi/keylayouts.mod
/mnt/boot/grub/x86_64-efi/multiboot2.mod
/mnt/boot/grub/x86_64-efi/test_blockarg.mod
/mnt/boot/grub/x86_64-efi/odc.mod
/mnt/boot/grub/x86_64-efi/date.mod
/mnt/boot/grub/x86_64-efi/cat.mod
/mnt/boot/grub/x86_64-efi/zstd.mod
/mnt/boot/grub/x86_64-efi/lspci.mod
/mnt/boot/grub/x86_64-efi/linux16.mod
/mnt/boot/grub/x86_64-efi/extcmd.mod
/mnt/boot/grub/x86_64-efi/loadbios.mod
/mnt/boot/grub/x86_64-efi/pbkdf2.mod
/mnt/boot/grub/x86_64-efi/minix.mod
/mnt/boot/grub/x86_64-efi/priority_queue.mod
/mnt/boot/grub/x86_64-efi/ehci.mod
/mnt/boot/grub/x86_64-efi/mul_test.mod
/mnt/boot/grub/unicode.pf2
/mnt/boot/grub/themes
/mnt/boot/grub/gfxblacklist.txt
/mnt/boot/grub/grubenv
/mnt/boot/grub/locale
/mnt/boot/grub/locale/en@quot.mo
/mnt/boot/grub/locale/en_CA.mo
/mnt/boot/grub/locale/pl.mo
/mnt/boot/grub/locale/en_GB.mo
/mnt/boot/grub/locale/en_AU.mo
/mnt/boot/grub/grub.cfg
/mnt/boot/efi
Wynik polecenia:
cat /mnt/etc/fstab
/etc/fstab: static file system information.
UUID=7e5f8a6a-9772-42ef-b934-0caac3ecdae3 / ext4 errors=remount-ro 0 1
UUID=3458-1225 /boot/efi vfat umask=0077 0 1
/swapfile
Trochę nieczytelnie, ale może coś wywnioskujesz.
Masz screena:
Partycję /dev/nvme0n1p7 masz już zamontowaną, więc teraz zamontuj partycję ESP/EFI, czyli:
mount /dev/nvme0n1p2 /mnt/boot/efi
Teraz zalogujesz się do systemu na dysku twardym za pomocą CHROOT:
for i in /proc /sys /dev /dev/pts; do mount -B $i /mnt$i; done
Zamontuj zmienne środowiskowe firmware komputera:
mount -t efivarfs /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
Logowanie do systemu:
chroot /mnt/
Upragniona przez was reinstalacja Grub2 - o czym zapomnieliście?
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu
Odświeżenie pliku grub.cfg:
update-grub
Wyjście z chroot:
exit
Odmontowanie chrootowanego systemu:
umount -vR /mnt/
Po restarcie komputera włącz BOOT MENU płyty głównej, F12? Wybierz Gruba i zobacz czy wszystko działa.
Jeśli linuks się uruchomi, zaktualizuj go porządnie:
sudo su -
apt-get update
apt-get dist-upgrade
Nie odpowiadam za szkody wynikające z tego, że coś źle przepiszesz, wkleisz, itd. Rób jak uważasz - uważaj jak robisz
Działa!
Jednak po wpisaniu kolejno:
sudo su
apt-get update
apt-get dist-upgrade
Dostałem to:
Czytanie list pakietów… Gotowe
Budowanie drzewa zależności… Gotowe
Odczyt informacji o stanie… Gotowe
Obliczanie aktualizacji… Gotowe
Następujące pakiety zostały zatrzymane:
libc++1
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
root@DAWID-PHANTEKS:/home/dawid#
Poza tym mam errory w repozytoriach:
Stary:1 Index of /ubuntu/ kinetic InRelease
Stary:2 Index of /ubuntu/ kinetic-updates InRelease
Stary:3 http://deb.anydesk.com all InRelease
Stary:4 Index of /ubuntu/ jammy-updates InRelease
Stary:5 Index of /graphics-drivers/ppa/ubuntu kinetic InRelease
Stary:6 Index of /ubuntu/ kinetic-backports InRelease
Stary:7 http://repository.spotify.com stable InRelease
Stary:8 https://dl.google.com/linux/chrome/deb stable InRelease
Pobieranie:9 Index of /wine-builds/ubuntu kinetic InRelease [6 265 B]
Stary:10 Index of /libreoffice/ppa/ubuntu kinetic InRelease
Stary:11 Index of /repos/edge/ stable InRelease
Stary:12 Index of /danielrichter2007/grub-customizer/ubuntu kinetic InRelease
Stary:13 Index of /ubuntu kinetic-security InRelease
Stary:14 Index of /ubuntu jammy-security InRelease
Błąd:9 Index of /wine-builds/ubuntu kinetic InRelease
Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 76F1A20FF987672F
Czytanie list pakietów… Gotowe
W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-large (non-free/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Błąd GPG: Index of /wine-builds/ubuntu kinetic InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 76F1A20FF987672F
E: The repository ‘Index of /wine-builds/ubuntu kinetic InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-pl_PL) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-pl) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target DEP-11-icons-large (non-free/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/ppa.list:7 and /etc/apt/sources.list.d/spotify.list:1
Ustawiałem ci dawno temu źródła oprogramowania i działało. Nagrzmociłeś od nowa milion PPA to masz efekt
No OK - trudno. No i nie ma listy GRUB! Dobra, jak nie ty, to ktoś inny.
Pamiętaj, że ja poznaję Linuxa, a Windowsa potrzebuję do pracy. Wejdę do niego przez UEFI, a miałem na liście.
Po włączeniu kompa włącza mi się domyślnie Kubuntu, dlaczego?? Może coś nie tak wpisałem jestem niedowidzący).
Porządek bootloaderów możesz zmienić przez efibootmgr (to polecenie wyżej) albo NA PEWNO w ustawienach UEFI, to już musisz poszukać w instrukcji płyty głównej.
A czemu uruchamia się domyślnie? No dlatego, że Grub zmienił tzw. BootOrder, ustawiając siebie przez „Windows Boot Loader”
Na linuksie poodłaczaj wszystkie pendrive i pokaż jeszcze raz:
sudo su -
efibootmgr -v
Poza tym mam errory w repozytoriach:
Wróc do postów pisanych nie wiem nawet kiedy, przeanalizuj i popraw.
Nie bardzo mie chyba zrozumialeś…
Przedtem miałem fajnie, bo:
Nie może tak być, że wchodzę do biosu i tam wybieram, bo z tego komputera nie tylko ja korzystam. Windows musi być domyślny.
Tu był też „Windows Boot Menager” lub podobnie.
Wynik efibootmgr -v:
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002,0003,0004
Boot0000* Windows Boot Manager HD(2,GPT,22389707-2710-0000-dda0-806e6f6e6963,0x2aa72e,0x32f4f)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…3…
Boot0001* ubuntu HD(2,GPT,22389707-2710-0000-dda0-806e6f6e6963,0x2aa72e,0x32f4f)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* UEFI:CD/DVD Drive BBS(129,0x0)
Boot0003* UEFI:Removable Device BBS(130,0x0)
Boot0004* UEFI:Network Device BBS(131,0x0)
Okej, domyślny jest Grub, ale brakuje w nim Windowsa.
Pokaż wynik:
sudo os-prober
cat /etc/default/grub
Grub Customizer coś miesza, ja tego nie używam i nie mam zamiaru sprawdzać gdzie trzyma konfig, co nadpisuje, i tak dalej.
wynik sudo os-proper:
/dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
Wynik polecenia
cat /etc/default/grub
W /etc/default/grub masz ustawiony „Windows Boot Loader” jako domyślny.
Pokaż:
find /boot -iname grub.cfg
Dodaj na końcu pliku /etc/default/grub linię:
GRUB_DISABLE_OS_PROBER="false"
Potem:
sudo update-grub
Potem:
grep menuentry /boot/grub/grub.cfg
Tu masz zresztą pokazane, powinno wykryć Windowsa i działać od kopa:
https://linuxconfig.org/booting-a-ms-windows-os-using-grub .
/boot/grub/grub.cfg
/boot/efi/EFI/ubuntu/grub.cfg
No i jest dobrze, drugi odsyła do pierwszego albo na odwrót.
Zrób tam resztę i sprawdź.
Repozytoria uporządkuj tak jak pisałem w poprzednich postach.
Może jak na czas moderacja nie wychwyci jakiegoś niszczycielskiego dd
, a on pewnie go nie rozpozna ani tym bardziej nie sprawdzi co robi w np. wirtualnej maszynie.
@krystian3w po pierwsze ja niczego nie niszczę, chyba, że chodzi Ci o @marcin82
Jeśli chodzi o mój problem, to @marcin82 dzięki, jest wszystko dobrze, menu się pojawia, jak się pojawiało przed tą awarią
@krystian3w ja tylko zaktualizowałem pakiety w sposób, w jaki robię to od może 5, 7 lat.
To chyba był jakby/niby żart do ciebie i do tego, żebyś nic nie pomylił przy przepisywaniu, kopiowaniu
Ten temat został automatycznie zamknięty 30 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.