[HowTo] expand rootfs to 8GB
- Captain
- Community Administrator
- Beiträge: 15357
- Registriert: 03 Apr 2013 20:33
- Hat gedankt: 706 Mal
- Hat Dank erhalten: 17209 Mal
expand rootfs to 8GB
The H9 have only 256 MB Flash its time for a cheap rework.
Your need a 8 GB micro SD Card
i have test class4 class 10 and class A1 all working
but Important not all SDCARD works my 16GB have all issue
how to check the SDCARD was ok for expand your H9 Box
insert the micro SDCARD and reboot the box
the SDCARD must insert before your boot the box !!!!!
now check the /var/logs/message file
cat /var/log/messages | grep mmcblk0:
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1
when you see the info fine you can start when not buy a new 8 GB micro SDCARD
download the H9 sdcard mover : [ATTACH]91171[/ATTACH]
extract the zip file and copy the files to your box /tmp
change executable bit from the bash script : chmod +x /tmp/h9_mmc.sh
***** attention all data on your SDCARD lost when your start the script! *****
start the script and reboot the box and have fun with more space on rootfs
PS: rollback to rootfs to NAND
flash a new images
or
install the nand bootargs
dd if=/tmp/bootargs-nand.bin of=/dev/mtdblock1
Your need a 8 GB micro SD Card
i have test class4 class 10 and class A1 all working
but Important not all SDCARD works my 16GB have all issue
how to check the SDCARD was ok for expand your H9 Box
insert the micro SDCARD and reboot the box
the SDCARD must insert before your boot the box !!!!!
now check the /var/logs/message file
cat /var/log/messages | grep mmcblk0:
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1
when you see the info fine you can start when not buy a new 8 GB micro SDCARD
download the H9 sdcard mover : [ATTACH]91171[/ATTACH]
extract the zip file and copy the files to your box /tmp
change executable bit from the bash script : chmod +x /tmp/h9_mmc.sh
***** attention all data on your SDCARD lost when your start the script! *****
start the script and reboot the box and have fun with more space on rootfs
PS: rollback to rootfs to NAND
flash a new images
or
install the nand bootargs
dd if=/tmp/bootargs-nand.bin of=/dev/mtdblock1
- Dateianhänge
-
- h9-sdcard-mover_20230518.zip
- (1.53 KiB) 117-mal heruntergeladen
- mihaip
- Member
- Beiträge: 497
- Registriert: 05 Apr 2013 22:51
- Hat gedankt: 8 Mal
- Hat Dank erhalten: 87 Mal
Well ! this is a demo that expansion is possible ! but I've
expected a menu method involving flash expander plugin
or a plugin executing this script without manual.involvement ...
of course I will test it as described ! tnks @Captain ! to me
this looks as a system issue ... SD card must be treated as USB stick is !
expected a menu method involving flash expander plugin
or a plugin executing this script without manual.involvement ...
of course I will test it as described ! tnks @Captain ! to me
this looks as a system issue ... SD card must be treated as USB stick is !
- mihaip
- Member
- Beiträge: 497
- Registriert: 05 Apr 2013 22:51
- Hat gedankt: 8 Mal
- Hat Dank erhalten: 87 Mal
Today ... tested and works as described !!!
But I have problems with Kodi ... still unclear their origin ...
the procedure I followed was ...
- install a clean image
- initialize a 8Gb SD card
- execute the script
- reboot and verified ... Flash was expanded !
- install Kodi
- restart GUI
- execute Kodi ... changed skin ... select "expert"
but in Settings Menu ... only Player Setiings ... is active !!!
Also I've made a test with OpenPLi image ...
their FlashExpander works on SD card !!! as
should work in OpenATV ... but not yet !
... FlashExpander works on SD card but ...
their Kodi refuses to install !!!
But I have problems with Kodi ... still unclear their origin ...
the procedure I followed was ...
- install a clean image
- initialize a 8Gb SD card
- execute the script
- reboot and verified ... Flash was expanded !
- install Kodi
- restart GUI
- execute Kodi ... changed skin ... select "expert"
but in Settings Menu ... only Player Setiings ... is active !!!
Also I've made a test with OpenPLi image ...
their FlashExpander works on SD card !!! as
should work in OpenATV ... but not yet !
... FlashExpander works on SD card but ...
their Kodi refuses to install !!!
- mihaip
- Member
- Beiträge: 497
- Registriert: 05 Apr 2013 22:51
- Hat gedankt: 8 Mal
- Hat Dank erhalten: 87 Mal
I know ! I've made the changes ... as indicated !
but Kodi failed to create or access his hidden
temporary folder ! look inside the plugin ...
the postinstall script must be adapted to create
.kodi in /usr instead of root directory ! I think will
be enough ...
... as you can see ... menu item "Add-ons" cannot
be accessed ! plugins cannot be installed in Kodi !
For usage as mediaplayer ... what you say is enough
... but for streaming we need plugins !
P.S. now works !
but Kodi failed to create or access his hidden
temporary folder ! look inside the plugin ...
the postinstall script must be adapted to create
.kodi in /usr instead of root directory ! I think will
be enough ...
... as you can see ... menu item "Add-ons" cannot
be accessed ! plugins cannot be installed in Kodi !
For usage as mediaplayer ... what you say is enough
... but for streaming we need plugins !
P.S. now works !
-
- Member
- Beiträge: 57
- Registriert: 26 Mär 2018 16:35
- Hat gedankt: 14 Mal
- Hat Dank erhalten: 2 Mal
Captain hat geschrieben:The H9 have only 256 MB Flash its time for a cheap rework.
Your need a 8 GB micro SD Card
i have test class4 class 10 and class A1 all working
but Important not all SDCARD works my 16GB have all issue
how to check the SDCARD was ok for expand your H9 Box
insert the micro SDCARD and reboot the box
the SDCARD must insert before your boot the box !!!!!
now check the /var/logs/message file
cat /var/log/messages | grep mmcblk0:
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1
when you see the info fine you can start when not buy a new 8 GB micro SDCARD
download the H9 sdcard mover : [ATTACH]55172[/ATTACH]
extract the zip file and copy the files to your box /tmp
change executable bit from the bash script : chmod +x /tmp/h9_mmc.sh
***** attention all data on your SDCARD lost when your start the script! *****
start the script and reboot the box and have fun with more space on rootfs
[ATTACH=CONFIG]55173[/ATTACH]
PS: rollback to rootfs to NAND
flash a new images
or
install the nand bootargs
dd if=/tmp/bootargs-nand.bin of=/dev/mtdblock1
I did it like you wrote it
I am getting an invalid command error.
-
- Member
- Beiträge: 57
- Registriert: 26 Mär 2018 16:35
- Hat gedankt: 14 Mal
- Hat Dank erhalten: 2 Mal
Apr 30 13:11:12 zgemmah9s user.info kernel: mmc0: new high speed SDHC card at address 0001
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: mmc0:0001 00000 7.44 GiB
Apr 30 13:11:12 zgemmah9s user.notice kernel: f9c40000.himciv200.SD: eMMC/MMC/SD Device NOT detected!
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: p1
/var/volatile/log$ chmod+x/tmp/h9_mmc.sh
500 Unknown command.
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: mmc0:0001 00000 7.44 GiB
Apr 30 13:11:12 zgemmah9s user.notice kernel: f9c40000.himciv200.SD: eMMC/MMC/SD Device NOT detected!
Apr 30 13:11:12 zgemmah9s user.info kernel: mmcblk0: p1
/var/volatile/log$ chmod+x/tmp/h9_mmc.sh
500 Unknown command.