[HowTo] expand rootfs to 8GB
-
- Member
- Beiträge: 57
- Registriert: 26 Mär 2018 16:35
- Hat gedankt: 14 Mal
- Hat Dank erhalten: 2 Mal
gorski hat geschrieben:Read my edit of the original text, FB1907 - it certainly does work and it works well!!! I have 2 different Micro SD cards in H9S and H9T and they both work flawlessly!
Hat down for the script! I understand they (Captain and co.?) got the info from the development team re. the way that bootloader works and - voila! Neat script!
I already gave up
i do not try nowI do not care anymore
-
- Member
- Beiträge: 27
- Registriert: 18 Jul 2018 17:07
- Hat gedankt: 2 Mal
-
- Member
- Beiträge: 27
- Registriert: 18 Jul 2018 17:07
- Hat gedankt: 2 Mal
- gorski
- Member
- Beiträge: 255
- Registriert: 07 Mai 2013 11:34
- Hat gedankt: 35 Mal
- Hat Dank erhalten: 54 Mal
Weird!
I tested and confirmed Delfi's discovery that even if PurE2 doesn't detect mSD card, the script to move everything to mSD card still works!!!
I just flashed a new version of H9S PurE2 and mounted USB and HDD. Then I pushed in my mSD card and I checked if PurE2 can see MicroSD card. It can't:
Both in pManager (nothing to be seen, in terms of mSD card) and PuTTy, with a command there:
root@zgemmah9s:~# cat /var/log/messages | grep mmcblk0:
root@zgemmah9s:~#
But then I went into the pManager > Scripts and executed the h9_mmc.sh script for transfer of root ( / ) onto the mSD card - it worked!!!
Just to make sure...
I tested and confirmed Delfi's discovery that even if PurE2 doesn't detect mSD card, the script to move everything to mSD card still works!!!
I just flashed a new version of H9S PurE2 and mounted USB and HDD. Then I pushed in my mSD card and I checked if PurE2 can see MicroSD card. It can't:
Both in pManager (nothing to be seen, in terms of mSD card) and PuTTy, with a command there:
root@zgemmah9s:~# cat /var/log/messages | grep mmcblk0:
root@zgemmah9s:~#
But then I went into the pManager > Scripts and executed the h9_mmc.sh script for transfer of root ( / ) onto the mSD card - it worked!!!

Just to make sure...

