Firstly, I'm new to askubuntu, so I don't know all the rules. secondly, im doing this from my phone, so forgive typos or errors. thirdly, I'm running Ubuntu Gnome 14.04. I'm not sure what else you may need to know, but please, tell me and I'll et the info for you.
So I was playing Rust on steam, and my net dropped out. I was getting up to go reset my modem and router, and fat fingered the sleep key. No big deal, I'll just wake it back up when I get back.
When I go to wake it up, it's locked on the login screen. No mouse, no keyboard, nothing. Wait a few to see if it responds, then hit the reset button on my tower. Reboots, then comes up to grub.
Strange, this isnt dual boot, it should Skipp right past grub as usual. I hit enter on the default option, Ubuntu. Then, it boots to the screen pictured below.
I don't have a live CD or USB,nor can I make one without this computer booting first. I dont have networking on the PC,clearly. All I have is my phone, and I ant seem to find any answers that would help me fix my problem.
Crappy phone quality picture of my problem... https://i.stack.imgur.com/VyFPk.jpg
It seems that something with your boot partition filesystem has gone horribly wrong. Be very careful when trying to fix it. You really should somehow make a disk image of it first since trying to fix it might actually destroy data (see http://serverfault.com/questions/594372/loss-of-data-when-trying-to-fix-ext4-group-descriptors-corrupted). I'm pretty sure that this is a very rare case, but be careful.
– Kai Jul 06 '16 at 16:23So in theory we could now try to locate the partition containing the 14.04 ISO on your SSD, mount the partition, insert a USB drive into your computer and copy the ISO to it. Do you have a USB drive with non-important data on it that we could completely overwrite (preferably a bit larger than 1GB)?
– Kai Jul 06 '16 at 20:40dd
if=
andof=
flags) – Kai Jul 07 '16 at 04:34dd if=/dev/sdb1 of=/path/to/folder/in/other/partition
. In case you don't have any personal data on your root filesystem you could of course just reinstall everything, but you'll probably learn a lot more by trying to fix it :-) If you do have personal data on your drive butfsck
fails to restore it you can have a look atphotorec
(there are great tutorials for using it) but finding the files can be quite a mess. Let's hope nothing goes wrong. – Kai Jul 07 '16 at 04:39mount
fails). But I'd still recommend to create an image of your root partition just in case fixing somehow goes wrong. When you said that your keyboard didn't work, did you also try magic sysrq combinations? (see e.g. https://fosswire.com/post/2007/09/fix-a-frozen-system-with-the-magic-sysrq-keys/ and https://en.wikipedia.org/wiki/Magic_SysRq_key) – Kai Jul 07 '16 at 15:27