[fix + update] Multiboot
-
-
UltraFitPart1 war mein USB Stick, der aber jetzt als Standard-Aufnahmegerät auf /media/hdd gemountet ist.
Das ist auch das einzige Verzeichnis in /media in dem was passiert, die anderen sind leer.Aber gute Idee mit dem Warten, jetzt ist eh erstmal GZSZ
-
Zitat
Original von Kurti79
Könntest du bitte den Inhalt unter /media/boot auch posten ?MFG
KURTIroot@dreambox:/tmp#
ls -l /media/drwxr-xr-x 2 root root 4096 Oct 30 08:55 ba
drwxr-xr-x 3 root root 4096 Nov 1 17:22 hdd
drwxr-xr-x 2 root root 0 Nov 4 18:44 net
root@dreambox:/tmp# -
Es liegt an der gboot.json ,wer schon eine drauf hat bei dem geht das ,daher geht das bei uns ,da muss Emu nochmal nachsehen was da wie seine bin macht .
-
CoreElec geht doch auch. Muss man sich Halt den Booteintrag umschreiben (name).
-
fix + update
-
läuft super,brauche nicht mehr aus dem sessel,super arbeit,daumen hoch
-
danke.
-
Supi, läuft nun... 1.000 Dank
Hatte allerdings etwas Startprobleme:
Die gboot.bin lief sauber durch, allerdings wurde ich nach Neustart bei der Wahl von Android immer wieder ins Bootmenu zurückgeworfen.Ein paar mal probiert und neu gestartet, weil da ja wohl was angelegt werden sollte, aber ohne Erfolg. Das bootlog blieb auch leer.
Dann aus purem Aktionismus den Eintrag in der gboot.json auf die 2. Partition und ext4 geändert. Wieder nix.Wieder zurück auf Anfang mit 1. Partition und vfat und voila... alles tutti!
Kann allerdings auch damit zusammenhängen, dass ich dazwischen die Rescue Konsole genutzt hatte, wer weiß das schon ¯\_(^.^)_/¯
Zitat"Kaum macht man es richtig, .... schon geht es!"
-
Very good, now it works.
A bit unclear on my television but maybe a TV setting fixes this?
tv: Samsung UE65MU7075.login as: root
root@192.168.0.121's password:
root@dreambox:~# cd /tmp
root@dreambox:/tmp# chmod 755 gboot.bin
root@dreambox:/tmp# ./gboot.bingboot.bin: Self Extracting Gemini Bootmanager (dreamone) Installer
installer
files/
files/gboot.img
files/autoexec.img
files/gboot.bmp
files/.directory
files/fw_setenv
files/fw_printenv
files/fw_env.config
- Dreambox Android gboot update sdcard script
Running update Android from: /tmp/files* Umounting device...
* Done* Waiting for automount
* Done* Umounting device...
* Done* Copying boot files...
* Copying old autoexec.img file to autoexec_android.img
* Done* No need to update env sd boot
root@dreambox:/tmp#
-
-
-
update
-
Top
-
Mit der letzten gboot gehts nun auch bei mir.
-
Zitat
Original von emanuel
CoreElec geht doch auch. Muss man sich Halt den Booteintrag umschreiben (name).Erst mal danke für dein Multiboot,funktioniert super, wie und wo kann ich das ändern dass es auch mit CoreElec funktioniert ?
Gruß
-
einfach ganz genau so installieren und Booten (einfach Android wählen).
Danach wird eine Datei auf der ersten Partition erstellt "gboot.json" da kannst den Namen ändern von Android auf CoreElec. Die Bootsequenz ist die selbe.
Du kannst aber auch ins rescue des gboot wählen (Tools / Settings->Console), die erste Partition wird auf /flash gemountet und nano/telnet ist im Rescue (Console) mit drin.
/flash/gboot.json:
Code
Alles anzeigen{ "timeout":10, "lastboot":0, "keymap":"/usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz", "entrys": [ { "name":"DreamOs (flash)", "device":"FLASH", "format":"mmc", "image":"" }, { "name":"Android (sdcard)", "device":"/dev/mmcblk1p1", "format":"vfat", "image":"autoexec_android.img" }, { "name":"Ubuntu (usb)", "device":"/dev/sda1", "format":"ext4", "image":"autoexec.img" } ] }
Code
Alles anzeigen{ "timeout":10, "lastboot":0, "keymap":"/usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz", "entrys": [ { "name":"DreamOs (flash)", "device":"FLASH", "format":"mmc", "image":"" }, { "name":"CoreElec (sdcard)", "device":"/dev/mmcblk1p1", "format":"vfat", "image":"autoexec_android.img" } ] }
-
könnte man Android und CoreElec auch zusammen auf eine SDcard packen wenn diese zwei Partitionen hat
[edit]
Disk /dev/mmcblk1: 32.0 GB, 32010928128 bytes
4 heads, 16 sectors/track, 976896 cylinders
Units = cylinders of 64 * 512 = 32768 bytesDevice Boot Start End Blocks Id System
/dev/mmcblk1p1 1 488440 15630072 83 Linux
/dev/mmcblk1p2 488441 976896 15630592 83 Linuxhabs mal händisch versucht:
Code
Alles anzeigenroot@dreambox:/data/android$ ./flash_all_sd.sh /dev/mmcblk1p1 Dreambox Android flash all sdcard script Running from: /data/android Umounting device... Done Partitioning /dev/mmcblk1p1 device... Checking that no-one is using this disk right now ... FAILED This disk is currently in use - repartitioning is probably a bad idea. Umount all file systems, and swapoff all swap partitions on this disk. Use the --no-reread flag to suppress this check. sfdisk: Use the --force flag to overrule all checks.
habe dann in dem script bei sfdisk "--force" gesetzt.
Code
Alles anzeigenroot@dreambox:/data/android$ ./flash_all_sd.sh /dev/mmcblk1p1 Dreambox Android flash all sdcard script Running from: /data/android Umounting device... Done Partitioning /dev/mmcblk1p1 device... Checking that no-one is using this disk right now ... FAILED This disk is currently in use - repartitioning is probably a bad idea. Umount all file systems, and swapoff all swap partitions on this disk. Use the --no-reread flag to suppress this check. Disk /dev/mmcblk1p1: 14,9 GiB, 16005193728 bytes, 31260144 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes >>> Created a new DOS disklabel with disk identifier 0x02e6e40a. /dev/mmcblk1p1p1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 512 MiB. /dev/mmcblk1p1p2: Created a new partition 2 of type 'Linux' and of size 1,3 GiB. /dev/mmcblk1p1p3: Created a new partition 3 of type 'Linux' and of size 512 MiB. /dev/mmcblk1p1p4: Created a new partition 4 of type 'Extended' and of size 12,7 GiB. /dev/mmcblk1p1p5: Created a new partition 5 of type 'Linux' and of size 128 MiB. /dev/mmcblk1p1p6: Created a new partition 6 of type 'Linux' and of size 128 MiB. /dev/mmcblk1p1p7: Created a new partition 7 of type 'Linux' and of size 66 MiB. /dev/mmcblk1p1p8: Created a new partition 8 of type 'Linux' and of size 128 MiB. /dev/mmcblk1p1p9: Created a new partition 9 of type 'Linux' and of size 12,2 GiB. /dev/mmcblk1p1p10: Done. New situation: Device Boot Start End Sectors Size Id Type /dev/mmcblk1p1p1 2048 1050623 1048576 512M c W95 FAT32 (LBA) /dev/mmcblk1p1p2 1050624 3672064 2621441 1,3G 83 Linux /dev/mmcblk1p1p3 3674112 4722688 1048577 512M 83 Linux /dev/mmcblk1p1p4 4724736 31260143 26535408 12,7G 5 Extended /dev/mmcblk1p1p5 4726784 4988928 262145 128M 83 Linux /dev/mmcblk1p1p6 4993024 5255168 262145 128M 83 Linux /dev/mmcblk1p1p7 5259264 5394432 135169 66M 83 Linux /dev/mmcblk1p1p8 5398528 5660671 262144 128M 83 Linux /dev/mmcblk1p1p9 5662720 31260143 25597424 12,2G 83 Linux The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Invalid argument The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). Syncing disks. Done Waiting for automount Done Umounting device... Done Formatting boot partition... mkfs.vfat: can't open '/dev/mmcblk1p1p1': No such file or directory
hat leider auch nicht geklappt....jemand noch eine Idee?
-
-
Beide gehen ,er hat halt nur noch ein update angehängt und die Vorgänger Version nicht gelöscht.
Daher du kannst egal welche nutzen ,die zweite ist die aktuelle mit seinem letzten update.