<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma">Joel,<br><br> Was the beginning default the same as the old partitions beginning? It has to be. Before you delete the old partition make note of that and make sure it is the same when you make the new one. Deleting and creating a partition does not mess with the data that is there but the new one has to start at exactly the same point as the old one.<br><br>I made note of this on the web page but I believe it is a fallacy that using the entire SD card helps with wear leveling. The the wear leveling is at a whole different level on the card. In other words the data is being wear leveled across the card regardless of the upper level partitioning. That is if there really is wear leveling on these cards at all! There is on solid state hard drives but it really isn't clear what is done on these cards. The bottom line though is that they are very reliable. I have had cards in use for a long time with no issues. Writes to the card are minimized as much as possible. <br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">Date: Wed, 27 Aug 2014 19:08:39 -0500<br>From: w0kgw3@gmail.com<br>To: arm-allstar@hamvoip.org<br>Subject: Re: [arm-allstar] Partition resize issue<br><br><div dir="ltr">I just accepted the defaults for both start and end. It's more for allowing the OS to use the whole card for wear leveling and such.<br><div></div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">
On Wed, Aug 27, 2014 at 6:42 PM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr"><font face="Tahoma">Joel,<br><br> Did you make the new larger partition start sector exactly the same as the one you deleted? Deleting a partition does not touch the data but the new partition has to start at exactly the same start sector. All you are doing when you create the new one is increasing the end sector. The filesystem still resides in its same size within the partition until you resize it after the reboot.<br>
<br>I am curious why you want to do this? It is really not necessary unless you need the space. You could also leave the current partition alone and create another new one starting one sector after it to the end of the SD card or whatever size you want less than that.<br>
</font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br>
</font><br><br><div><hr>Date: Wed, 27 Aug 2014 17:50:42 -0500<br>From: <a href="mailto:w0kgw3@gmail.com" target="_blank">w0kgw3@gmail.com</a><br>To: <a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a><br>
Subject: [arm-allstar] Partition resize issue<div><div class="h5"><br><br><div dir="ltr"><div>I'm following the guide which directed me to <a href="http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD" target="_blank">http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD</a> to resize my partition.<br>
<br></div><div>It's erroring out, and I'm looking for any advise in case someone has run into this issue already. Card is a SanDisk Ultra, class 10, 8gb microSD card, attempted this twice with the same results. I restore from my backup image, and it's working fine but only at 4gb size.<br>
<br></div>I go through the steps, reboot immediately after writing in fdisk, and get the following on reboot on the serial console:<br><br>U-Boot SPL 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)<br>reading args<br>spl_load_image_fat_os: error reading image args, err - -1<br>
reading u-boot.img<br>reading u-boot.img<br><br><br>U-Boot 2014.04-00015-gb4422bd (Apr 22 2014 - 13:24:29)<br><br>I2C: ready<br>DRAM: 512 MiB<br>NAND: 0 MiB<br>MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1<br>*** Warning - readenv() failed, using default environment<br>
<br>Net: <ethaddr> not set. Validating first E-fuse MAC<br>cpsw, usb_ether<br>Hit any key to stop autoboot: 0<br>gpio: pin 53 (gpio 53) value is 1<br>mmc0 is current device<br>gpio: pin 54 (gpio 54) value is 1<br>
SD/MMC found on device 0<br>reading uEnv.txt<br>574 bytes read in 5 ms (111.3 KiB/s)<br>gpio: pin 55 (gpio 55) value is 1<br>Loaded environment from uEnv.txt<br>Importing environment from mmc ...<br>Checking if uenvcmd is set ...<br>
gpio: pin 56 (gpio 56) value is 1<br>Running uenvcmd ...<br>mmc0 is current device<br>jdm booting SD card!!!<br>Failed to mount ext2 filesystem...<br>** Unrecognized filesystem type **<br>Failed to mount ext2 filesystem...<br>
** Unrecognized filesystem type **<br>Booting from mmc ...<br>Bad Linux ARM zImage magic!<br><br>uenvcmd was not defined in uEnv.txt ...<br>gpio: pin 56 (gpio 56) value is 0<br>gpio: pin 55 (gpio 55) value is 0<br>gpio: pin 54 (gpio 54) value is 0<br>
Booting from mmc ...<br>Bad Linux ARM zImage magic!<br>Booting from nand ...<br><br>no devices available<br><br>no devices available<br>Bad Linux ARM zImage magic!<br>U-Boot#<br><br><div><div></div></div></div>
<br></div></div>_______________________________________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></div> </div></div>
<br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</div> </div></body>
</html>