resize root partition to max available space SD card can provide - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24) +---- Thread: resize root partition to max available space SD card can provide (/showthread.php?tid=2771) Pages:
1
2
|
RE: resize root partition to max available space SD card can provide - MarkHaysHarris777 - 11-16-2016 (11-16-2016, 01:12 PM)Armbian User Wrote: I am not responsible for your ad hominems. ... having said that, I am normally polite and friendly because those are my values and in keeping with my principles. Despite your lack of respect , I never answer 'wrongly' nor do I give incorrect advice. If you were a clearer thinker you would realize that while you might not agree with my technical opinion ( nor are you necessarily aware of the technical nuance used ) we might both be 'right' or 'wrong' depending entirely upon our perspective. I am an expert ( highly trained, and highly educated ) and I know what I'm talking about. If you are interested I will explain my perspective on this one point of minutia: We are not talking about what may or may not work--- we are talking about form. In a script it is ALWAYS proper form to specify the full path to all executables. Failing to follow this simple scripting rubric leads to many problematic nuances too numerous for the scope of this post. I stand by my advice to specify full paths to all expected executables, and--- be aware that the resizing script under some circumstances not fully understood the script does not always work. Further, if your script does not function the SD card can be resized with gparted from another machine ; preferrably a gnu+linux machine (Mint linux for instance) or a mac . RE: resize root partition to max available space SD card can provide - Armbian User - 11-17-2016 (11-16-2016, 09:14 PM)MarkHaysHarris777 Wrote:(11-16-2016, 01:12 PM)Armbian User Wrote: You do this way too often. Care to read your own words above? Wrong and misleading. And now you start to talk about internal paths to executables which is something different. Anyway: a Google search for 'dunning kruger' might explain this specific problem The technical problem can be resolved by not using outdated/broken OS images any more who do all of this correctly. Apart from that fake SD cards showing a wrong capacity also exist. RE: resize root partition to max available space SD card can provide - bilylilyli - 11-17-2016 (11-16-2016, 07:08 PM)pfeerick Wrote:(11-16-2016, 12:37 PM)bilylilyli Wrote: hi, how can I specify the path when I run the resize_rootfs.sh? hi, I have upload the screen capture for the output from resize_rootfs.sh. It did not show any errors, but nothing to do. And the image I download is the "debian-mate-jessie-20160701-lenny.raposo-longsleep-pine64-8GB" and this is the link Debian Linux Jessie with Mate GUI Image [20160701] by lenny.raposo with Longsleep kernel (Direct download from pine64.org) RE: resize root partition to max available space SD card can provide - MarkHaysHarris777 - 11-17-2016 (11-17-2016, 01:12 PM)bilylilyli Wrote: I have upload the screen capture for the output from resize_rootfs.sh. It did not show any errors, but nothing to do. This error message is classic. ... the date on the repo is the key 07-01-2016 is the back-level ( very old ) image. This is the image where the 'broken' resize_rootfs.sh was discovered ( I am actually the one who discovered it, and I was the one who worked with lennyraposo to get it fixed ). Unfortunately, it is 'still' broken. The script will run, you will get no errors, but it will report that there is nothing to do... again, classic. If you put the SD card in another computer and run gparted on it, you can resize it there; otherwise, keep whining about a very well known issue like its today's news ! RE: resize root partition to max available space SD card can provide - YSam - 11-18-2016 @pfeerick Thanks for the explanation and detailed (easy to follow) solutions. Still learning Linux. . . the detailed step by step instructions (with just enough detail about what each step is doing) are super helpful. Of course I must say I'm getting super frustrated with Pine that nothing is straight forward! I expect to have to hit the forums and do some leg work to customize whatever OS I'm using to try to get it to suit my needs, HOWEVER the the basics of getting the OS up and running should be taken care of! I can't believe that the image which has been posted to the main Pine board since July still has a fundamental flaw in it which prevents a user from completing first time setup following the officially provided instructions! This has been pretty consistent with my pine experience to date. That said thanks to you and all the others who have worked so tirelessly to support to neophyte user base like me trying to learn about and get excited about SBC and the Pine64! Just frustrated that the main Pine Team is making this so difficult. . .. RE: resize root partition to max available space SD card can provide - MarkHaysHarris777 - 11-18-2016 (11-18-2016, 02:15 PM)YSam Wrote: @pfeerick hi YSam, you are mis-informed about who is making this so difficult. The people that made this so difficult is the over-zealous marketing team with kick-starter ( who are now gone ) because they represented this development board as a finished 'polished' product; when in fact, the PineA64 board is a development board not intended to be a finished appliance. Pine Inc provided the hardware development board -- the community of volunteers provided most of what you see from a software standpoint -- and none of them were paid anything for it except that they were provided with a lot of hardware free of charge ( thank you ). The truth is that there are many people ( all volunteers ) who are making this experience less difficult every day. The reason none of this is straight-forward for noobs and lay-people is that it is ALL in development even now. Many users on the forum and on the irc have provided their services ( excellent by the way ) on a volunteer basis ; this is fantastic. We all feel like each one of us can either be a part of the problem or a part of the solution; if anyone wants to help it will be welcome. RE: resize root partition to max available space SD card can provide - pfeerick - 11-18-2016 (11-18-2016, 02:14 PM)bilylilyli Wrote: hi, when I run '/usr/local/sbin/resize_rootfs.sh', it showed '-bash: /usr/local/sbin/resize_rootfs.sh: permission denied'. Is there any problem with the download? Probably not... I forgot to document a step! After downloading the script, but before running it (so immediately after the curl / wget line), you need to do a chmod +x /usr/local/sbin/resize_rootfs.sh to make the script executable otherwise it won't run! @YSam: No problem... we're all learning this together, and everyone has to start somewhere! I'll just point out that pine64 didn't provide any of the linux distros - they provided the Android 5.1.1 builds, and all the linux stuff has come from hard work of the sunxi-linux developers and longsleep. Longsleep put together the ubuntu distro, and continues to maintain that. Lenny put together the debian distro, but doesn't appear to be maintaining it any longer, so known issues and bugs which are only documented on the forum rather than on the downloads pages so they don't keep coming up again time after time are becoming increasingly more common (such as the broken package dependencies). For a more rewarding experience, I would strongly suggest you look at either longsleeps ubuntu build (which does have a script in install/configure the desktop environment if you want it) or if you don't need a desktop environment / GUI (for now at least) have a look at Armbian (legacy kernel) - which you can get in debian and ubuntu flavours |