Closed abirabedinkhan closed 2 months ago
contents of boot directory:
saplaos@BongoPC:~/Downloads$ ls /boot
armbianEnv.txt dtb initrd.img-5.15.27-station vmlinuz-5.15.27-station
armbian_first_run.txt.template dtb-5.15.27-station System.map-5.15.27-station
boot.bmp extlinux uInitrd
config-5.15.27-station Image uInitrd-5.15.27-station
Yes @abirabedinkhan,
until now I did ISO images of raspberry, using VMs on proxmox-ve installed on my Raspi 4 8GB.
This let me to have about the same architecture of a PC: CDROM, UEFI BIOS and so on.
Unfortunately, I'm not yet able to do the same with real raspberry - in my case - or on your sistem, but we can try.
This error came from the way /proc/cmdline
exists on your system... here is a example from my PC amd64 :
BOOT_IMAGE=/vmlinuz-6.5.13-5-pve root=/dev/mapper/father--vg-root ro quiet
This is used here to get the path of vmlinuz and initrd.img.
We must to change something to find the right paths for them.
Told that, you can just edit /etc/penguins-eggs.d/eggs.yaml
, put the right path for vmlinuz and initrd.img and continue.
This is /etc/penguins-eggs.yaml
on my system, just as sample:
compression: fast
force_installer: true
initrd_img: /boot/initrd.img-6.5.13-5-pve
machine_id: 604f58a358594f6a8833daa259a8b663
make_efi: true
make_isohybrid: true
make_md5sum: false
pmount_fixed: false
root_passwd: evolution
snapshot_basename: father
snapshot_dir: /home/eggs/
snapshot_excludes: /etc/penguins-eggs.d/exclude.list
snapshot_mnt: /home/eggs/.mnt/
snapshot_prefix: egg-of_debian-bookworm-
ssh_pass: false
theme: eggs
timezone: Europe/Rome
user_opt: live
user_opt_passwd: evolution
version: 9.7.2
vmlinuz: /boot/vmlinuz-6.5.13-5-pve
Today I'm making the follow experiment: get an ISO directly from raspberry.
Just I created manually my /etc/penguins-eggs.d/eggs.yaml
:
compression: fast
force_installer: false
initrd_img: /boot/initrd.img-6.6.20+rpt-rpi-v8
machine_id: 604f58a358594f6a8833daa259a8b663
make_efi: true
make_isohybrid: true
make_md5sum: false
pmount_fixed: false
root_passwd: evolution
snapshot_basename: colibri
snapshot_dir: /home/eggs/
snapshot_excludes: /etc/penguins-eggs.d/exclude.list
snapshot_mnt: /home/eggs/.mnt/
snapshot_prefix: egg-of_debian-bookworm-
ssh_pass: false
theme: eggs
timezone: Europe/Rome
user_opt: live
user_opt_passwd: evolution
version: 9.7.2
vmlinuz: /boot/vmlinuz-6.6.20+rpt-rpi-v8
and runned: sudo eggs produce
We get our live ISO directly! :-D
This is great, but not enought, we can't boot from ISOs in a raspberry, and I don't know in others systems like odroid and so on.
Perhaps there are more experts can help to find a way to produce not an ISO, but something we can put on a MMC cards and boot it with a real system.
I hope this can help you
If we look on /home/eggs/iso/live
we have all the necessary to boot
I think there is some way to tell U-boot to boot them.
Yeah It generated an iso but it won't boot onto a tv box cuz it didn't load dtbs. Even If its boot than It wont work properly cuz of the drivers and other things that needed to be included into ISO.
saplaos@BongoPC:~/Downloads$ ls /boot
armbianEnv.txt dtb initrd.img-5.15.27-station vmlinuz-5.15.27-station
armbian_first_run.txt.template dtb-5.15.27-station System.map-5.15.27-station
boot.bmp extlinux uInitrd
config-5.15.27-station Image uInitrd-5.15.27-station
I need image like this
Ok, at the moment Im just trying to adapt in same way eggs to raspberry, perhaps you can get a look to armbian for your scope.
I just figured out something for my problem. Thanks for your assistance.
When I ran this command
saplaos@BongoPC:~/Downloads$ sudo eggs produce --clone
it returned the following ->