LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   The superblock could not be read (https://www.linuxquestions.org/questions/linux-newbie-8/the-superblock-could-not-be-read-4175546846/)

mhsahkir 06-30-2015 03:21 PM

The superblock could not be read
 
1 Attachment(s)
Hi when i boot my virtual machine i got this attached image error. If someone know how to fix it,please let me know,thanks advance.

frankbell 06-30-2015 08:13 PM

What OS is installed to the virtual machine and what file system was created there?

This article might help, but it's a shot in the dark: http://www.cyberciti.biz/faq/recover...ted-partition/

berndbausch 06-30-2015 10:10 PM

Quote:

Originally Posted by mhsahkir (Post 5385241)
Hi when i boot my virtual machine i got this attached image error. If someone know how to fix it,please let me know,thanks advance.

As a first fix, enter the root password at the prompt. Then remount your root filesystem in read-write mode, something like this:
Code:

mount -o remount,rw /
This will allow you to change the root filesystem, which is read-only at this early initialisation stage.

Using your favourite editor, open /etc/fstab and comment the line containing mnt1securedPartition. Save, reboot. Now, the system won't attempt and fail to mount this partition.

The boot process should complete now, but you won't have this secured Partition mounted. To access it, some more troubleshooting is required. The name seems to indicate that, perhaps, it is encrypted? And your system is not aware of that fact? Or just use the suggestion given in the output (e2fsck -b 8193).

Since this is a VM, another way to modify /etc/fstab is shutting down your VM, then use a tool like guestmount to mount the disk - e.g.
Code:

guestmount -d <VM name> -i -o allow_other <your favourite mountpoint>
Wait a while until guestmount succeeds, then edit <four favourite mountpoint/etc/fstab as shown above.
guestunmount, then restart the VM.
Other relevant tools for accessing files on virtual machine images are virt-edit and guestfish.


All times are GMT -5. The time now is 01:45 PM.