Repair heavily damaged filesystem

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am currently stuck on a login loop in ubuntu, and the other answer
Ubuntu gets stuck in a login loop
does not help. After a bit more troubleshooting I think the filesystem is damaged because i cannot cd into my own home folder, giving an error of "/home/gink is not a directory". FSCK does not help, any ideas?



This is on my VM which started happening when my host OS BSOD while I was using my vm.







share|improve this question




















  • I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
    – dpb
    Apr 25 at 1:56











  • Sadly, the data is in the home directory which is now recognized as a file.
    – Gink
    Apr 25 at 2:04










  • Have you tried testDisk?
    – George Udosen
    Apr 25 at 5:54










  • I don't suppose you have a backup or snapshot of the vm?
    – Organic Marble
    Apr 25 at 11:18










  • Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
    – heynnema
    Apr 25 at 22:19














up vote
0
down vote

favorite












I am currently stuck on a login loop in ubuntu, and the other answer
Ubuntu gets stuck in a login loop
does not help. After a bit more troubleshooting I think the filesystem is damaged because i cannot cd into my own home folder, giving an error of "/home/gink is not a directory". FSCK does not help, any ideas?



This is on my VM which started happening when my host OS BSOD while I was using my vm.







share|improve this question




















  • I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
    – dpb
    Apr 25 at 1:56











  • Sadly, the data is in the home directory which is now recognized as a file.
    – Gink
    Apr 25 at 2:04










  • Have you tried testDisk?
    – George Udosen
    Apr 25 at 5:54










  • I don't suppose you have a backup or snapshot of the vm?
    – Organic Marble
    Apr 25 at 11:18










  • Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
    – heynnema
    Apr 25 at 22:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am currently stuck on a login loop in ubuntu, and the other answer
Ubuntu gets stuck in a login loop
does not help. After a bit more troubleshooting I think the filesystem is damaged because i cannot cd into my own home folder, giving an error of "/home/gink is not a directory". FSCK does not help, any ideas?



This is on my VM which started happening when my host OS BSOD while I was using my vm.







share|improve this question












I am currently stuck on a login loop in ubuntu, and the other answer
Ubuntu gets stuck in a login loop
does not help. After a bit more troubleshooting I think the filesystem is damaged because i cannot cd into my own home folder, giving an error of "/home/gink is not a directory". FSCK does not help, any ideas?



This is on my VM which started happening when my host OS BSOD while I was using my vm.









share|improve this question











share|improve this question




share|improve this question










asked Apr 25 at 1:34









Gink

1




1











  • I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
    – dpb
    Apr 25 at 1:56











  • Sadly, the data is in the home directory which is now recognized as a file.
    – Gink
    Apr 25 at 2:04










  • Have you tried testDisk?
    – George Udosen
    Apr 25 at 5:54










  • I don't suppose you have a backup or snapshot of the vm?
    – Organic Marble
    Apr 25 at 11:18










  • Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
    – heynnema
    Apr 25 at 22:19
















  • I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
    – dpb
    Apr 25 at 1:56











  • Sadly, the data is in the home directory which is now recognized as a file.
    – Gink
    Apr 25 at 2:04










  • Have you tried testDisk?
    – George Udosen
    Apr 25 at 5:54










  • I don't suppose you have a backup or snapshot of the vm?
    – Organic Marble
    Apr 25 at 11:18










  • Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
    – heynnema
    Apr 25 at 22:19















I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
– dpb
Apr 25 at 1:56





I'm assuming you are using a non-ubuntu host OS. I'd create another ubuntu vm, and attach this "corrupt" disk over to that new VM and see if you can poke around on it and get your data off.
– dpb
Apr 25 at 1:56













Sadly, the data is in the home directory which is now recognized as a file.
– Gink
Apr 25 at 2:04




Sadly, the data is in the home directory which is now recognized as a file.
– Gink
Apr 25 at 2:04












Have you tried testDisk?
– George Udosen
Apr 25 at 5:54




Have you tried testDisk?
– George Udosen
Apr 25 at 5:54












I don't suppose you have a backup or snapshot of the vm?
– Organic Marble
Apr 25 at 11:18




I don't suppose you have a backup or snapshot of the vm?
– Organic Marble
Apr 25 at 11:18












Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
– heynnema
Apr 25 at 22:19




Is this Oracle Virtualbox? If so, bring up the app, close the VM, and DON'T save the current state. Then select the Ubuntu VM in the left pane, go to the Machine menu and select Discard Saved State. Restart the VM and see if you can log in normally.
– heynnema
Apr 25 at 22:19















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027970%2frepair-heavily-damaged-filesystem%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027970%2frepair-heavily-damaged-filesystem%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491