Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-13 Thread Stefan Seyfried
Am 12.01.2018 um 22:43 schrieb Brüns, Stefan: > When a once used SD card gets "refilled" using dd, it will still have the GPT > backup at the "end" of the card, which may confuse the kernel. Try erasing > the > last sector of the card, e.g.: > > card=/dev/sdb > size=`/usr/sbin/blockdev --getsiz

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-13 Thread Freek de Kruijf
Op vrijdag 12 januari 2018 22:47:16 CET schreef Brüns, Stefan: > should be > > size=`/usr/sbin/blockdev --getsize64 $card` > dd if=/dev/zero of=$card obs=1 seek=$((size - 1024)) count=1024 better # change X to the letter of the device with the SD card card=/dev/sdX ssize=$(/usr/sbin/blockdev --g

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-13 Thread Daniel Bischof
Hi, On Fri, 12 Jan 2018, Brüns, Stefan wrote: [...] On Freitag, 12. Januar 2018 22:43:16 CET Brüns, Stefan wrote: When a once used SD card gets "refilled" using dd, it will still have the GPT backup at the "end" of the card, which may confuse the kernel. Try erasing the last sector of the

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-13 Thread Freek de Kruijf
Op vrijdag 12 januari 2018 22:47:16 CET schreef Brüns, Stefan: > size=`/usr/sbin/blockdev --getsize64 $card` > dd if=/dev/zero of=$card obs=1 seek=$((size - 1024)) count=1024 Indeed that's the solution. I will document it on en.opensuse.org after some experimatation with sector as unit, because t

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-12 Thread Brüns , Stefan
On Freitag, 12. Januar 2018 22:43:16 CET Brüns, Stefan wrote: > On Freitag, 12. Januar 2018 21:30:48 CET Freek de Kruijf wrote: > > > which shows the same behavior. > > > > Tried again with a new 16 GB microSD card, which succeeded. > > I collected on the console the boot output, logged in and typ

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-12 Thread Brüns , Stefan
On Freitag, 12. Januar 2018 21:30:48 CET Freek de Kruijf wrote: > > > > which shows the same behavior. > > Tried again with a new 16 GB microSD card, which succeeded. > I collected on the console the boot output, logged in and typed "fdisk -l > /dev/mmcblk0", both using this 16 GB card and an 8 G

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-12 Thread Freek de Kruijf
Op woensdag 10 januari 2018 13:42:27 CET schreef Freek de Kruijf: > Op woensdag 10 januari 2018 13:26:53 CET schreef Freek de Kruijf: > > I used two images from repository: > > http://download.opensuse.org/ports/aarch64/tumbleweed/images/ > > namely: > > openSUSE-Tumbleweed-ARM-JeOS-raspberrypi2.ar

Re: [opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-10 Thread Freek de Kruijf
Op woensdag 10 januari 2018 13:26:53 CET schreef Freek de Kruijf: > I used two images from repository: > http://download.opensuse.org/ports/aarch64/tumbleweed/images/ > namely: > openSUSE-Tumbleweed-ARM-JeOS-raspberrypi2.armv7l-2017.12.14-Build1.9.raw.xz > openSUSE-Tumbleweed-ARM-JeOS-raspberrypi2.

[opensuse-arm] Tumbleweed image for Raspberry Pi 2 contains a corrupt ext4 partition after first boot

2018-01-10 Thread Freek de Kruijf
I used two images from repository: http://download.opensuse.org/ports/aarch64/tumbleweed/images/ namely: openSUSE-Tumbleweed-ARM-JeOS-raspberrypi2.armv7l-2017.12.14-Build1.9.raw.xz openSUSE-Tumbleweed-ARM-JeOS-raspberrypi2.armv7l-2017.12.14-Build1.10.raw.xz The first one comes up properly. However