بوت ریپیر نصب کردم
روی ریکامند هم کلیک کردم بعد صفحه ای میاد که میگه باید گراب رو حذف کنم احتمالا
sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda1" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
ولی این دستورات تو ترمینال خوب اجرا نمیشن و اون صفحه که باید ازم تایید بگیره تا گراب حذف بشه نمیاد !
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -a
Setting up brltty (5.0-2ubuntu3) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service brltty
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package brltty (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up util-linux (2.25.2-4ubuntu2) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-53-generic
Errors were encountered while processing:
brltty
util-linux
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" 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:
bsh jetty jsvc libbsh-java libcommons-daemon-java libeasymock-java
libidl-common libidl0 libjetty-java libnetx-java liboil0.3 liborbit2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1364 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up util-linux (2.25.2-4ubuntu2) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up brltty (5.0-2ubuntu3) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service brltty
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package brltty (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-53-generic
Errors were encountered while processing:
util-linux
brltty
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda1" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-common' for regex 'grub*-common'
Note, selecting 'linux-signed-image-3.19.0-15-generic' for regex 'linux-signed*'
Note, selecting 'efilinux-signed' for regex 'linux-signed*'
Note, selecting 'linux-signed-generic' for regex 'linux-signed*'
Note, selecting 'linux-signed-image-3.13.0-52-generic' for regex 'linux-signed*'
Note, selecting 'linux-signed-image-3.19.0-16-generic' for regex 'linux-signed*'
Note, selecting 'linux-signed-image-generic' for regex 'linux-signed*'
Package 'linux-signed-image-3.19.0-15-generic' is not installed, so not removed
Package 'shim-signed' is not installed, so not removed
Package 'efilinux-signed' is not installed, so not removed
Package 'grub-common:i386' is not installed, so not removed. Did you mean 'grub-common'?
Package 'linux-signed-generic' is not installed, so not removed
Package 'linux-signed-image-3.19.0-16-generic' is not installed, so not removed
Package 'linux-signed-image-generic' is not installed, so not removed
The following packages were automatically installed and are no longer required:
bsh jetty jsvc libbsh-java libcommons-daemon-java libeasymock-java
libidl-common libidl0 libjetty-java libnetx-java liboil0.3 liborbit2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
grub-common* grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub2-common*
linux-signed-image-3.13.0-52-generic*
0 upgraded, 0 newly installed, 6 to remove and 1359 not upgraded.
2 not fully installed or removed.
After this operation, 16.6 MB disk space will be freed.
Setting up util-linux (2.25.2-4ubuntu2) ...
insserv: Service mountdevsubfs has to be enabled to start service hwclock
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@ubuntu:~$