Seite 1 von 1
Partition corrupt?
Verfasst: Mi 21. Sep 2022, 11:27
von kamaxx
Dear @BPanther;
I suppose My hd51 partitions is corrupted.
So I can only flash recovery images (.iso files) but tar.bz2 images not flashing with an error named "no partitions".
I have just read this thread.I do not know how it belongs to my problem or not
HD51/H7/BRE2ZE4K - serielle Partitionsumschaltung
Which codes must be applied with rs232 cable? or any other solution to my problem?
PS: I use only startup1
Thanks in advance
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 11:43
von BPanther
If you use only one partition so there is no switch to an other partition possible.
Please describe exactly, what you are doing - and logs needed.
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 12:26
von kamaxx
BPanther hat geschrieben: Mi 21. Sep 2022, 11:43
If you use only one partition so there is no switch to an other partition possible.
Please describe exactly, what you are doing - and logs needed.
Yes I only use one partition and I did will not try other partitions.
I am facing "no partition" error whichever i try to flash any e2 or neutrino image with rootfs.tar.bz2 file
No problem with .iso images.
I will send logs you demand
I maybe found a solution and will try tonight.
https://willobuild.com/
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 18:25
von BPanther-Mobil
If you dont use the standard partitions because you use an other programm, then I can not help you.
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 19:15
von kamaxx
BPanther-Mobil hat geschrieben: Mi 21. Sep 2022, 18:25
If you dont use the standard partitions because you use an other programm, then I can not help you.
@BPanther,
"use the standart partitions" What you mean?
This device has 4 startup section(i only use startuo1) and I have a problem with first one.I dont use multiboot or any other things or program.
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 20:15
von thc09
Hi,
there are two Partitionslayouts.
The old (and imho the better one) Layout with 4 Partitions.
The new Layout with one Partition.
Both Types support Multiboot (eg 4 Images)
Get a Image from HERE and flash it via usb(recovery)
So you get 4 Partitions with the BP Image in Partition one. The other 3 where empty.
Configure the Image in Partition 1.
Then flash (from the Image) your favorit Image in another Partition e.g. 2
Set Multiboot to Partition 2 . Set up ... Enjoy.
If you run later in Problems with your Image in Partition 2 ,3 , 4 , Pull the DC Connector from the Box and hold the on/off Button.
Then Plug Dc Connector in , wait a moment the Box booting Partition1 ,leave the on/off Button.
Dont use Partition1 for daily use, better for recovery ...
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 22:08
von BPanther
The question is, how he try to flash the image. At all images there are Online Updates available and they working withpout problems. My Neutrino has also a Offline Update via /tmp directory.
There is no different between the IMG files if you only use 1 image. If you flash a IMG file, all partitons are created - but it is not need to use all. The first will have the main image.
Please describe exactly what you are doing, how do you try to flash and so on. A serial connection is the best for a complete log,but if not available please make the log via telnet (e.g. with putty) with
setconsole
All output and messages now visible. Use
setconsole -r
to disable the log. Then save the log in a text file. The short commands for both are sc and sr.
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 22:15
von kamaxx
thc09 hat geschrieben: Mi 21. Sep 2022, 20:15
Hi,
there are two Partitionslayouts.
The old (and imho the better one) Layout with 4 Partitions.
The new Layout with one Partition.
Both Types support Multiboot (eg 4 Images)
Get a Image from HERE and flash it via usb(recovery)
So you get 4 Partitions with the BP Image in Partition one. The other 3 where empty.
Configure the Image in Partition 1.
Then flash (from the Image) your favorit Image in another Partition e.g. 2
Set Multiboot to Partition 2 . Set up ... Enjoy.
If you run later in Problems with your Image in Partition 2 ,3 , 4 , Pull the DC Connector from the Box and hold the on/off Button.
Then Plug Dc Connector in , wait a moment the Box booting Partition1 ,leave the on/off Button.
Dont use Partition1 for daily use, better for recovery ...
@thc09;
I flashed receovery image on startup1;
Now How to flash on other startups? Other partitions are empty.
Re: Partition corrupt?
Verfasst: Mi 21. Sep 2022, 23:05
von BPanther
Just use any image you want. You need from the zip only 2 files: kernel.bin and rootfs.tar.bz2. Copy both files to /tmp (NOT E2, this is too big) or to an other location (e.g. HDD) and flash them in telnet with
ofgwrite -mX /your_location
X is the partition do you want flash, -m2 is part 2, -m3 part 3 and -m4 is part 4. Example for part 2 and files are at the HDD:
ofgwrite -m2 /hdd
You can also flash via Service Menu (local update) in any partition if kernel and rootfs in a zip or tar.gz packed.
Theme splitted because nothing to do with the main info to partitions or swap.
Re: Partitionen der HD51/H7/BRE
Verfasst: Mi 21. Sep 2022, 23:43
von kamaxx
BPanther hat geschrieben: Mi 21. Sep 2022, 23:05
Just use any image you want. You need from the zip only 2 files: kernel.bin and rootfs.tar.bz2. Copy both files to /tmp (NOT E2, this is too big) or to an other location (e.g. HDD) and flash them in telnet with
ofgwrite -mX /your_location
X is the partition do you want flash, -m2 is part 2, -m3 part 3 and -m4 is part 4. Example for part 2 and files are at the HDD:
ofgwrite -m2 /hdd
You can also flash via Service Menu (local update) in any partition if kernel and rootfs in a zip or tar.gz packed.
@Bpanther;
I have just seen your flash codes.
I tried same path with your instructions(ofgwrite) above.
I now flashed startup2
I have been tried on Bpanther image using flash drive(offline) but I could not success.
Thanks you for inspiring me

