Hey, I have problems installing Ubuntu on my server.
I have a USB stick (64gb sandisk) that i want to flash ‘ubuntu-20.04.1-desktop-amd64.iso’ to. The first time I did it I got a message at the end of the process in belena, that there was an error.
I ignored it because I’m stupid and put the USB stick in my server. Booted from it, but when it was checking the filesystem (before going into the ‘Try ubuntu or install ubuntu’ screen), it said something like “Filesystem checked: 1 errors found; you may run into crashes”.
Again ingored it because I’m again stupid, but after it everything worked fine. Installed lots of things, set everything up and all was good.
It worked perfectly for 3 weeks. I wanted to reboot the system (did some sudo apt update/upgrade, so I thought let’s just reboot it, it can’t hurt) but it wouldn’t boot. It said that it (something like, can’t remember) couldn’t load kernel or something. Searched it up and found out that it had to do with the errors while flashing and the error when checking the filesystem. That the live usb was currupted. Fortunaly i was able to boot from the live usb and move 1tb of plex media to a different drive so that i wouldn’t lose it (moved it over the network).
I began google-ing and found this link: https://www.raspberrypi.org/forums/viewtopic.php?t=196472
Following this, I can give you the following information: I use the direct ISO file, not in a zip file. I have disconnected from the internet while flashing to stop anti virus software (as the last reply suggests), but didn’t work. My USB stick is perfectly working. I have ran balenaetcher an administrator, didn’t change anything. They also asked for the CTRL+SHIFT+I info. So here you have it.
This is what I have when verifying. It says 0 failed devices…
Verifying 1 device, 48% at 128.40 MB/s (total 128.40 MB/s) eta in 11s with 0 failed devices
But when it’s done, it says ‘1 failed target’.
In the console it says the following:
Tue Oct 20 2020 11:26:49 GMT+0200 (Midden-Europese zomertijd) Validation error ({"image":{"size":2785017856,"name":"ubuntu-20.04.1-desktop-amd64.iso","hasMBR":true,"partitions":[{"offset":2568904704,"size":4063232,"type":239,"index":1}],"extension":"iso","path":"D:\\iso\\ubuntu-20.04.1-desktop-amd64.iso"},"drives":[{"size":61530439680,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive2","error":null,"isReadOnly":false,"displayName":"E:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive2","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"E:\\"}],"description":"SanDisk Ultra Fit USB Device","isUAS":false}],"driveCount":1,"uuid":"20b23c40-18f3-4da4-83ae-c42774772641","flashInstanceUuid":"20b23c40-18f3-4da4-83ae-c42774772641","unmountOnSuccess":true,"validateWriteOnSuccess":true,"sample":0.1,"applicationSessionUuid":"3174732a-db6a-4b10-b6d1-be9254304251","flashingWorkflowUuid":"4ada6234-a1c4-4ea0-b6af-101093fabfcc"})
When i look at the drive (It’s in dutch sorry),
It’s only 4mb big. And 57gb of the drive is just not there, as you can see in the diskmanager here.
On the drive it is the following: efi -> boot -> boootx64.efi grubx64.efi mmx64.efi
Thats all. Just three files in a folder in a folder.
The drive is formatted in NTFS. But when i change that to exfat (format the 4mb, remove the volume, format the whole drive), AKA the drive is one big 64gb normal empty exfat drive, and I flash it again, i get no errors in balena.
So in NTFS i get errors, but in exfat not.
When I’m done flashing the drive (exfat), it says ‘1 successful target’, and i have the following in the console screen:
Tue Oct 20 2020 11:42:43 GMT+0200 (Midden-Europese zomertijd) Done ({"image":{"size":2785017856,"name":"ubuntu-20.04.1-desktop-amd64.iso","hasMBR":true,"partitions":[{"offset":2568904704,"size":4063232,"type":239,"index":1}],"extension":"iso","path":"D:\\iso\\ubuntu-20.04.1-desktop-amd64.iso"},"drives":[{"size":61530439680,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive2","error":null,"isReadOnly":false,"displayName":"F:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive2","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"F:\\"}],"description":"SanDisk Ultra Fit USB Device","isUAS":false}],"driveCount":1,"uuid":"b6b76cb6-41e2-4a4d-88d7-a35fafb7f8dc","status":"finished","flashInstanceUuid":"b6b76cb6-41e2-4a4d-88d7-a35fafb7f8dc","unmountOnSuccess":true,"validateWriteOnSuccess":true,"errors":[],"devices":{"failed":0,"successful":1},"bytesWritten":2785017856,"sourceMetadata":{"size":2785017856,"name":"ubuntu-20.04.1-desktop-amd64.iso","blocks":[{"blocks":[{"offset":0,"length":2785017856}]}],"blockmappedSize":2785017856},"sample":0.1,"applicationSessionUuid":"3174732a-db6a-4b10-b6d1-be9254304251","flashingWorkflowUuid":"00d169ea-a831-40b9-8e7c-0ce964210007"})
So I thought great, it’s fixed. Strange but ok. It’s still 4mb, still just 3 files but hey, it said successful. I plug the drive in my server, boot from it and ofcourse… “Filesystemchecked: 1 error found; you may encounter crashes”. Ofcourse it’s not that easy.
So now I really don’t know what to do anymore. I followed other people’s suggestions, but it just doesn’t work.
HELP… please…