So, evidently you cannot log out / shutdown / or reboot from LXDE if there 
is a ssh session open with super user active.....It fails with 
"Authentication needed". Log out of the ssh session and LXDE has full 
control again.....

On Thursday, January 23, 2014 1:04:01 PM UTC-6, RobertCNelson wrote:
>
> On Thu, Jan 23, 2014 at 9:35 AM, Charles Steinkuehler 
> <cha...@steinkuehler.net <javascript:>> wrote: 
> > On 1/23/2014 9:40 AM, Robert Nelson wrote: 
> >> All play with ideas, as i've fixed most of the things on my bug list 
> >> and pushed that out as 2014.01.22.. 
> > 
> > Let me know if you need help.  I've done a lot of initrd hacking from my 
> > Linux Router Project / LEAF days, and am comfortable playing with disk 
> > partitions at a low level. 
>
> Okay, I've cobbled together a few things to make it work.. (this using 
> the 2014-01-22 images as a base) 
>
> cd /opt/scripts/tools 
> git pull 
>
> # df -h | grep mmc 
> /dev/mmcblk0p2  3.5G  1.3G  2.1G  38% / 
> /dev/mmcblk0p1   96M   69M   27M  72% /boot/uboot 
> /dev/mmcblk1p2  1.7G  1.3G  351M  78% /media/rootfs 
> /dev/mmcblk1p1   96M   72M   25M  75% /media/boot 
>
> ./grow_partition.sh 
> ( 
> https://github.com/RobertCNelson/boot-scripts/blob/master/tools/grow_partition.sh
>  
> ) 
>
> (ignore all errors) 
> reboot 
>
> (this is run by: 
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L102
>  
> ) 
>
> # cat /boot/uboot/debug/resize.log 
> resize2fs 1.42.5 (29-Jul-2012) 
> Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required 
> old_desc_blocks = 1, new_desc_blocks = 1 
> The filesystem on /dev/mmcblk0p2 is now 1915648 blocks long. 
>
> # df -h | grep mmc 
> /dev/mmcblk0p2  7.2G  1.3G  5.6G  18% / 
> /dev/mmcblk0p1   96M   69M   27M  72% /boot/uboot 
> /dev/mmcblk1p2  1.7G  1.3G  351M  78% /media/rootfs 
> /dev/mmcblk1p1   96M   72M   25M  75% /media/boot 
>
>
> Details: 
> "/opt/scripts/tools" stuff gets populated by default: 
>
> https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L557
>  
>
> Issues: 
> 64MB -> 96MB (for years we used a 64MB boot partition, but switched to 
> 96MB recently) 
>
> Grow is hard-coded to 96M: 
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/tools/grow_partition.sh#L60
>  
>
> A better option is to use sfdisk-'s -N2 option to only expand that.. 
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/tools/grow_partition.sh#L52
>  
>
> I couldn't get that to work.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to