这下面是验证过程,用resize-helper.sh不行。还是要用mkfs.ext4+ext2simg直接对img操作呀?
$ sudo apt-get install realpath
$ wget https://github.com/fboudra/resize-helper/raw/master/resize-helper.sh
$ chmod u+x resize-helper.sh
$ sudo ./resize-helper.sh
root@linaro-alip:~# chmod u+x resize-helper.sh
root@linaro-alip:~# ./resize-helper.sh
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Error: Partition doesn't exist.
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 506880 (4k) blocks long. Nothing to do!
Bruce Zou
Making Innovation Easy LeMaker Team -- The Professional Makers for Hardware and Software Customization.
Address: B1002, SIAT campus, Shenzhen University Town, Shenzhen, China Post Code: 518055
Email: mailto:support@lemaker.org support@lemaker.org (Technical Support) mailto:product@lemaker.org product@lemaker.org (Product Distribution)
http://www.lemaker.org/ http://www.lemaker.org/
发件人: Guodong Xu [mailto:guodong.xu@linaro.org] 发送时间: 2016年1月29日 9:26 收件人: Nicolas Dechesne nicolas.dechesne@linaro.org 抄送: David Brown david.brown@linaro.org; dev dev@lists.96boards.org; 潘成源 oldpan.pan@lemaker.com; bruce.zou bruce.zou@lemaker.com 主题: Re: [Dev] Problem using ./resize-helper.sh to resize SD card partition size
Thanks Nicolas, Daniel, and Fathi.
-Guodong
On 29 January 2016 at 04:10, Nicolas Dechesne <nicolas.dechesne@linaro.org mailto:nicolas.dechesne@linaro.org > wrote:
Le 28 janv. 2016 20:03, "David Brown" <david.brown@linaro.org mailto:david.brown@linaro.org > a écrit :
On Thu, Jan 28, 2016 at 07:03:45PM +0100, Nicolas Dechesne wrote:
On Thu, Jan 28, 2016 at 6:59 PM, David Brown <david.brown@linaro.org mailto:david.brown@linaro.org > wrote:
I wonder if I have problems with either my simg2img/img2simg or my fastboot:
you should use ext2simg, not img2simg. It should come in android-tools-fsutils (debian/ubuntu)
Yes, it works fine with ext2simg. I'm kind of surprised by that, given that img2simg is supposed to be fairly general.
Good. I had noticed that img2simg wasn't working fine for me on db410 neither... Glad that we found one that works at least..
I haven't submitted changes in CI jos for db410 to use mkfs.ext4+ext2simg. Fathi is testing that right now. If it works fine we will update all jobs for all images..
But, with these steps, the first boot does resize the rootfs to fill out the remaining space.
Awesome.
David
_______________________________________________ Dev mailing list Dev@lists.96boards.org mailto:Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev