I'm learning about GRUB and, after search for a while, I tried to get a root shell changing the kernel load string:
/boot/vmlinuz-4.9.0-8amd64 root=UUID=e8485edc.... ro single
/boot/vmlinuz-4.9.0-8amd64 root=UUID=e8485edc.... rw single init=/bin/bash
It works and I get a root console. However, The filesystem mounted on "/" directory of this filesystem is not the filesystem mounted on the "original" system. I checked if it is a chroot but it isn't.
Could someone explain what is the filesystem mounted on
/ in this root shell?
How can I access to the original fs? I'm on Debian 7.
I notice that I get root access to a system filesystem (the fs mounted on the / partition). However, I would like to get into other partitions such as /home.
I have, for example, 5 partitions (/, /home, /var, /usr, swap). When I do the trick and I get a root shell, I get into / partition, so i'm not able to see what is in home partition. However, fdisk -l command shows all partitions but df -h only shows two fs of two of these partitions (/ and /usr). I would like to see what is in /home partition. What can I do