New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReaR on Raspberry Pi: Rear package for ARM #1197
Comments
Hi @ArnoutVerbeken , I don't know if there are some packages for RPI. This should do the trick. V. |
@ArnoutVerbeken How do you plan to boot from the rescue image? |
@gdha I was thinking about a bootable USB stick and then restore to SDcard..? |
I have plans to do some testings on ARM platforms in near future, I cannot assign me any issue, but I can update this issue when I finish those tests with my results if you are agree. Also I cannot guarantee any dates to finish my tests :-P Anyway I can say now that if the SDcard is detected as mmc device, ReaR cannot recreate layout for it because this: /usr/share/rear/layout/save/GNU/Linux/200_partition_layout.sh for disk in /sys/block/* ; do blockd=${disk#/sys/block/} if [[ $blockd = hd* || $blockd = sd* || $blockd = cciss* || $blockd = vd* || $blockd = xvd* || $blockd = dasd* || $blockd = nvme* ]] Kind regards, |
Indeed, new architectures require new pre-requisites. Looking forward to pull requests. |
So if I understand it right, not much I can do right now, except being patient and being a tester if needed? |
Initial support for ARM (and improved compatibility for all architectures). It should work with Raspberry Pis, most TI and Allwinner devices. Currently only OUTPUT=PXE is supported. You need to manually craft a bootable disk with the kernel and initrd. Automatic bootloader detection is not implemented. You need to set BOOTLOADER to either "ARM", which is a dummy and does nothing, or "ARM-ALLWINNER" which will backup and restore the Allwinner bootloader. For Raspberry and most TI devices it should be enough to include the first fat partition (containing the MLO or bootcode.bin) in the backup to backup the bootloader. Currently it was tested only on an Allwinner PcDuino. Testing and adaptions for other ARM devices is needed, cf. #1197
Since #1662 is merged Now since @Lukey3332 implemented the basics for ARM support |
FYI: How you could test the current ReaR GitHub master code: Basically "git clone" it into a separated directory and then # git clone https://github.com/rear/rear.git # mv rear rear.github.master # cd rear.github.master # vi etc/rear/local.conf # usr/sbin/rear -D mkbackup Note the relative paths "etc/rear/" and "usr/sbin/". In general regarding how to work on issues in ReaR |
Has anyone been able to solve this issue? Why was this closed? OUTPUT=PXE is the only support for ARM. Can we develop a full raspberry pi implementation of this? |
@Danrancan Unfortuntely, no-one contributed any ARM64 code for ReaR as far as I know except for the message around PXE booting. However, the PXE booting itself is not the biggest hurdle, but recovering the PI itself:
The question these days is who is willing to spent time on this for free? Via a team of persons it might be possible... |
Hello,
I want to install REAR on an Raspberry3 on Debian Jessie (Raspbian actually), but I can't find suitable package for ARM (for v2.0)
Is it available anywhere? Or how should I install?
Thanks
The text was updated successfully, but these errors were encountered: