I have accidentally mounted 20GB disk under /usr. Due to which i'm unable to boot or even not able to enter single user mode. Is there any way?
Even I have removed the disk No 2 under VMware console. But still I'm unable to boot.
I have accidentally mounted 20GB disk under /usr. Due to which i'm unable to boot or even not able to enter single user mode. Is there any way?
Even I have removed the disk No 2 under VMware console. But still I'm unable to boot.
Boot into the rescue mode with the boot option rd.break=initqueue
.
Run the following commands to initiate the volume manager and mount the system root
pvscan all
vgscan all
lvscan all
mkdir foo
mount -t xfs /dev/mapper/rootvg foo
vi foo/etc/fstab
Delete the entries of /usr mount point; save & Quit;
exit; reboot;
That is it. Now os loads successfully.