[opensuse-arm] How to resize 13.2 Raspberry Pi image
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? 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. Ciao -- http://www.dstoecker.eu/ (PGP key available) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
If you zero your empty space before zipping, won't that do the trick?
Tony
On Mon, Nov 24, 2014 at 9:10 AM, Dirk Stöcker
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?
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.
Ciao -- http://www.dstoecker.eu/ (PGP key available) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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
On Mon, 24 Nov 2014, Alexander Graf wrote:
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):
[...] Thanks. That worked.
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 :).
It is still wrong. It seems you renamed the source, but the URL is wrong. Current state: ---- linux:~ # more /etc/zypp/repos.d/standard.repo [standard] name=standard enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber... type=NONE ---- should be something like this: ---- linux:~ # more /etc/zypp/repos.d/RaspberryPi.repo [Contrib:RaspberryPi] name=Contrib:RaspberryPi enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber... type=NONE ---- To be perfect the GPG key must also be added, so user is not asked. ;-) Ciao -- http://www.dstoecker.eu/ (PGP key available) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 26.11.14 11:21, Dirk Stöcker wrote:
On Mon, 24 Nov 2014, Alexander Graf wrote:
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):
[...]
Thanks. That worked.
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 :).
It is still wrong. It seems you renamed the source, but the URL is wrong.
Current state: ---- linux:~ # more /etc/zypp/repos.d/standard.repo [standard] name=standard enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ---- should be something like this: ---- linux:~ # more /etc/zypp/repos.d/RaspberryPi.repo [Contrib:RaspberryPi] name=Contrib:RaspberryPi enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ----
Ugh, I shouldn't fix these things at night I guess. I modified the command to hopefully produce the correct result now.
To be perfect the GPG key must also be added, so user is not asked. ;-)
Hrm, do you have any idea where I can find the key? Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 26/11/2014 11:27, Alexander Graf a écrit :
On 26.11.14 11:21, Dirk Stöcker wrote:
On Mon, 24 Nov 2014, Alexander Graf wrote:
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): [...]
Thanks. That worked.
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 :). It is still wrong. It seems you renamed the source, but the URL is wrong.
Current state: ---- linux:~ # more /etc/zypp/repos.d/standard.repo [standard] name=standard enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ---- should be something like this: ---- linux:~ # more /etc/zypp/repos.d/RaspberryPi.repo [Contrib:RaspberryPi] name=Contrib:RaspberryPi enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ---- Ugh, I shouldn't fix these things at night I guess. I modified the command to hopefully produce the correct result now.
To be perfect the GPG key must also be added, so user is not asked. ;-) Hrm, do you have any idea where I can find the key?
Look at the *.repo file in the repo : http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber... And it tells you that GPG key is here: http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber... ;) Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 26.11.14 11:40, Guillaume Gardet wrote:
Le 26/11/2014 11:27, Alexander Graf a écrit :
On 26.11.14 11:21, Dirk Stöcker wrote:
On Mon, 24 Nov 2014, Alexander Graf wrote:
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): [...]
Thanks. That worked.
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 :). It is still wrong. It seems you renamed the source, but the URL is wrong.
Current state: ---- linux:~ # more /etc/zypp/repos.d/standard.repo [standard] name=standard enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ---- should be something like this: ---- linux:~ # more /etc/zypp/repos.d/RaspberryPi.repo [Contrib:RaspberryPi] name=Contrib:RaspberryPi enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
type=NONE ---- Ugh, I shouldn't fix these things at night I guess. I modified the command to hopefully produce the correct result now.
To be perfect the GPG key must also be added, so user is not asked. ;-) Hrm, do you have any idea where I can find the key?
Look at the *.repo file in the repo : http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
And it tells you that GPG key is here: http://download.opensuse.org/repositories/devel:/ARM:/13.2:/Contrib:/Raspber...
;)
Cool, thanks. The key is identical for RPi and IMX6, so I rolled both at the same time now. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (5)
-
Alexander Graf
-
Dirk Stöcker
-
Guillaume Gardet
-
Sid Boyce
-
Tony Su