Mount System with Fstab

There are 18 replies in this Thread which was already clicked 6,241 times. The last Post () by Abo Audy.

  • Mount System with Fstab

    What does "mount" mean in the Enigma2 system?


    It’s a word that means connecting or linking your memory storage, referring to the process of attaching storage media used to install various systems. In other words, if you have an operating system like Enigma2 and want to add a hard disk (HDD) or USB drive to it, you must define the HDD or USB to the system so that it recognizes it, displays it among its contents, and can interact with it.


    90% of the problems with Multiboot plugins like Barry Allen, Neutrino, and MultiBoot are caused by issues in the mounting process with storage media (such as HDDs or USBs) and the primary system through which the mount is performed.


    One of the most annoying issues I’ve encountered is why the current system doesn’t recognize other systems when using a multiboot setup. For example, if you have 12 images (system installations) on your device, why don’t the files stored on the storage media appear in the currently running image?


    1.png


    2.png



    Well, why would you want to see the files from other images? The truth is, the reason is simple: laziness. For instance, when an update is released for a plugin like AJPanel, instead of reinstalling it on each image separately, I just copy the updated file and paste it into the corresponding path in the other images. Then, when I switch to another image, the plugin is already updated, and the issue is resolved.

    The idea isn’t just limited to plugin updates—you can transfer plugins, boot logos, skins, settings, and anything else, as long as you know what you’re doing.


    Note


    Any Enigma2 image requires two partitions—one with a size of 16 MB and another with 2024 MB. The main image files are installed on the larger partition.

    Once you finish adjusting all your mount points, restart the device. After the boot process completes, go to a file called fstab, located in the following path:

    <span style="font-size: 12pt;"><em><span style="color:#00FF00;">/etc/fstab</span></em></span><span style="color:#FF0000;"><span style="font-size: 12pt;"><em></em></span></span>


    But what if the current image doesn’t see the other images? There are two ways to fix this:

    1. Using a tool like Mount Manager or Device Manager: Through these tools, you set up the mount points and assign a specific name to each available storage device on your system. This helps the image recognize them.


    3.png


    Press the OK) key on any partition with 2.15 GB to mount it and ignore the 16.78 MB Partitions


    4.png


    Congratulation


    Now all your partitions are saved successfully in fstab file located in /etc/


    This file is the registry where all mount points are recorded. If the entries in this file are correctly written, you can easily take a copy of it and paste it into the same path in all the images you want.


    2. Direct Edit for your Fstab file.


    Using any text editor like notpad++ open your fstab file located in (/etc/), just add same sequence and note sda = SDcard, sdb = HDD, sdc= Flash disk)


    5.png



    Sorry for the long post, and I hope you find it useful!


    Best regards.

  • @Mahmoud Hussein

    hi i have sf8008 supreme but have problem use sd card as multi boot when sd inserted i am able to see but when i go format it by enigma2-plugin-extensions-multiboot-flashonline_7.1_all when i try to format it the Help button on remote no working is faulty remote but i have macbook not able to do it that way like mini partition wizard trird couple sd card card no success any sugestion thanks in advance

  • @Mahmoud Hussein

    hi i have sf8008 supreme but have problem use sd card as multi boot when sd inserted i am able to see but when i go format it by enigma2-plugin-extensions-multiboot-flashonline_7.1_all when i try to format it the Help button on remote no working is faulty remote but i have macbook not able to do it that way like mini partition wizard trird couple sd card card no success any sugestion thanks in advance

    Easy my friend,


    Fornat your SD card normally using plugin or enigma2 device manager.


    Then (which is very important)


    Unmount the formated SD card using devices manager.


    Your problem come from the fact that, enigma2 make automatic mount for your SD card once you formated it.


    So your Multiboot plugin can not detect or deal with it.


    Try it and let me know if you want further information.


    Regards.

  • thanks i am going to try it but the sometimes the sd card disappear and need to rebooted and then will be come visiable but i try and if i manage to format it any command needs to be use to partition ?

  • thanks i am going to try it but the sometimes the sd card disappear and need to rebooted and then will be come visiable but i try and if i manage to format it any command needs to be use to partition ?

    No needs to reboot, follow the same sequence


    1. Format

    2. Unmount

    3. Make partition


    Wait to get the success message, no needs to reboot or restart during the whole process.

  • thanks i am going to try it but the sometimes the sd card disappear and need to rebooted and then will be come visiable but i try and if i manage to format it any command needs to be use to partition ?

    When you remote the image mount the system also so you will not have successful partitioning process.


    Forget about seeing the sd


    Just use their plugin


    Format

    Unmount

    Partitioning

  • yes when you macbook i can see it and format it but but when inserted to the device after reboot it show sd card but as soon as try to initilise or format it it say error and disappear need to reboot it again and the same thing happened i purchase the sf8008 recently and also tried with different image like opnatv , egami all the same result and tried two micro sd one 32g and one 128 no result

  • giorbak


    Let's chat here, away from aglare skin page, please have a look on the main post, the screenshot of my fstab, there are no Universal storage ID, just partition names,


    In your fstab you have a lot of wrong names


    sda5 you call it sda7 and so on, so you don't have the right order virtually

  • Sorry my friend, but you are completely wrong. I think you are not reading my fstab correctly.


    As soon as I have some time, I will come back with explanations.

    No problem bro, just I tried to explain in light of my limited knowledge.


    Below is your fstab file for sf8008 , when compare it to what I have it is clear we had different method


  • Mahmoud Hussein


    To be honest, I didn't want to start this conversation, but since it has already begun, let's continue.


    First of all, I modified the fstab according to your suggestions in post #1. This is for the osmio+ since it has fewer slots and therefore fewer entries in the fstab.

    The file is as follows:

    Here are the results:

    1.jpg  2.jpg  3.jpg


    As you can see, the problem in the "Image Backup" list remains. So, it is due to OpenATV itself and not the fstab file.


    In image 1, we can see that all partitions are mounted, and we have access to all the slots and the hdd.

    Our problem is that we do not have easy access to a specific image, and we either have to count the entries in the list one by one to find what we want

    or write down the mapping of the sda(s) with the slots.



    In the fstab file, the first column refers to the partitions we have created, while the second column refers to the labels of partitions in the first column.

    The label can have any name we like, except for system commands and directory names used by the system.

    Essentially, it is a directory where a partition is mounted. For example, we can use the following (for simplicity, I am mounting a few partitions):

    Here are the results:

    4.jpg  5.jpg



    So, why not give the slots meaningful names so that we have easy access to them?

    Here are the results:

    6.jpg



    As you understand, the partition and the label do not need to have the same number, but this does not confuse the slots.

    I can put whatever I want in the label.


    I hope I explained it clearly and didn’t confuse you further.


    P.S.

    The reason I placed the hdd entry last in the fstab list is so that it appears at the top of the list when the system asks where to save the backup.

    If I had placed it in its proper position (before sda3), it would show up at the end, and I would have to scroll through the entire list.


    7.jpg  8.jpg

  • Okey, now I understand what is your point, to be honest I never did a backup to any image, I usually make image ready in 10 mins which almost same time required for backup restore, I am usually use limited settings in my image and limited plugins as well,


    I think the right place to report this point is openatv thread.


    Regards

  • Certainly, with Telnet you always have access to the current slot. If you are on the first image, you have access to slot-1; if you are on the second, you have access to slot-2, and so on.

    1.jpg   2.jpg   3.jpg


    The advantage of this line in the fstab is that you can have direct FTP access to all 4 internal slots of your box, regardless of which image you are currently using.

    4.jpg   5.jpg   6.jpg

OCTAGON SF8008 MINI 4K UHD E2 2160p H.265 E2 Linux Wifi DVB-S2X & T2C Combo Receiver.

Download OCTAGON SF8008 4K MINI UHD Images and Enigma2 Team Support from OpenATV, OpenPLi, Open Vision, and PurE2.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!