On 24/11/14 19:05, Alexander Graf wrote:
On 24.11.14 18:10, Dirk Stöcker wrote:
Hello,
I installed following image on a Raspberry Pi http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
It does work fine and I even now got my hardware drivers compiled which did not succeed with 13.1. Thanks a lot to all people involved.
One question I do have thought: I tried to resize the system after it was installed or before it auto-installs, but was unable to do it.
Fixing it before installation fails as I do not find the releavnt sections in the image (probably they are zipped, so string search does not help). Resizing afterwards with yast2 on another machine resulted in a broken image (probably boot loader or MBR breaks?).
Does anybody have any hint how I can change the automatic size settings to something which fits my individual requirements? Sure! You can just osc branch the JeOS-raspberrypi image in OBS and change the kiwi configuration to your preferred disk layout.
Alternatively, you can also resize the file system after first boot finished. Make sure to do the fixups required to get it booting again afterwards though (copied from pre-checkin.sh in JeOS-raspberrypi):
#========================================== # convert GPT to hybrid GPT again #------------------------------------------ echo "r h 1 2 3 n c y 83 n 83 n w y" > /gdisk.tmp /usr/sbin/gdisk /dev/mmcblk0 < /gdisk.tmp rm -f /gdisk.tmp
P.S. A slight error: the Raspberry contrib repository URL ends in "openSUSE_13.2", but the real URL is "standard". Either the image or OBS should be fixed. Oh, thanks for the catch. Fixed now and rebuilding :).
Alex
I use large sizes of SD cards. After burning the image, e.g to /dev/sdb, remove the SD card and insert it again. "gparted /dev/sdb" Add the space of the rootfs partition to the unused space and change rootfs to the total calculated, click resize and Apply. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org