Hi Alex,

On 23/03/2017 20:48, Alex Armstrong wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

I was testing:
openSUSE-Tumbleweed-ARM-JeOS-raspberrypi.armv6l-2017.03.13-Build1.8.raw.xz

from:
http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/RaspberryPi/images/

On RaspberryPi 1 Model B
It installs fine - expands the file system, creates the dracut based
init and boots to a usable system.  But when I reboot, grub fails with:
error: attempt to read or write outside of partition.

This sounds like the repartitioning failed.

and drops me to the grub rescue system.
Poking around the rescue system, I've found that I can see 4 partitions,
one which is ext2 and has the normal Linux files.  From here, most of

Can you also see the size? IIRC you see partition information with

  (grub) ls (hd0)

the recovery guides say to set the root and prefix variables and then
load the normal module.  I can execute the commands:
set root=(hd0,gpt2)
set prefix=(hd0,gpt2)/boot/grub2

and list the files in the various directories - normal.mod exists in
/boot/grub2/arm-efi/ - but when I try:
insmod normal

I still get the error: attempt to read or write outside of partition.
Somewhat interestingly, if I miss-type the prefix (say; /boot/grub) the
error changes to a "file not found" one.

I was hoping someone might have some ideas about what to try next.

One thing you could try is check on a working system what the partition table and file system look like. It almost sounds like the ext4 partition got resized, but the partition table is still on the old, small size.


Alex
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to