User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Where do I find fixup4rc.dat?

Mon May 03, 2021 4:57 pm

I have just bought a Manx Data 250Gb USB 3 drive, for my 4Gb Rpi 4B. I would like to boot from it. I have followed all the various instructions on YouTube and elsewhere, but when I try to boot from the USB drive I get ERROR 00000044 "recover4.elf not compatible" and "missing fixup4rc.dat". It seems to be quite a common problem. But nowhere can I find advice on how to cure it. It seems that I have a file /mnt/mydisk/recover4.elf but fixup4rc.dat remains elusive.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 5:03 pm

"missing fixup4rc.dat" is minor and can just be ignored, it will still boot without that

"recover4.elf not compatible" is your real problem, you need to update the firmware on the noobs/pinn partition, or use plain raspi-os

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 5:29 pm

Thanks, but where do I find the noobs/pinn partition? I have never used noobs.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 5:30 pm

what files are present on the usb drive?

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 6:13 pm

I used the SD card copier to transfer everything on my SD card to the USB 3 drive. So there are two partitions, boot and root on it. I downloaded NOOBS_lite_v3_6.zip as a zip file from raspberrypi.org and extracted recover4.elf to the boot partition of the drive, and fixup4rc.dat as well.Still the same errors when I remove the SD card and try to boot from the drive.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 6:18 pm

its possible that the firmware in NOOBS_lite_v3_6.zip is too old

https://github.com/raspberrypi/firmware ... aster/boot

grab the start4.elf and fixup4.dat files, and rename them to recover4.elf and fixup4rc.dat, and see if that helps

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 7:23 pm

Never used git before. How do I download those files?
otium negare negotium vanum

User avatar
rpdom
Posts: 18531
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 7:26 pm

Click on the filename to get to its page, then click Download.
Unreadable squiggle

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 7:45 pm

Thanks. OK, done that. I am still getting recover4.elf not compatible.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 7:56 pm

GavinW wrote:
Mon May 03, 2021 7:45 pm
Thanks. OK, done that. I am still getting recover4.elf not compatible.
was start4.elf renamed to recovery4.elf, and then used to replace the recovery4.elf on the usb drive?

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 8:02 pm

Yes it was.
otium negare negotium vanum

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Mon May 03, 2021 8:59 pm

A point of confusion has struck me. When I run RpiOS from the ssd card, the USB 3 drive appears as two icons on the desktop: boot and root. Should the firmware files be going into boot or root/boot? From the error messages it appears that the system thinks it has firmware from 07/06/2019, despite the fact that I did a full upgrade before copying the ssd card. vcgencmd bootloader_version gives Apr 29 2021.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 7:35 am

GavinW wrote:
Mon May 03, 2021 8:59 pm
A point of confusion has struck me. When I run RpiOS from the ssd card, the USB 3 drive appears as two icons on the desktop: boot and root. Should the firmware files be going into boot or root/boot? From the error messages it appears that the system thinks it has firmware from 07/06/2019, despite the fact that I did a full upgrade before copying the ssd card. vcgencmd bootloader_version gives Apr 29 2021.
what does "fdisk -l" return?, there will be at least 2 partitions, maybe 3 or more

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 7:46 am

fdisk -l says mostly "permission denied". But sudo fdisk -l says rather a lot.

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

followed by 15 similar for ram1, ram2, .... ram15. Then

Disk /dev/mmcblk0: 14.7 GiB, 15720251392 bytes, 30703616 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
Disklabel type: dos
Disk identifier: 0x3cca53c6

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 3193359 3185168 1.5G e W95 FAT16 (LBA)
/dev/mmcblk0p2 3193360 30703615 27510256 13.1G 5 Extended
/dev/mmcblk0p5 3194880 3260413 65534 32M 83 Linux
/dev/mmcblk0p6 3260416 3784701 524286 256M c W95 FAT32 (LBA)
/dev/mmcblk0p7 3784704 30703615 26918912 12.9G 83 Linux


Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Data USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x3cca53c6

Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 3193359 3185168 1.5G c W95 FAT32 (LBA)
/dev/sda2 3193360 488397167 485203808 231.4G 5 Extended
/dev/sda5 3194880 3260413 65534 32M 83 Linux
/dev/sda6 3260416 3784701 524286 256M c W95 FAT32 (LBA)
/dev/sda7 3784704 488397167 484612464 231.1G 83 Linux
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 8:03 am

Code: Select all

        Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 3193359 3185168 1.5G e W95 FAT16 (LBA)
/dev/mmcblk0p2 3193360 30703615 27510256 13.1G 5 Extended
/dev/mmcblk0p5 3194880 3260413 65534 32M 83 Linux
/dev/mmcblk0p6 3260416 3784701 524286 256M c W95 FAT32 (LBA)
/dev/mmcblk0p7 3784704 30703615 26918912 12.9G 83 Linux
mmcblk0p1 is the noobs partition, where recovery4.elf should be
mmcblk0p5 is probably the config for noobs

mmcblk0p6 is the /boot for your first os
mmcblk0p7 is the rootfs for the first os

you need to update the .elf file in mmcblk0p1 first, and then see if it boots further

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 9:51 am

I don't understand this. I have never used noobs to get Raspbian, to my knowledge.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 9:53 am

GavinW wrote:
Tue May 04, 2021 9:51 am
I don't understand this. I have never used noobs to get Raspbian, to my knowledge.
if you mount mmcblk0p1, what files are present on it?

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 10:00 am

How do I mount mmcblk0p1? You must excuse the fact that I am a complete novice with Linux.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 11:59 am

GavinW wrote:
Tue May 04, 2021 10:00 am
How do I mount mmcblk0p1? You must excuse the fact that I am a complete novice with Linux.
"mount /dev/mmcblk0p1 /mnt"

you can also run "mount" and look for it, it may have already mounted for you

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 12:13 pm

Thanks. I did ls -l /mnt and it reported

-rwxr-xr-x 1 root root 760544 Jun 10 2019 recover4.elf

so it is indeed not up to date. I have done

sudo cp /media/pi/root/boot/recover4.elf /mnt

Now I keep my fingers crossed.
otium negare negotium vanum

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 2:24 pm

Unfortunately that bricked my SSD card. Using a backup, but the mouse and keyboard lock up after a minute or so. What could cause that? Overheating? Overclocking?
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 2:50 pm

GavinW wrote:
Tue May 04, 2021 2:24 pm
Unfortunately that bricked my SSD card. Using a backup, but the mouse and keyboard lock up after a minute or so. What could cause that? Overheating? Overclocking?
hard to guess without log files
does ssh still work?

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 3:18 pm

On the backup card I had set Raspbian to 64-bit and had overclocked it to 2.1Ghz. No wonder it was staggering. I have now set it back to 32-bit and to 1.75Ghz and the keyboard has not locked up yet. I have never used or enabled ssh, being too ignorant about it.
It seems clear that the bricked card did not like having a more recent recover4.elf inserted into the mmcblk0p1 partition. Like an idot I did not back-up the old one. I can stick the card in a card-reader, and try saving stuff off it (there is not much) and re-installing Raspbian or RpiOS or whatever it is now called.

Thank you for your patient replies. May I trespass on your kindness with a small query? When Raspbian boots up (with either card) the first two lines to appear on the screen say 'error' and something about mmc, before they whirl out of readability. Is this anything that I should be worrying about? 'error' seems to be a much-overloaded word.
otium negare negotium vanum

cleverca22
Posts: 3589
Joined: Sat Aug 18, 2012 2:33 pm

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 3:45 pm

GavinW wrote:
Tue May 04, 2021 3:18 pm
Thank you for your patient replies. May I trespass on your kindness with a small query? When Raspbian boots up (with either card) the first two lines to appear on the screen say 'error' and something about mmc, before they whirl out of readability. Is this anything that I should be worrying about? 'error' seems to be a much-overloaded word.
probably safe to ignore those

User avatar
GavinW
Posts: 116
Joined: Tue Nov 01, 2011 8:11 pm
Location: UK
Contact: Website

Re: Where do I find fixup4rc.dat?

Tue May 04, 2021 7:41 pm

Thanks. Raspbian seems to be running reliably now on my back-up SD-card. I did a full update, and rpi-update which proved to be unnecessary. I tried copying the new card to the old one, in its card-reader. At one point the screen blanked and I pressed the space bar several times to bring the screen back. Unfortunately the cursor was in the wrong place and the copying operation was aborted. I tried again, but this time the SD-card in the card-reader was not recognized. sudo fdisk -l did not show it, so I am presuming that it has become corrupted by the aborted copy. Just to be careful, I have disabled screen-blanking now. I copied the back-up card to the USB 3 SSD device again, but it would not boot. Same old "recover4.elf incompatible".

Should I have formatted the USB 3 SSD device before copying to it? I had presumed that the SD card copier took care of all that. In which case I am led to the conclusion that the failure to boot from the USB 3 device must be because my attempts to update my system were insufficiently thorough, or because my Rpi4B is some early version on which the update process fails. Is there anything more that I can try?
otium negare negotium vanum

Return to “Troubleshooting”