tobychui / arozos

Web Desktop Operating System for low power platforms, Now written in Go!
https://os.aroz.org
GNU General Public License v3.0
2k stars 145 forks source link

[BUG] Using USB hard disk device to load all the time #71

Closed pi-dal closed 3 years ago

pi-dal commented 3 years ago

Describe the bug I tried using a mobile hard drive on raspberry pi 4B, but file manager has been loading.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'The IP address of my raspberry pi'
  2. Click on 'File Manager'
  3. Scroll down to 'Mount location of mobile hard disk'
  4. See error

Expected behavior I hope I can freely access and write to my mobile hard disk on arozos

Screenshots File Manager Host Info Disk Manager Storage Pool df -f

Host Information(please complete the following information):

Client Information(please complete the following information):

Additional context I like arozos this great project very much. Thank tobychui and those who came to help me

tobychui commented 3 years ago

Hi @pi-dal ,

It seems that I cannot reproduce your issue on my Raspberry pi 4 nor my PC. I guess this might be a specific problem regarding the setup you are using. The following are a few directions you can take a look to resolve the issue yourself.

Here is my attempt to reproduce your issue, which works completely fine: 2021-08-04_21-24-58

Let me know if you have been able to solve your issue. Thank you for your issue report :)

pi-dal commented 3 years ago

Hi, @tobychui ,

I tried to rule out what you said about 1,3,4. But I found it didn't work. 截屏2021-08-05 上午10 20 40 截屏2021-08-05 上午10 22 16 I'm trying to check the power problem of the mobile hard disk. Do you have any good way?

Thank you

tobychui commented 3 years ago

Hi @pi-dal ,

I think you can try a few more things.

Press p (list all partition) Press d x 4 (Delete /sda1 to /sda4) Press n (Create new partition, use default settings) Press w (Write and finish)

Format the disk using mkfs.ext4 (or ntfs if you prefer)

sudo mkfs.ext4 /dev/sda1

Mount it again in ArozOS after the formatting is finished

pi-dal commented 3 years ago

I found in the backend of Raspberry Pi that its folder doesn't exist and when I created it and gave permission, it started working. If you have the same problem, try my method.