$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
I needed to login as root on a Linux based virtual appliance to do some troubleshooting. In my case the appliance was running Suse Linux Enterprise.
I booted the VA using the Ubuntu Live CD and opened a Terminal. Then I used the cfdisk tool (sudo cfdisk /dev/sda) to view the partitions:
I assumed I needed sda2 so I mounted this partition:
1 2 3 | # sudo su # mkdir /mnt/va # mount /dev/sda2 /mnt/va |
However if we try to change the password we get an error:
Apparently the /dev directory is filled while booting to make sure that it’s filled only with available devices.
To be able the change the password I mounted the /dev directory from the Ubuntu Live CD and then it works nicely:
One Response for "Reset Root Password on Linux Virtual Appliance"
Nice one Remko
Leave a reply