Score:0

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?

de flag

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.

br flag
Can you mount the disk if you attach it to a new VM and boot a live cd? I wonder if you overwrote `/usr`
John Mahowald avatar
cn flag
Please tag your question with operating system distro and version. This could be a number of flavors of Linux, BSD, or UNIX, and the solution is specific to which.
Saravanan Arumugam avatar
de flag
Thank you Bert. Yep i accidentally mounted with the fstab entries. Though we don't have live cd in the VMware console.
Score:0
de flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.