Cannot change directory as root
by larstrier from LinuxQuestions.org on (#5AQSE)
I have installed a new second debian 10 OS to my harddrive and multi-boot between the two.
The new OS shares the same swap partition as my older debian 10 OS.
However if I boot my older OS an error message shows about 'suspend/resume'.
Then the boot stops for 1 min 30s with the error message
'A start job is running for UUID by disk...'
After logging in to the OS if try to change directory as root I get this message:
Code:root@buster2:~# cd -
-bash: cd: OLDPWD not setIf I try to look at my location I get this:
Code:root@buster2:~# ls
pm_test~I think when I created a new debian 10 OS it assigned a new UUID to the swap partition.
However I don't understand why I have a problem as root.
Does anyone know what my problem is and how I can fix it?


The new OS shares the same swap partition as my older debian 10 OS.
However if I boot my older OS an error message shows about 'suspend/resume'.
Then the boot stops for 1 min 30s with the error message
'A start job is running for UUID by disk...'
After logging in to the OS if try to change directory as root I get this message:
Code:root@buster2:~# cd -
-bash: cd: OLDPWD not setIf I try to look at my location I get this:
Code:root@buster2:~# ls
pm_test~I think when I created a new debian 10 OS it assigned a new UUID to the swap partition.
However I don't understand why I have a problem as root.
Does anyone know what my problem is and how I can fix it?