My laptop ran out of power and when I went to plug it in and power it on, Ubuntu no longer boots. I get directed to BusyBox built in shell that looks exactly like:
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4.1) built-in shell (ash)
Enter 'help'for a list of built-in commands.
(initramfs)
When I type in exit, the following output is dumped:
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
/init: line 355: can't open /root/dev/console: no such file
_
I've had a look at this article to see if it could help me out, which prompted me to dumpe2fs /dev/sda2 | grep superblockwhich dumped the following output:
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock
How can I boot my Ubuntu based OS again?