Hi everyone, recently parrot 4.7 came out and a lot of user face the same issue which is:
Here is a quick way of solving it without reinstalling the entire system:
1) Get a live usb of parrot or any debian distro and boot live.
2) Run this command:
sudo fdisk -l
fdisk will list all drive connected and partitions on them. On this list you have to find a few things:
- your root partition called “/”
- a /boot partition if you have one
3) For the next set of commands, we will use sda1 as our /boot and sda2 as our / (root) partition.
sudo mount /dev/sda2 /mnt
To be sure that you mounted the correct partition you can run ls /mnt and if you see the standard content of a linux root directory (such as /dev, /bin, /home…) it means you did the preceding operations correctly.
sudo mount /dev/sda1 /mnt/boot
Ones again you can check the /mnt/boot content to be sure you did it correctly.
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo mount --bind /proc /mnt/proc
sudo chroot /mnt
if update-initramfs ran successfully, you can now run:
And enjoy your parrot !