Re: Partitionen der HD51/H7/BRE
Verfasst: Mi 21. Sep 2022, 23:48
von BPanther
kamaxx hat geschrieben: Mi 21. Sep 2022, 23:43
I now flashed startup2
I have been tried on Bpanther image using flash drive(offline) but I could not success.
Whats are the error messages exactly? NOT from E2, they may use an other system. If not used the IMG from neutrino first then you can only use different E2 images, not my neutrino.
But if i see it right, you have used the IMG from neutrino. The picture shows a real partition 2 with E2. So the flashing must also work, with E2 and also with neutrino.
Re: Partitionen der HD51/H7/BRE
Verfasst: Do 22. Sep 2022, 00:16
von kamaxx
BPanther hat geschrieben: Mi 21. Sep 2022, 23:48
kamaxx hat geschrieben: Mi 21. Sep 2022, 23:43
I now flashed startup2
I have been tried on Bpanther image using flash drive(offline) but I could not success.
Whats are the error messages exactly? NOT from E2, they may use an other system. If not used the IMG from neutrino first then you can only use different E2 images, not my neutrino.
But if i see it right, you have used the IMG from neutrino. The picture shows a real partition 2 with E2. So the flashing must also work, with E2 and also with neutrino.
I put 2 files(tar.bz2 and kernel-e2 files) into hd51 folder and paste into flash drive.
I opened Bpanther offline manager section to offline update.So It cant find image.
After all;
I showed memory stick path and applied ofgwrite tool command.Thats all.
I note that I will take log file on telnet.
Re: Partition corrupt?
Verfasst: Do 22. Sep 2022, 00:23
von BPanther
As I wrote a zip or tar.gz must have already both files (kernel and root) if you try to flash by neutrino via service menu NOT extras menu (only for offline update of the running image with the single files in /tmp!). If you have both files unpacked then you must flash via telnet and ofgwrite.
Re: Partition corrupt?
Verfasst: Do 6. Okt 2022, 21:38
von kamaxx
Hallo @BPanther;
I am a dumper
I tried many images within 2nd,3rd and 4th banks.Alles gut
But I cant install your image to other banks.
In fact; I sent 2 files to /tmp folder and give same command.
3rd bank is absent and no bpanther image
But Other neutrino images are okey like the attachment
Code: Alles auswählen
mutant51 login: root
Password:
root@mutant51:~# ofgwrite -m3 /media/hdd/hd51
mkdir: can't create directory '/newroot': File exists
ofgwrite Utility v4.6.2
Author: Betacentauri
Based upon: mtd-utils-native-1.5.1 and busybox 1.24.1
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!
Flashing multiboot partition 3
Searching image files in /media/hdd/hd51 resolved to /media/hdd/hd51
Found kernel file: /media/hdd/hd51/kernel.bin
Found kernel file: /media/hdd/hd51/kernel.bin.md5
Found rootfs file: /media/hdd/hd51/rootfs.tar.bz2
Setting default parameter: Flashing kernel and rootfs
Found EXT4 rootfs
Found mounted /newroot
Found mountpoint for rootfs file: /media/hdd
Found /proc/mtd entries:
Device: Size: Erasesize: Name: Image:
Using kernel mtd device:
Using rootfs mtd device:
Read /proc/cmdline
Current rootfs is: /dev/mmcblk0p3
Current kernel is: /dev/mmcblk0p2
Current root sub dir is: linuxrootfs1
Execute: fdisk -l
Found valid GPT with protective MBR; using GPT
Using /dev/mmcblk0p5 as kernel device
Using /dev/mmcblk0p8 as rootfs device
Found valid GPT with protective MBR; using GPT
Flashing currently not running image
Syncing filesystem
Mount rootfs
Mount to /oldroot_remount/ successful
Flashing kernel ...
Successfully flashed kernel!
Flash rootfs unpack
Delete rootfs: rm -r -f /oldroot_remount/linuxrootfs3/
Untar: tar xf /media/hdd/hd51/rootfs.tar.bz2
Successfully flashed rootfs! Rebooting in 3 seconds...
Re: Partition corrupt?
Verfasst: Fr 7. Okt 2022, 00:33
von BPanther
Not new. As I wrote at the changelog, with my image only real partitions are supported.