-
- Beginners
- Beiträge: 10
- Registriert: 09 Okt 2017 17:45
- Hat gedankt: 1 Mal
- Hat Dank erhalten: 2 Mal
My experiences of this running OpenATV6.2
1) Works really well so long as you have an SD card that works. Cheap ebay no name cards I could not get to work and I have done this on a few H9S boxes. Had success with slightly more expensive Sandisk cards. Did not bother creating 2 partitions. KODI works really well.
2) Would like to be able to do a complete backup and get it to work. Managed to complete a backup and creates a set of files approx 2GB but despite seeming to flash OK, it just reverts back to original build you are trying to replace
3) On a separate note, nothing to do with expanding rootfs, think there may be an issue with some recent daily OpenATV images and the backup option. Backups I tested on flashes from 20th-25th Sept are not working so had to revert to a daily image from 13th Sept which works fine.
1) Works really well so long as you have an SD card that works. Cheap ebay no name cards I could not get to work and I have done this on a few H9S boxes. Had success with slightly more expensive Sandisk cards. Did not bother creating 2 partitions. KODI works really well.
2) Would like to be able to do a complete backup and get it to work. Managed to complete a backup and creates a set of files approx 2GB but despite seeming to flash OK, it just reverts back to original build you are trying to replace
3) On a separate note, nothing to do with expanding rootfs, think there may be an issue with some recent daily OpenATV images and the backup option. Backups I tested on flashes from 20th-25th Sept are not working so had to revert to a daily image from 13th Sept which works fine.
-
- Member
- Beiträge: 189
- Registriert: 06 Jan 2015 18:34
- Hat gedankt: 30 Mal
- Hat Dank erhalten: 13 Mal
hallo!
ich habe heute eine 2gb sd card getestet
zgemmah9s login: root
Password:
root@zgemmah9s:~# cat /var/log/messages | grep mmcblk0
Nov 6 10:44:46 zgemmah9s user.info kernel: mmcblk0: mmc0:0001 00000 1.89 GiB
Nov 6 10:44:46 zgemmah9s user.info kernel: mmcblk0: p1
befehl ausgeführt:
root@zgemmah9s:~# chmod +x /tmp/h9_mmc.sh
root@zgemmah9s:~#
und die box neugestartet, keine änderung der speicherkapazität
ich habe heute eine 2gb sd card getestet
zgemmah9s login: root
Password:
root@zgemmah9s:~# cat /var/log/messages | grep mmcblk0
Nov 6 10:44:46 zgemmah9s user.info kernel: mmcblk0: mmc0:0001 00000 1.89 GiB
Nov 6 10:44:46 zgemmah9s user.info kernel: mmcblk0: p1
befehl ausgeführt:
root@zgemmah9s:~# chmod +x /tmp/h9_mmc.sh
root@zgemmah9s:~#
und die box neugestartet, keine änderung der speicherkapazität
-
- Member
- Beiträge: 189
- Registriert: 06 Jan 2015 18:34
- Hat gedankt: 30 Mal
- Hat Dank erhalten: 13 Mal
Captain hat geschrieben:der satz
start the script and reboot the box and have fun with more space on rootfs
bedeutet das du das script auch ausführen must
war wohl nicht ganz eindeutig im ersten post
sorry, script starten (an der box) habe ich verschwitzt.
wo verstecken sich nun die ursprünglichen 250 mb?
Mir ist aufgefallen der Film läuft jetzt alle paar Minuten für ein paar Sekunden in Zeitlupe. Warum ist das so? Vorher hab ich davon nix bemerkt. Kann auch sein dass es grad nur bei dem Sender war...
Edit:// Ich hab auch keine Ahnung ob das mit der Timeshift zusammenhängt - hatte das nämlich aktiviert und als Speicherort die SD-Karte angegeben. Wär auch blöd wenn ich mit so viel Speicher trotzdem noch einen Stick nehmen müsste...
Edit 2:// OK es liegt nicht am Timeshift. Aber woran dann? Am Sender selbst? Oder kann es sein dass tatsächlich die SD-Karte Probleme macht (Karte ist neu)? Der SNR bei diesem Sender ist auf 56%. Das ist eher wenig oder? Oder hat vlt. sogar der Prozessor Probleme beim verarbeiten des Bildmaterials (1920x1080)?
Wie gesagt, bevor ich diese Modifikation gemacht habe, habe ich nichts bemerkt. Soll aber nicht heißen, dass das Problem nicht schon vorher war.
Edit:// Ich hab auch keine Ahnung ob das mit der Timeshift zusammenhängt - hatte das nämlich aktiviert und als Speicherort die SD-Karte angegeben. Wär auch blöd wenn ich mit so viel Speicher trotzdem noch einen Stick nehmen müsste...
Edit 2:// OK es liegt nicht am Timeshift. Aber woran dann? Am Sender selbst? Oder kann es sein dass tatsächlich die SD-Karte Probleme macht (Karte ist neu)? Der SNR bei diesem Sender ist auf 56%. Das ist eher wenig oder? Oder hat vlt. sogar der Prozessor Probleme beim verarbeiten des Bildmaterials (1920x1080)?
Wie gesagt, bevor ich diese Modifikation gemacht habe, habe ich nichts bemerkt. Soll aber nicht heißen, dass das Problem nicht schon vorher war.
@Captain: Kann ich mehrere Boxen klonen ohne jedesmal diesen Schritt zu machen? Sagen wir mal ich hab ne komplett eingerichtete Box mit SD-Karten-Modifikation so wie von dir beschrieben. Nun nehm ich eine jungfräuliche H9, mach da die gleiche SD-Karte rein und spiel das Image der anderen Box auf. Geht das überhaupt?
Und noch eine Frage: Reicht eigentlich eine SD-Karte mit 48MB/s ohne dass die Box merklich langsamer läuft? Oder doch besser 98MB/s?
Und noch eine Frage: Reicht eigentlich eine SD-Karte mit 48MB/s ohne dass die Box merklich langsamer läuft? Oder doch besser 98MB/s?