Linux Mint Türkiye
Linux Mint Destek => Açılış, Kapanış ve Oturum Açma => Konuyu başlatan: Depresif - 17 Haziran 2020, 17:07:57
-
Bilgisayarıma 2. bir hard disk bağlayıp windows 10 ve bazı linux dağırtımları denedim. Kendi sistemime döndüğümdeyse şöyle bir ekranla karşılaştım.
(https://i.ibb.co/YTzr4Ty/KlN60h.jpg) (https://ibb.co/LhLGDhJ)
Düzenleme: Konu başlığı ve resim
-
Lütfen konu başlığının konu içeriğini yansıtır/özetler olmasına özen gösterelim, böylece benzer sorunları yaşayanlar kolayca ulaşabilir.
Eğer çalışan DVD/USB varsa aşağıdaki konu yardımıyla önyükleyiciyi yeniden kurmayı deneyin.
[Nasıl] Grub 2 Önyükleyisinin Onarımı / Yeniden Kurulumu (https://forum.linuxmint.net.tr/index.php?topic=99.0)
Eğer çalışan DVD/USB yoksa şu konuyu inceleyin.
[Çözüldü] Düzenleme Sonrası Grub Açılmama Sorunu ve Çalışan USB/DVD Olmadan Grub Ayar Dosyası Onarım (https://forum.linuxmint.net.tr/index.php?topic=8234.0)
-
Canli usb ile actim sistemi. Kurulum turum de EFI. Ancak Boot Repair da advanced options seceneginin altindaki sekmeler bos gorunuyor. Verdiginiz 2.linkteki cozumu deneyecegim,
(https://i.hizliresim.com/0rZSFo.png) (https://hizliresim.com/0rZSFo)
Mesajlar Birleştirildi.
ls komutuyla 3 bölüm çıktı. (240 Gb lık Ssd)
(hd1,gpt1) 525 Mb
(hd1,gpt2) 750 Mb
(hd1,gpt3) 234 Gb
Linkteki disk bölümlerinden farklı.
-
Aşağıdaki komutun çıktısı ile kontrol edeceksiniz, tamamen aynısı olmaz zaten, kendi sisteminize uyarlayacaksınız. Sisteminiz EFI ise, EFI disk bölümünü bulmamanız gerekiyor. Büyük ihtimalle gpt1 bölümüdür. Aşağıdaki komutun çıktısını paylaşırsınız.
ls (hd1,gpt1) /
-
grub>ls (hd1,gpt1) /
Partition hd1,gpt1:Filesystem type fat,UUID 9860-01FF - Partition efi/ boot-repair/
-
Aşağıdaki komutlarla açılış yapmayı deneyebilirsiniz, yukarıdaki çıktı ile UUID değerini elde etmiş olduk.
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root 9860-01FF
chainloader /efi/boot/bootx64.efi
boot
Açılış yapınca aşağıdaki komutu çalıştırırsınız.
sudo update-grub
Sorun çözülmezse, çalışan DVD/USB ile aşağıdaki komutların çıktılarını paylaşırsınız.
sudo parted -llsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID[ -d /sys/firmware/efi ] && echo "EFI" || echo "Klasik"sudo efibootmgr
-
(https://i.hizliresim.com/ZrJ22d.jpg) (https://hizliresim.com/ZrJ22d)
Bu da istediginiz ciktilar :
mint[member=37]mint[/member]:~$ sudo parted -l
Model: Samsung Flash Drive FIT (scsi)
Disk /dev/sda: 32.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.1GB 32.1GB primary fat32 boot, lba
Model: Force MP510 (nvme)
Disk /dev/nvme0n1: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 1305MB 768MB ext4
3 1305MB 240GB 239GB
mint[member=37]mint[/member]:~$ lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID
NAME SIZE TYPE FSTYPE MOUNTPOINT UUID
loop0 1.8G loop squashfs /rofs
sda 29.9G disk
└─sda1 29.9G part vfat /cdrom 2C4E-13ED
sr0 1024M rom
nvme0n1 223.6G disk
├─nvme0n1p1 512M part vfat 9860-01FF
├─nvme0n1p2 732M part ext4 d265bd4f-5ff2-4080-8d5d-2d81a268f901
└─nvme0n1p3 222.4G part crypto_L 262a1344-6967-4b50-a8a5-1e5aea75ee86
mint[member=37]mint[/member]:~$ [ -d /sys/firmware/efi ] && echo "EFI" || echo "Klasik"
EFI
mint[member=37]mint[/member]:~$ sudo efibootmgr
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0001,0000,0007,0008,0009,000A
Boot0000* ubuntu
Boot0001* Windows Boot Manager
Boot0007* Hard Drive
Boot0008* CD/DVD Drive
Boot0009* UEFI: Samsung Flash Drive FIT 1100, Partition 1
Boot000A* USB
-
Aşağıdaki komutun çıktısını paylaşın, bakalaım alt dizinlerde ne var?
ls -R (hd1,gpt1) /
-
mint[member=37]mint[/member] :~$ ls -R (hd1,gpt1) /
bash: syntax error near unexpected token `('
-
Çalışan DVD altında değil, Grub'taki komut satırında çalıştırıp paylaşacaksınız.
-
grub>ls -R (hd1,gpt1) /
error: unkown argument '-R'
-R yi çıkarıp denedim.
grub>ls (hd1,gpt1) /
efi/ boot-repair/
-
Sorun çözülmezse, çalışan DVD/USB ile aşağıdaki komutların çıktılarını paylaşırsınız.
sudo parted -llsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID[ -d /sys/firmware/efi ] && echo "EFI" || echo "Klasik"sudo efibootmgr
Grub komut satırından ilerlemek mümkün olmadı, yukarıdaki çıktıları çalışan DVD/USB ile paylaşın. Önyükleyeciyi elle onarmayı deneyelim.
-
mint[member=37]mint[/member]:~$ sudo parted -l
Model: Samsung Flash Drive FIT (scsi)
Disk /dev/sda: 32.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 32.1GB 32.1GB primary fat32 boot, lba
Model: Force MP510 (nvme)
Disk /dev/nvme0n1: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 1305MB 768MB ext4
3 1305MB 240GB 239GB
mint[member=37]mint[/member]:~$ lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID
NAME SIZE TYPE FSTYPE MOUNTPOINT UUID
loop0 1.8G loop squashfs /rofs
sda 29.9G disk
└─sda1 29.9G part vfat /cdrom 2C4E-13ED
sr0 1024M rom
nvme0n1 223.6G disk
├─nvme0n1p1 512M part vfat 9860-01FF
├─nvme0n1p2 732M part ext4 d265bd4f-5ff2-4080-8d5d-2d81a268f901
└─nvme0n1p3 222.4G part crypto_L 262a1344-6967-4b50-a8a5-1e5aea75ee86
mint[member=37]mint[/member]:~$ [ -d /sys/firmware/efi ] && echo "EFI" || echo "Klasik"
EFI
mint[member=37]mint[/member]:~$ sudo efibootmgr
BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0001,0000,0007,0008,0009,000A
Boot0000* ubuntu
Boot0001* Windows Boot Manager
Boot0007* Hard Drive
Boot0008* CD/DVD Drive
Boot0009* UEFI: Samsung Flash Drive FIT 1100, Partition 1
Boot000A* USB
-
Sanırım Boot Repair, bir Nvme disk olduğu için sorun çıkardı. Aşağıdaki komutlarla önyükleyiciyi onarmayı deneyebilirsiniz.
sudo mount /dev/vme0n1p3 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo apt-get install --reinstall grub-efi
sudo grub-install /dev/nvme0n1
sudo update-grub
-
Canlı usb ile tüm komutları yazdım.
mint[member=37]mint[/member]:~$ sudo mount /dev/vme0n1p3 /mnt
mount: /mnt: special device /dev/vme0n1p3 does not exist.
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
mint[member=37]mint[/member]:~$ sudo apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/705 kB of archives.
After this operation, 2352 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64-bin amd64 2.02-2ubuntu8.13 [654 kB]
Get:2 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64 amd64 2.02-2ubuntu8.13 [47.8 kB]
Get:3 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi amd64 2.02-2ubuntu8.13 [2584 B]
Preconfiguring packages ...
(Reading database ... 250518 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 250498 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.13) ...
Setting up grub-efi (2.02-2ubuntu8.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
mint[member=37]mint[/member]:~$ sudo grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
mint[member=37]mint[/member]:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
-
└─nvme0n1p3 222.4G part crypto_L 262a1344-6967-4b50-a8a5-1e5aea75ee86
mount: /mnt: special device /dev/vme0n1p3 does not exist.
Kurulum sırasında disk şifrelemeyi mi seçmiştiniz?
Ayrıca aşağıdaki komutları sırasıyla uçbirimde çalıştırıp,
sudo mkdir /nvme0n1p2
sudo mount /dev/nvme0n1p2 /nvme0n1p2
ardından aşağıdaki komutun çıktısını da paylaşın.
ls -R /nvme0n1p2
-
Evet diski sifrelemistim.
mint[member=37]mint[/member]:~$ sudo mkdir /nvme0n1p2
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /nvme0n1p2
mint[member=37]mint[/member]:~$ ls -R /nvme0n1p2
/nvme0n1p2:
System.map-5.0.0-32-generic initrd.img-5.3.0-46-generic
System.map-5.3.0-46-generic initrd.img-5.3.0-51-generic
System.map-5.3.0-51-generic initrd.img-5.3.0-53-generic
System.map-5.3.0-53-generic initrd.img-5.3.0-59-generic
System.map-5.3.0-59-generic lost+found
config-5.0.0-32-generic memtest86+.bin
config-5.3.0-46-generic memtest86+.elf
config-5.3.0-51-generic memtest86+_multiboot.bin
config-5.3.0-53-generic vmlinuz-5.0.0-32-generic
config-5.3.0-59-generic vmlinuz-5.3.0-46-generic
efi vmlinuz-5.3.0-51-generic
grub vmlinuz-5.3.0-53-generic
initrd.img-5.0.0-32-generic vmlinuz-5.3.0-59-generic
/nvme0n1p2/efi:
Boot ubuntu
/nvme0n1p2/efi/Boot:
/nvme0n1p2/efi/ubuntu:
shimx64.efi
/nvme0n1p2/grub:
fonts grub.cfg grubenv locale themes unicode.pf2 x86_64-efi
/nvme0n1p2/grub/fonts:
UbuntuMono16.pf2 unicode.pf2
/nvme0n1p2/grub/locale:
en@quot.mo en_AU.mo en_CA.mo en_GB.mo tr.mo
/nvme0n1p2/grub/themes:
linuxmint
/nvme0n1p2/grub/themes/linuxmint:
LICENSE item_c.png select_w.png theme.txt
background.png select_c.png selected_item_c.png
icons select_e.png terminal_box_c.png
/nvme0n1p2/grub/themes/linuxmint/icons:
Manjaro.i686.png driver.png kali.png mageia.png type.png
Manjaro.x86_64.png edit.png kaos.png manjaro.png tz.png
antergos.png efi.png kbd.png memtest.png ubuntu.png
arch.png elementary.png korora.png opensuse.png unknown.png
archlinux.png endeavouros.png kubuntu.png pop-os.png unset.png
arcolinux.png fedora.png lang.png recovery.png void.png
cancel.png find.efi.png lfs.png restart.png windows.png
chakra.png find.none.png linux.png shutdown.png xubuntu.png
debian.png gentoo.png linuxmint.png siduction.png
deepin.png gnu-linux.png lubuntu.png solus.png
devuan.png help.png macosx.png steamos.png
/nvme0n1p2/grub/x86_64-efi:
acpi.mod gcry_twofish.mod part_sun.mod
adler32.mod gcry_whirlpool.mod part_sunpc.mod
affs.mod geli.mod partmap.lst
afs.mod gettext.mod parttool.lst
ahci.mod gfxmenu.mod parttool.mod
all_video.mod gfxterm.mod password.mod
aout.mod gfxterm_background.mod password_pbkdf2.mod
appleldr.mod gfxterm_menu.mod pata.mod
archelp.mod gptsync.mod pbkdf2.mod
at_keyboard.mod grub.efi pbkdf2_test.mod
ata.mod gzio.mod pcidump.mod
backtrace.mod halt.mod play.mod
bfs.mod hashsum.mod png.mod
bitmap.mod hdparm.mod priority_queue.mod
bitmap_scale.mod hello.mod probe.mod
blocklist.mod help.mod procfs.mod
boot.mod hexdump.mod progress.mod
bsd.mod hfs.mod raid5rec.mod
bswap_test.mod hfsplus.mod raid6rec.mod
btrfs.mod hfspluscomp.mod random.mod
bufio.mod http.mod read.mod
cat.mod iorw.mod reboot.mod
cbfs.mod iso9660.mod regexp.mod
cbls.mod jfs.mod reiserfs.mod
cbmemc.mod jpeg.mod relocator.mod
cbtable.mod keylayouts.mod romfs.mod
cbtime.mod keystatus.mod scsi.mod
chain.mod ldm.mod search.mod
cmdline_cat_test.mod legacy_password_test.mod search_fs_file.mod
cmp.mod legacycfg.mod search_fs_uuid.mod
cmp_test.mod linux.mod search_label.mod
command.lst linux16.mod serial.mod
configfile.mod linuxefi.mod setjmp.mod
core.efi load.cfg setjmp_test.mod
cpio.mod loadbios.mod setpci.mod
cpio_be.mod loadenv.mod sfs.mod
cpuid.mod loopback.mod shift_test.mod
crc64.mod ls.mod signature_test.mod
crypto.lst lsacpi.mod sleep.mod
crypto.mod lsefi.mod sleep_test.mod
cryptodisk.mod lsefimmap.mod spkmodem.mod
cs5536.mod lsefisystab.mod squash4.mod
ctz_test.mod lsmmap.mod syslinuxcfg.mod
date.mod lspci.mod tar.mod
datehook.mod lssal.mod terminal.lst
datetime.mod luks.mod terminal.mod
disk.mod lvm.mod terminfo.mod
diskfilter.mod lzopio.mod test.mod
div.mod macbless.mod test_blockarg.mod
div_test.mod macho.mod testload.mod
dm_nv.mod mdraid09.mod testspeed.mod
echo.mod mdraid09_be.mod tftp.mod
efi_gop.mod mdraid1x.mod tga.mod
efi_uga.mod memdisk.mod time.mod
efifwsetup.mod memrw.mod tr.mod
efinet.mod minicmd.mod trig.mod
ehci.mod minix.mod true.mod
elf.mod minix2.mod udf.mod
eval.mod minix2_be.mod ufs1.mod
exfat.mod minix3.mod ufs1_be.mod
exfctest.mod minix3_be.mod ufs2.mod
ext2.mod minix_be.mod uhci.mod
extcmd.mod mmap.mod usb.mod
fat.mod moddep.lst usb_keyboard.mod
file.mod modinfo.sh usbms.mod
fixvideo.mod morse.mod usbserial_common.mod
font.mod mpi.mod usbserial_ftdi.mod
fs.lst msdospart.mod usbserial_pl2303.mod
fshelp.mod mul_test.mod usbserial_usbdebug.mod
functional_test.mod multiboot.mod usbtest.mod
gcry_arcfour.mod multiboot2.mod verify.mod
gcry_blowfish.mod nativedisk.mod video.lst
gcry_camellia.mod net.mod video.mod
gcry_cast5.mod newc.mod video_bochs.mod
gcry_crc.mod nilfs2.mod video_cirrus.mod
gcry_des.mod normal.mod video_colors.mod
gcry_dsa.mod ntfs.mod video_fb.mod
gcry_idea.mod ntfscomp.mod videoinfo.mod
gcry_md4.mod odc.mod videotest.mod
gcry_md5.mod offsetio.mod videotest_checksum.mod
gcry_rfc2268.mod ohci.mod xfs.mod
gcry_rijndael.mod part_acorn.mod xnu.mod
gcry_rmd160.mod part_amiga.mod xnu_uuid.mod
gcry_rsa.mod part_apple.mod xnu_uuid_test.mod
gcry_seed.mod part_bsd.mod xzio.mod
gcry_serpent.mod part_dfly.mod zfs.mod
gcry_sha1.mod part_dvh.mod zfscrypt.mod
gcry_sha256.mod part_gpt.mod zfsinfo.mod
gcry_sha512.mod part_msdos.mod
gcry_tiger.mod part_plan.mod
ls: cannot open directory '/nvme0n1p2/lost+found': Permission denied
-
Sistemi yeniden başlatıp aşağıdaki komutları dener misiniz? Sanırım /nvme0n1p2 /boot bölümü.
sudo mount /dev/nvme0n1p2 /mnt
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
chroot /mnt
sudo apt-get install --reinstall grub-efi
sudo grub-install /dev/nvme0n1
sudo update-grub
-
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /mnt
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
mint[member=37]mint[/member]:~$ chroot /mnt
chroot: cannot change root directory to '/mnt': Operation not permitted
mint[member=37]mint[/member]:~$ sudo apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/705 kB of archives.
After this operation, 2352 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64-bin amd64 2.02-2ubuntu8.13 [654 kB]
Get:2 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64 amd64 2.02-2ubuntu8.13 [47.8 kB]
Get:3 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi amd64 2.02-2ubuntu8.13 [2584 B]
Preconfiguring packages ...
(Reading database ... 250518 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 250498 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.13) ...
Setting up grub-efi (2.02-2ubuntu8.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
mint[member=37]mint[/member]:~$ sudo grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
mint[member=37]mint[/member]:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
mint[member=37]mint[/member]:~$
-
Sistemi yeniden başlatıp, aşağıdaki komutları deneyin bakalım.
sudo mount /dev/nvme0n1p2 /mnt
sudo mkdir -p /mnt/boot/efi
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo chroot /mnt
sudo apt-get install --reinstall grub-efi
sudo grub-install /dev/nvme0n1
sudo update-grub
-
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /mnt
mint[member=37]mint[/member]:~$ sudo mkdir -p /mnt/boot/efi
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
mint[member=37]mint[/member]:~$ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
mint[member=37]mint[/member]:~$ sudo apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/705 kB of archives.
After this operation, 2352 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64-bin amd64 2.02-2ubuntu8.13 [654 kB]
Get:2 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64 amd64 2.02-2ubuntu8.13 [47.8 kB]
Get:3 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi amd64 2.02-2ubuntu8.13 [2584 B]
Preconfiguring packages ...
(Reading database ... 250518 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 250498 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.13) ...
Setting up grub-efi (2.02-2ubuntu8.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
mint[member=37]mint[/member]:~$ sudo grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
mint[member=37]mint[/member]:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
-
chroot: failed to run command ‘/bin/bash’: No such file or directory
Aşağıdaki komutları dener misiniz?
sudo mount /dev/nvme0n1p2 /mnt
sudo mkdir -p /mnt/boot/efi
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
mount --bind /bin /mnt/bin
sudo chroot /mnt
sudo apt-get install --reinstall grub-efi
sudo grub-install /dev/nvme0n1
sudo update-grub
-
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /mnt
mint[member=37]mint[/member]:~$ sudo mkdir -p /mnt/boot/efi
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p1 /mnt/boot/efi
mint[member=37]mint[/member]:~$ mount --bind /bin /mnt/bin
mount: only root can use "--bind" option
mint[member=37]mint[/member]:~$ sudo chroot /mnt
chroot: failed to run command ‘/bin/bash’: No such file or directory
mint[member=37]mint[/member]:~$ sudo apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/705 kB of archives.
After this operation, 2352 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64-bin amd64 2.02-2ubuntu8.13 [654 kB]
Get:2 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi-amd64 amd64 2.02-2ubuntu8.13 [47.8 kB]
Get:3 cdrom://Linux Mint 19.3 _Tricia_ - Release amd64 20191213 bionic/main amd64 grub-efi amd64 2.02-2ubuntu8.13 [2584 B]
Preconfiguring packages ...
(Reading database ... 250518 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.7) ...
Removing grub-pc (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 250498 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.13) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02-2ubuntu8.13_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.13) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.13) ...
Setting up grub-efi (2.02-2ubuntu8.13) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
mint[member=37]mint[/member]:~$ sudo grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
mint[member=37]mint[/member]:~$ sudo update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.
-
Bu sorunun benzerini sanalda oluşturup, bir çözüm bulursam dönüş yapayım. Sanırım asıl yapılması gereken öncelikle şifrelenmiş diski bağlama olacak. Eğer böyle yapılırsa, sorun daha kolay çözülebilir.
-
Peki dosyalarımı alma imkanım olabilir mi ? Harddisk ve kullanıcı şifrelerini biliyorum.
Bir not ekleyeyim : 2. harddiskte denediğim Windows 10'un boot loader ı da bu diskte görünüyor.
-
Sistemi çalışan DVD/USB ile açıp, aşağıdaki komutlarla şifreli disk bölümünü bağlamayı deneyiniz. Sizden parola istendiğinde, açılış sırasında şifreli disk bölümünü bağlamak için girdiğiniz parolayı yazmalısınız.
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
Bu işlem ile disk bölümünü bağladıktan sonra, Boot Repair uygulamasını açınız. Artık Grub konumu bölümü aşağıdaki gibi görünecektir. Böylece Boot Repair ile önyükleyiciyi onarmayı deneyebilirsiniz.
(https://i.ibb.co/Wn9LWYR/boot-repair-efi-boot-en.png)
(https://i.ibb.co/10q6CnD/boot-repair-efi-boot-tr.png)
-
Verdiginiz komutla aynen paylastiginiz ekran goruntusu saglandi. Boot Repair uygulamasinin verdigi komutlari da girdim. Ancak hala sorun devam ediyor.
mint[member=37]mint[/member]:~$ sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
Enter passphrase for /dev/nvme0n1p3:
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" dpkg --configure -a
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" apt-get install -fy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" apt-get install -y mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
mdadm is already the newest version (4.1~rc1-3~ubuntu18.04.4).
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" mdadm --assemble --scan
mdadm: No arrays found in config file or automatically
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" apt-get install -y lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.02.176-4.1ubuntu3.18.04.3).
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" apt-get purge -y grub*-common grub-common:i386 shim-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-common' for glob 'grub*-common'
Note, selecting 'grub2-common' for glob 'grub*-common'
Package 'grub-common:i386' is not installed, so not removed. Did you mean 'grub-common'?
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser shim x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed*
grub2-common* shim-signed*
0 upgraded, 0 newly installed, 6 to remove and 35 not upgraded.
After this operation, 21.3 MB disk space will be freed.
(Reading database ... 476122 files and directories currently installed.)
Removing shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
Removing grub-efi-amd64-signed (1.93.16+2.02-2ubuntu8.15) ...
Removing grub-efi-amd64 (2.02-2ubuntu8.15) ...
Removing grub2-common (2.02-2ubuntu8.15) ...
Removing grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Removing grub-common (2.02-2ubuntu8.15) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: stop
Running in chroot, ignoring request: daemon-reload
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
(Reading database ... 475738 files and directories currently installed.)
Purging configuration files for grub-efi-amd64 (2.02-2ubuntu8.15) ...
Purging configuration files for shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
Purging configuration files for grub-common (2.02-2ubuntu8.15) ...
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
dpkg: warning: while removing grub-common, directory '/etc/grub.d' not empty so not removed
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.41) ...
Running in chroot, ignoring request: daemon-reload
Processing triggers for ubuntu-system-adjustments (2019.12.09.1) ...
Reloading systemd
Running in chroot, ignoring request: daemon-reload
Removed /etc/systemd/system/multi-user.target.wants/hddtemp.service.
Created symlink /etc/systemd/system/multi-user.target.wants/hddtemp.service → /etc/systemd/system/hddtemp.service.
mint[member=37]mint[/member]:~$ sudo chroot "/mnt/boot-sav/mapper/mint--vg-root" apt-get install -y grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser shim x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
Recommended packages:
os-prober
The following NEW packages will be installed:
grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub2-common
0 upgraded, 5 newly installed, 0 to remove and 35 not upgraded.
Need to get 0 B/3012 kB of archives.
After this operation, 16.5 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 475721 files and directories currently installed.)
Preparing to unpack .../grub-common_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-common (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub2-common (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.15) ...
Setting up grub-common (2.02-2ubuntu8.15) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
Processing triggers for ubuntu-system-adjustments (2019.12.09.1) ...
Reloading systemd
Running in chroot, ignoring request: daemon-reload
Removed /etc/systemd/system/multi-user.target.wants/hddtemp.service.
Created symlink /etc/systemd/system/multi-user.target.wants/hddtemp.service → /etc/systemd/system/hddtemp.service.
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up grub2-common (2.02-2ubuntu8.15) ...
Processing triggers for systemd (237-3ubuntu10.41) ...
Running in chroot, ignoring request: daemon-reload
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.15) ...
Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up grub-efi (2.02-2ubuntu8.15) ...
Mesajlar Birleştirildi.
Aslında asıl derdim dosyalarımı alabilmek.
-
Dosyalarını şu aşamadan sonra alabilirsin aslında. Aşağıdaki komutla şifrelenmiş disk sisteme bağlanıyor.
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
Grub önyükleyiciyi aşağıdaki komutlarla onarmayı deneyebilirsiniz. İlk komutta şifreli disk bölümünü açmak için girdiğiniz parolayı yazacaksınız
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
sudo vgscan --mknodes
sudo vgchange -ay
sudo mount /dev/mapper/mint--vg-root /mnt
sudo mount /dev/nvme0n1p2 /mnt/boot
sudo mount /dev/nvme0n1p2 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
cp /etc/resolv.conf /mnt/cp /etc/resolv.conf
sudo chroot /mnt /bin/bash
source /etc/profile
apt update
apt install lvm2
apt install --reinstall grub-efi grub2-theme-mint
grub-install /dev/nvme0n1
update-grub
update-initramfs -u -k all
-
Harddisk sifresiyle ev dizinine ulasabiliyorum ancak bos gorunuyor. Ev dizini sifreli oldugu icin olabilir,
mint[member=37]mint[/member]:~$ sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
Enter passphrase for /dev/nvme0n1p3:
mint[member=37]mint[/member]:~$ sudo vgscan --mknodes
Reading volume groups from cache.
Found volume group "mint-vg" using metadata type lvm2
mint[member=37]mint[/member]:~$ sudo vgchange -ay
2 logical volume(s) in volume group "mint-vg" now active
mint[member=37]mint[/member]:~$ sudo mount /dev/mapper/mint--vg-root /mnt
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /mnt/boot
mint[member=37]mint[/member]:~$ sudo mount /dev/nvme0n1p2 /mnt/boot/efi
mint[member=37]mint[/member]:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
mint[member=37]mint[/member]:~$ cp /etc/resolv.conf /mnt/cp /etc/resolv.conf
cp: target '/etc/resolv.conf' is not a directory
mint[member=37]mint[/member]:~$ sudo chroot /mnt /bin/bash
root[member=37]mint[/member]:/# source /etc/profile
root[member=37]mint[/member]:/# apt update
Hit:1 http://ubuntu.vargonen.com/ubuntu bionic InRelease
Ign:2 http://mint.ipacct.com/packages tricia InRelease
Get:3 http://ubuntu.vargonen.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Hit:5 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease
Hit:6 http://mint.ipacct.com/packages tricia Release
Get:7 http://ubuntu.vargonen.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:9 http://repository.spotify.com stable InRelease
Hit:10 https://repo.skype.com/deb stable InRelease
Get:12 http://ubuntu.vargonen.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [294 kB]
Get:13 http://ubuntu.vargonen.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:14 http://ubuntu.vargonen.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2468 B]
Get:15 http://ubuntu.vargonen.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7968 B]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [46.0 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2464 B]
Fetched 933 kB in 2s (591 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
root[member=37]mint[/member]:/# apt install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.02.176-4.1ubuntu3.18.04.3).
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser shim x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
root[member=37]mint[/member]:/# apt install --reinstall grub-efi grub2-theme-mint
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdrm-dev libegl1-mesa-dev libgl1-mesa-dev libgles1 libgles2-mesa-dev
libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libopengl0
libpthread-stubs0-dev libqt5concurrent5 libwayland-bin libwayland-dev
libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic linux-modules-extra-5.3.0-46-generic
linux-modules-extra-5.3.0-51-generic mesa-common-dev qt5-default qt5-qmake
qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtchooser shim x11proto-core-dev
x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 35 not upgraded.
Need to get 246 kB/249 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://mint.ipacct.com/packages tricia/main amd64 grub2-theme-mint all 1.2.2 [246 kB]
Fetched 246 kB in 0s (1021 kB/s)
(Reading database ... 476107 files and directories currently installed.)
Preparing to unpack .../grub2-theme-mint_1.2.2_all.deb ...
Unpacking grub2-theme-mint (1.2.2) over (1.2.2) ...
Preparing to unpack .../grub-efi_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.15) over (2.02-2ubuntu8.15) ...
Setting up grub2-theme-mint (1.2.2) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-5.3.0-59-generic
Found initrd image: /boot/initrd.img-5.3.0-59-generic
Found linux image: /boot/vmlinuz-5.3.0-53-generic
Found initrd image: /boot/initrd.img-5.3.0-53-generic
Found linux image: /boot/vmlinuz-5.3.0-51-generic
Found initrd image: /boot/initrd.img-5.3.0-51-generic
Found linux image: /boot/vmlinuz-5.3.0-46-generic
Found initrd image: /boot/initrd.img-5.3.0-46-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-4.15.0-106-generic
Found initrd image: /boot/initrd.img-4.15.0-106-generic
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi (2.02-2ubuntu8.15) ...
root[member=37]mint[/member]:/# grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root[member=37]mint[/member]:/# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
Generating grub configuration file ...
Found theme: /boot/grub/themes/linuxmint/theme.txt
Found linux image: /boot/vmlinuz-5.3.0-59-generic
Found initrd image: /boot/initrd.img-5.3.0-59-generic
Found linux image: /boot/vmlinuz-5.3.0-53-generic
Found initrd image: /boot/initrd.img-5.3.0-53-generic
Found linux image: /boot/vmlinuz-5.3.0-51-generic
Found initrd image: /boot/initrd.img-5.3.0-51-generic
Found linux image: /boot/vmlinuz-5.3.0-46-generic
Found initrd image: /boot/initrd.img-5.3.0-46-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-4.15.0-106-generic
Found initrd image: /boot/initrd.img-4.15.0-106-generic
Adding boot menu entry for EFI firmware configuration
done
root[member=37]mint[/member]:/# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-5.3.0-59-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
update-initramfs: Generating /boot/initrd.img-5.3.0-53-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
update-initramfs: Generating /boot/initrd.img-5.3.0-51-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
update-initramfs: Generating /boot/initrd.img-5.3.0-46-generic
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
-
Çıktılarda bir sorun görünmüyor, kontrol için yeniden başlattınız mı?
Sorun çözülmediyse aşağıdaki komutları yeniden deneyiniz. Ufak bir düzeltme yaptım.
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
sudo vgscan --mknodes
sudo vgchange -ay
sudo mount /dev/mapper/mint--vg-root /mnt
sudo mount /dev/nvme0n1p2 /mnt/boot
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
cp /etc/resolv.conf /mnt/cp /etc/resolv.conf
sudo chroot /mnt /bin/bash
source /etc/profile
apt update
apt install lvm2
apt install --reinstall grub-efi grub2-theme-mint
grub-install /dev/nvme0n1
update-grub
update-initramfs -u -k all
Şifrelenmiş ev dizinine ulaşmak için buradaki (https://forum.linuxmint.net.tr/index.php?topic=10585.msg64845#msg64845) konu incelenebilir.
-
Çok sağolun. İlginiz, emeğiniz için çok teşekkürler.
-
Rica ederiz. Grub sorunu mu çözüldü yoksa, verileri mi kurtardınız?
-
Kodları girip sistemi yeniden başlatınca kullanıcı girişi ekranı geldi ve normal bi şekilde sistem açıldı.
-
Bu durumda konuyu kilitleyelim.
[okay]Sorun çözüldüğü için konu kilitlenmiştir.[/okay]