Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 12 of 12

Thread: Increase partition size

  1. #1

    Title
    Forum Supporter
    Donated Member
    Join Date
    Aug 2019
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Increase partition size

    I wanted to install kodi on my box but unable to do so due to not having enough space on the device. From reading other posts, I should have at least a gig for the / partition, but on mine I only have 524M. I don't really need multiboot, so is there a way to increase the partition size and decrease the multi-boot slots?

    Code:
    root@zgemmah7:~# df -h
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p3          523.9M    448.5M     35.1M  93% /
    devtmpfs                185.8M      4.0K    185.8M   0% /dev
    tmpfs                    64.0K         0     64.0K   0% /media
    /dev/mmcblk0p1            3.0M     10.0K      3.0M   0% /boot
    tmpfs                   502.0M    980.0K    501.0M   0% /var/volatile
    /dev/sda1               464.7G    342.6G    122.1G  74% /media/hdd

  2. #2
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,775
    Thanks
    236
    Thanked 1,656 Times in 1,305 Posts
    Another possibility is to move some of the stuff you already have on / to be under /media/hdd.

    What do you have on / - it seems to be abnormally full?
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #3
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,392
    Thanks
    989
    Thanked 2,892 Times in 2,245 Posts
    When did you last usb flash??

    Can you do a cat /proc/partitions would like see what that gives you - as above just doesn‘ t look correct
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  4. #4

    Title
    Forum Supporter
    Donated Member
    Join Date
    Aug 2019
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by twol View Post
    When did you last usb flash??
    Don't think I have flashed it via USB since last May when I got the box. I did have to do a manual update from OpenViX 5.2 to 5.3, but I think I dropped the image on the HDD and installed it in a slot.

    Quote Originally Posted by twol View Post
    Can you do a cat /proc/partitions would like see what that gives you
    Code:
    root@zgemmah7:~# cat /proc/partitions
    major minor  #blocks  name
    
       1        0       8192 ram0
       1        1       8192 ram1
       1        2       8192 ram2
       1        3       8192 ram3
       1        4       8192 ram4
       1        5       8192 ram5
       1        6       8192 ram6
       1        7       8192 ram7
       1        8       8192 ram8
       1        9       8192 ram9
       1       10       8192 ram10
       1       11       8192 ram11
       1       12       8192 ram12
       1       13       8192 ram13
       1       14       8192 ram14
       1       15       8192 ram15
       8        0  488386584 sda
       8        1  488385536 sda1
     179        0    3817472 mmcblk0
     179        1       3072 mmcblk0p1
     179        2       8192 mmcblk0p2
     179        3     819200 mmcblk0p3
     179        4       8192 mmcblk0p4
     179        5     819200 mmcblk0p5
     179        6       8192 mmcblk0p6
     179        7     819200 mmcblk0p7
     179        8       8192 mmcblk0p8
     179        9     819200 mmcblk0p9
     179       10     502784 mmcblk0p10
     179       48        512 mmcblk0rpmb
     179       32       4096 mmcblk0boot1
     179       16       4096 mmcblk0boot0

  5. #5
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,392
    Thanks
    989
    Thanked 2,892 Times in 2,245 Posts
    So that looks like the original layout (kernel/root pairs) whereas now most of the roots are using a shared partition.
    Can you backup your settings and then do a usb flash?!
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  6. #6

    Title
    Forum Supporter
    Donated Member
    Join Date
    Aug 2019
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by twol View Post
    So that looks like the original layout (kernel/root pairs) whereas now most of the roots are using a shared partition.
    Can you backup your settings and then do a usb flash?!
    I guess so, but surely that will leave me with 4 slots again by default? I'd prefer to reduce that down to 2 slots with more storage.

  7. #7
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Pure2 have images that uses 2 partitions so you get more memory per slot.

    You can usb flash the image then use multiboot to flash vix into slot 2? Have a look at the read me file http://www.pur-e2.club/OU/images/ind...7-2partitions/

    Zgemma H7 Image mit nur zwei größeren Partitionen in Flash (ca. 1,5 GB)

    Um es zu verwenden, muss dieses Image (nur einmal) über USB und die Taste an der Vorderseite des Geräts geflasht werden.

    Danach können Sie Image online (vom SW-Manager oder pure2-Manager) in STARTUP_1 oder STARTUP_2 frei flashen.

    -------------------------------------

    Zgemma H7 image with only two, bigger partitions in flash (cca. 1.5GB)

    To use it, it is necessary (only once) to flash this image via USB and the button on the fornt panel.

    After this you can freely flash images on-line (from SW manager or pure2 manager) in STARTUP_1 or STARTUP_2.

  8. #8
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,392
    Thanks
    989
    Thanked 2,892 Times in 2,245 Posts
    May not be that simple as OE-A images use a resize command to expand the root to fill the partition and may not work on a non standard image -
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  9. #9

    Title
    Forum Supporter
    Donated Member
    Join Date
    Aug 2019
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    So I finally got round to flashing from USB and the device now reports the following:

    Code:
    root@zgemmah7:~# df -h
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p3          950.3M    486.3M    403.8M  55% /
    devtmpfs                185.8M      4.0K    185.8M   0% /dev
    tmpfs                    64.0K         0     64.0K   0% /media
    /dev/mmcblk0p1            3.0M     10.0K      3.0M   0% /boot
    tmpfs                   502.0M     53.7M    448.3M  11% /var/volatile
    /dev/sda1               464.7G    272.4G    192.3G  59% /media/hdd
    With kodi-addons-meta installed :

    Code:
    /dev/mmcblk0p3          950.3M    567.1M    323.0M  64% /
    Last edited by clivejo; 22-04-20 at 14:11.

  10. #10
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,392
    Thanks
    989
    Thanked 2,892 Times in 2,245 Posts
    Quote Originally Posted by clivejo View Post
    So I finally got round to flashing from USB and the device now reports the following:

    Code:
    root@zgemmah7:~# df -h
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p3          950.3M    486.3M    403.8M  55% /
    devtmpfs                185.8M      4.0K    185.8M   0% /dev
    tmpfs                    64.0K         0     64.0K   0% /media
    /dev/mmcblk0p1            3.0M     10.0K      3.0M   0% /boot
    tmpfs                   502.0M     53.7M    448.3M  11% /var/volatile
    /dev/sda1               464.7G    272.4G    192.3G  59% /media/hdd
    With kodi-addons-meta installed :

    Code:
    /dev/mmcblk0p3          950.3M    567.1M    323.0M  64% /
    So better! And a swap partition (240MB) on mmcblk0p7 (if my memory is correct)
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  11. The Following User Says Thank You to twol For This Useful Post:

    Andy_Hazza (22-04-20)

  12. #11

    Title
    Forum Supporter
    Donated Member
    Join Date
    Aug 2019
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by twol View Post
    So better! And a swap partition (240MB) on mmcblk0p7 (if my memory is correct)
    Don't think so, I think the swap file is on the HDD, would probably be better on MMC, but I didn't see an option to do that in the OpenViX menus.

  13. #12
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,392
    Thanks
    989
    Thanked 2,892 Times in 2,245 Posts
    This is part of the image build and partition setup for the h7 on eMMC
    parted -s ${EMMC_IMAGE} unit KiB mkpart linuxkernel3 ${THRID_KERNEL_PARTITION_OFFSET} $(expr ${THRID_KERNEL_PARTITION_OFFSET} \+ ${KERNEL_PARTITION_SIZE})
    parted -s ${EMMC_IMAGE} unit KiB mkpart linuxkernel4 ${FOURTH_KERNEL_PARTITION_OFFSET} $(expr ${FOURTH_KERNEL_PARTITION_OFFSET} \+ ${KERNEL_PARTITION_SIZE})
    parted -s ${EMMC_IMAGE} unit KiB mkpart swap linux-swap ${SWAP_PARTITION_OFFSET} $(expr ${SWAP_PARTITION_OFFSET} \+ ${SWAP_PARTITION_SIZE})

    Swap size: SWAP_PARTITION_SIZE = "262144"
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.