Update Problem Multiboot win10+parrotsec


#1

Good morning dear community after parrot10 4.18 had made an update to 20 and it did not boot from my multiboot, I went back to 10 what I could boast instantly without booting.
After some research and uncertainty if I,
$ sudo apt update
$ sudo apt-get dist-upgrade or just sudo apt upgrade I was not sure anymore.
Now dan on a new and
$ sudo apt-get update
$ sudo apt -get dist-upgrade
And it updated to 4.19 ??? …
And again I have the Pro lem, my PC does not boot properly until this message …

What version of Parrot are you running? (include version, edition, and architecture)
4.18.0.parrot10 amd64

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debian gtk

Configured to multiboot with other systems? (yes / no)
Yes

If there are any similar issues or solutions, link to them below:

If there are any error messages or relevant logs, post them below:



(Gianluca) #2

Hey, same error in VMware with Windows as Host. Kali Linux also had this Bug it’s in Debian Testing. Would be nice to solve it the same way as Kali solved it : https://bugs.kali.org/view.php?id=5194 @palinuro could you confirm that this is also a Parrot Bug too?


#3

first thanks for the link. i do not understand him what should i write in the Terminal.


(Gianluca) #4

have you tried " fsck /dev/sda1" ?


#5

The result…


(Nico Paul) #6

woah guys. can we all just stop for a second here… we need to refresh ourselves on the differences and purposes of apt vs apt-get and more importantly check the documentation your distro writes and maintains before tacking +kali or +ubuntu on the end to get more results. I know it can be difficult at times to find specific information on things you may do in Parrot but we usually have some sort of documentation on it with more coming as its written, this is what the Parrot Docs FAQ page says to do regarding how you can update/upgrade your system (you have to do some self guided research on apt and apt-get, and you are highly encouraged to do this so you can create a healthy habit regarding deprecated commands and command interactions and evolutions of behaviors):

How can I upgrade my system?

There are several different ways to upgrade the parrot system

  1. First method

Open a terminal window and launch the following command;

sudo parrot-upgrade

  1. Second method

Open a terminal window and launch the following commands

sudo apt update sudo apt full-upgrade

  1. Third method

Open System > Administration > Package Manager (synaptic)

then click on the button to update the packages list.

click on the other button to select the upgrades and finally apply the changes.


#7

Well at least this explained what happened to my system, too. Reinstalled everything for nothing in the end. Dodged the issue by commenting every module out in the /etc/modules-load.d/module.conf.


(dmknght) #8

do sudo apt update && sudo apt upgrade can break your system. You should do sudo apt update && sudo apt full-upgrade (or dist-upgrade). For boot problem, you should try this:

  1. Create live USB linux. Open it in live mode
  2. Open terminal and do steps:
  • Mount your partition:
    sudo mount /dev/sdaX /mnt; sdaX is your Parrot partition. (sda1 / sda2)
  • Mount these partitions w/ blind mode:
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
  • Open mounted partition in chroot mode:
    sudo chroot /mnt
  • (optional: reinstall kernel. I think it is not necessary here)
  • Reinstall grub:
grub-install /dev/sda
update-grub

(Gianluca) #9

dist-upgrade killed my system, parrot-upgrade did not… So from my Point of view parrot-upgrade should be used.


(Matt) #10

dist-upgrade is identical to parrot-upgrade

#!/bin/bash
set -e
DEBIAN_FRONTEND=noninteractive
apt update || echo failed to update index lists
dpkg --configure -a || echo failed to fix interrupted upgrades
apt --fix-broken --fix-missing install || echo failed to fix conflicts
apt -y --allow-downgrades --fix-broken --fix-missing dist-upgrade


(Nico Paul) #11

I’m a firm believer that whatever parrot says should be used, should be the only one used.