Yesterday I have make a nooby-break using sudo / .
, meaning "hey move all my boot files and all in my user session tree folder", I have forgot the dot behind my slash as following ./
.
I'm trying to reboot and I have since followed several progression points, here an abstract of my previous step:
- firstly I have tried to boot with a USB-live with Ubuntu on it. But i couldn't login neither access a
tty
since there was a problem withgrub
or something like that so I have opengrub
and fallen ongrub-rescue
. - Then I have remembered that I have moved all my boot-files inside the tree so I have started to seek for how to move-back theses files.
- I have meanwhile find a topic in which someone have done something similar to me, he explains in how to connect and prefix the root in grub rescue, here the topic: grub rescue / move folder.
- I have hence managed on Grub rescue to set my root and prefix on the folder in which I have moved all my boot-files.
Then I have emerged from grub rescue to grub, and after some googling, I have passed the following commands in grub:
grub> linux /home/path_to_boot/boot/vmlinuz-3.xx.x-67-generic grub> initrd /home/path_to_boot/boot/initrd.img-3.xx.x-67-generic grub> boot
Now my computer have started the boot and manage some steps, then returns me three errors:
firstly
on initramfs: mounting can't find /root in /etc/fstab/mounting.
secondly
/root/run failed: no such file or directory
- finally
target file system doesn't have requested /sbin/init or /bin/init maybe -I have noted sbin but usually is rather bin?
Here a snapashot of my current situation, you will see at the top of my image the list of folder in my "/" mount directory - ls
command.
So that it, I don't know what should I do in particular, I'm very happy having manage grub rescue, now I would have advice about how handle my situation furthermore.
Any hint would be great, Thanks!
0 Answers