usb storage as rootfs error



  • 0_1484990144929_root ovelay console.JPG

    Now onto installing Node-Red ! ;-)



  • @WereCatf
    its actually the inbuilt micro sd card i am using of the omega2+

    well thats the other problem, is that its dis mounting randomly
    but i have tried the same process go to the same point with a usb and the same thing its dis mounting randomly

    however isn't that a seperate issue?

    ii mean thats a problem, but how is that the same problem as the device copying folders within folders on an never ending copy process
    i don't believe that bad mounted usb would cause a copy function to copy itself again and again
    thats a software issue surely?



  • @Shanan-Clark said in usb storage as rootfs error:

    however isn't that a seperate issue?

    ii mean thats a problem, but how is that the same problem as the device copying folders within folders on an never ending copy process
    i don't believe that bad mounted usb would cause a copy function to copy itself again and again

    You are free to believe whatever you like, but that is the issue. Mounting it at /mnt has to work correctly.



  • @WereCatf

    on no sorry bro i wasn't meaning anything, i just assumed it couldn't be related , my thinking- if i can access it why would it create extra folders because it was mounted badly, as it is accessible/mounted correctly - im too used to dealing with windows related stuff , i didn't know that bad mounted drive cause copy functions to misbehave but allow full access otherwise? is that a thing?
    ok cool i will focus on the mount see if that helps
    thanks heaps

    but bro it seems weird, as i am going through the node red/omega set up
    you need extra swap memory and accessible storage
    i have the swap memory working on the mounted sd card so device is accessing card fine and on boot, now moving to the process of extend the storage
    now if the swap file is working and working on boot which it is, i would think the card is mounted correctly?
    or am i wrong
    so im thinking its possibly not a mount issue? i don't know asking @WereCatf as yourve been super helpful



  • @Shanan-Clark said in usb storage as rootfs error:

    on no sorry bro i wasn't meaning anything, i just assumed it couldn't be related , my thinking- if i can access it why would it create extra folders because it was mounted badly, as it is accessible/mounted correctly - im too used to dealing with windows related stuff , i didn't know that bad mounted drive cause copy functions to misbehave but allow full access otherwise? is that a thing?

    The command copies the files in / to another storage-device and normally it would just skip over any files that aren't on the internal flash. Alas, because your storage-device isn't mounted correctly, the command just keeps copying stuff from flash to flash over and over. It's not "misbehaving", you just don't understand what's even going on.

    i have the swap memory working on the mounted sd card so device is accessing card fine and on boot, now moving to the process of extend the storage
    now if the swap file is working and working on boot which it is, i would think the card is mounted correctly?

    It's not mounted at /mnt, is it?



  • cool bro super helpful

    your exactly right i don't understand what is going on and im trying to hense the email
    no thats really good info , and i made assumptions if one functions is working from a inserted device i assume another would

    it is mounted to /mnt which is the odd part, i am not simply copying and pasting tutorial links, but i am making sure the path matches and file name is correct, i mean getting the swap file to work was quite eye opening in that regard going through the process and as i am doing now i had to ask as every step seemed to be broken :/

    is there a mount check? i mean its mounted i am using it as a swap file so how can i see if it isn't mounted correctly

    sorry if i seem like a dick too,



  • @Shanan-Clark What does df -h give you?



  • 0_1484993689925_upload-41e6a638-0b95-4fa9-83c3-fc14b45eb409



  • @Shanan-Clark Since you already have it mounted you can shorten the command to tar -C /overlay -cvf - . | tar -C /mnt/mmcblk0p1 -xf - then just continue from step 4 on the tutorial.



  • i copied your link
    its doing the folder/file repeating thing !
    copying for ever duplicating folders over and over again

    suggestions?



  • @Shanan-Clark That's because you messed up so many times before and now you have a whole lot of useless files lying around. Try rm -Rf /overlay/upper/mnt/upper && rm -Rf /overlay/upper/mnt/work and then try again.



  • omg that worked
    got some more stuff to say but yes that worked
    i suppose why do i need to ask for help, why is it so broken



  • @Shanan-Clark said in usb storage as rootfs error:

    i suppose why do i need to ask for help, why is it so broken

    It's not broken, you just don't know what you're doing and you then mess things up.



  • Visual example of the mount command here:
    https://community.onion.io/topic/1402/tip-the-linux-mount-command


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.