Jump to content

[SOLVED] Help, /boot is gone!


ejhuzy

Recommended Posts

Posted

I was writing a script to move files and the file didn't do what it was supposed to.  It created a file in the current directory with a "*" in it.  I quickly "rm" the file and now /boot directory is gone.  I'm not sure what else is gone.  When I look at the flash drive from windows, it's empty.

 

What should I do?  How do I recover.  Please help this dummy.

 

EDIT: I do have a back up of the flash drive on my Windows PC.  Can I just copy that to the flash drive and reboot?  I don't want to lose all my media though.  Right now that looks fine.

Posted

So I went to copy my back up to the flash drive and Windows warned me that each file was already there.  So, skipped the copy and did a reboot (via shutdown -r now).  When unRAID came back up, it started a parity sync.  However, everything was back to normal.

 

Except...I can't write to the /boot directory.  I had this problem before and I had to powerdown and use Windows to clean up bad sectors on the flash drive.  I'll do that after the parity check ends.

Posted

Read only error went away after I powered down the server and ran chkdsk on the flash drive.  Rebooted and it's working again.  I've moved my flash drive from a USB port on the front of the tower to a usb port right on the mobo.  See if this stops these file system problems.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...