sudo su
1. mkdir /mnt/chroot
2. mkdir /mnt/chroot/boot
3. mount /dev/sda5 /mnt/chroot
4. mount /dev/sda1 /mnt/chroot/boot
5. cd /mnt/chroot
6. mount -t proc none proc
7. mount --rbind /sys sys
8. mount --rbind /dev dev
9. chroot /mnt/chroot /bin/bash
10. nano /etc/default/grub (Dosyanın içine eklediğimiz i8042 ile başlayan bütün komutları siliyorsun. Sonra ctrl+x yapacaksın sana kaydetmek isteyip istemediğini soracak y tuşuna basıp kaydedeceksin.)
11. update-grub
12. umount -l -a
Ardından sistemi güç tuşuna basarak kapatabilirsin.
Ne demek benim suçum.Kusura bakmayın uğraştırıyorum sizi.
Hata alırsan buraya yapıştır.Kusura bakmayın uğraştırıyorum sizi.
mint@mint:~$ sudo su
root@mint:/home/mint# mkdir /mnt/chroot
root@mint:/home/mint# mkdir /mnt/chroot/boot
root@mint:/home/mint# mount /dev/sda5 /mnt/chroot
root@mint:/home/mint# mount /dev/sda1 /mnt/chroot/boot
root@mint:/home/mint# cd /mnt/chroot
root@mint:/mnt/chroot# mount -t proc none proc
root@mint:/mnt/chroot# mount --rbind /sys sys
root@mint:/mnt/chroot# mount --rbind /dev dev
root@mint:/mnt/chroot# chroot /mnt/chroot /bin/bash
root@mint:/# nano /etc/default/grub
root@mint:/# update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
/usr/sbin/grub-mkconfig: 268: cannot create /boot/grub/grub.cfg.new: Directory nonexistent
root@mint:/#
Yazıklarımı bir yere not al istersen ileride lazım olabilir.Kusura bakmayın uğraştırıyorum sizi.
Yine benim eşşekliğim bütün dağıtımları aynı sanıyorum. Ubuntu'nun yapısına bir göz atayım.Kod:mint@mint:~$ sudo su root@mint:/home/mint# mkdir /mnt/chroot root@mint:/home/mint# mkdir /mnt/chroot/boot root@mint:/home/mint# mount /dev/sda5 /mnt/chroot root@mint:/home/mint# mount /dev/sda1 /mnt/chroot/boot root@mint:/home/mint# cd /mnt/chroot root@mint:/mnt/chroot# mount -t proc none proc root@mint:/mnt/chroot# mount --rbind /sys sys root@mint:/mnt/chroot# mount --rbind /dev dev root@mint:/mnt/chroot# chroot /mnt/chroot /bin/bash root@mint:/# nano /etc/default/grub root@mint:/# update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' /usr/sbin/grub-mkconfig: 268: cannot create /boot/grub/grub.cfg.new: Directory nonexistent root@mint:/#
ls /boot yazıp çıktsını kopyalayabilirmisin?Kod:mint@mint:~$ sudo su root@mint:/home/mint# mkdir /mnt/chroot root@mint:/home/mint# mkdir /mnt/chroot/boot root@mint:/home/mint# mount /dev/sda5 /mnt/chroot root@mint:/home/mint# mount /dev/sda1 /mnt/chroot/boot root@mint:/home/mint# cd /mnt/chroot root@mint:/mnt/chroot# mount -t proc none proc root@mint:/mnt/chroot# mount --rbind /sys sys root@mint:/mnt/chroot# mount --rbind /dev dev root@mint:/mnt/chroot# chroot /mnt/chroot /bin/bash root@mint:/# nano /etc/default/grub root@mint:/# update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' /usr/sbin/grub-mkconfig: 268: cannot create /boot/grub/grub.cfg.new: Directory nonexistent root@mint:/#
Yaptım dediğinizi.Direk reboot at makineye tekrar livedvd ile aç.
Kod:root@mint:/# ls /boot EFI 'System Volume Information' root@mint:/#
Tamam kodları hemen tekrar düzenliyorum.Yaptım dediğinizi.
Bu sitenin çalışmasını sağlamak için gerekli çerezleri ve deneyiminizi iyileştirmek için isteğe bağlı çerezleri kullanıyoruz.