We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

fdisk -l is empty in rescue mode


shinkicker
28-03-2016, 11:48
Quote Originally Posted by shinkicker
Hi,

Like an *****, I changed my SSH port and did not remap my firewall rules. To fix this I planned to go into rescue mode, mount my root partition, change back my SSH port in sshd_config, and reboot.

The thing is though, when I SSH into rescue mode 'fdisk -l' returns no results, so it cannot see my disks. Also 'parted' is unavailable.

This is an Ubuntu VPS.

Also KVM console cannot be used (I figure that is because I don't have a needed firewall rule in place to open the port it needs)

Thanks
Update, I got in using KVM. I just had to use a different browser (did not like chrome under linux, but was fine with firefox).

Mods, can delete this thread, or keep open if its useful.

shinkicker
28-03-2016, 11:34
Hi,

Like an *****, I changed my SSH port and did not remap my firewall rules. To fix this I planned to go into rescue mode, mount my root partition, change back my SSH port in sshd_config, and reboot.

The thing is though, when I SSH into rescue mode 'fdisk -l' returns no results, so it cannot see my disks. Also 'parted' is unavailable.

This is an Ubuntu VPS.

Also KVM console cannot be used (I figure that is because I don't have a needed firewall rule in place to open the port it needs)

Thanks