C
CrazedNerd
Guest
Sorry if this question seems like gibberish to you, I am still a n00b in terms of general linux knowledge.
It seems like operating systems in general struggle with this, the data on the drives must be written properly to begin with for operating systems and the BIOS to be able to recognize them. I feel like this is a catch-22, and sophisticated operating systems like Ubuntu or Windows should be able to recognize/analyze the nature of flash-drive data by default whether it's corrupted, a bootable image, etc.
MAYBE there is also a problem with the way devices get mounted to the Ubuntu file system. I've struggled with an issue over the past couple days of writing a bootable Fedora image over the past couple days with dd (a command line tool for writing/erasing data). The problem can't be dd, because it's the only program i've found so far that successfully writes boot images to flash drives. In the past, i resorted to using DVD-Rs with img-burn (a free and very limited program that works with Windows) in order to get linux up and running.
The problem I've had over the past couple days, and the solution can be summed up as thus: i've tried to use dd to write a bootable image of fedora so i can add it to my hard drive, but i was getting a lot of error messages in terms of both my flash drives, and at times i was not able to use Disks (probably the best GUI paritioning tool in linux...) to fully format the flash drives. I tried to use dd to go ahead and write over everything, but unfortunately the program would just display a flashing cursor, then after a couple hours dd finished its work and said something like "/dev/sdb: unable to write", and even though it appeared to work i didn't get an image that could be read by my BIOS. According to the BIOS, this flash drive did not exist...
However, i was miraculously able to format the entire drive with as a FAT file system with Disks after this time-consuming failure, and then miraculously it took a whopping ~2 MINUTES for dd to do it's work:
........
So why exactly do I keep running into this problem with flash drives? Shouldn't writing images be relatively easy?
It seems like operating systems in general struggle with this, the data on the drives must be written properly to begin with for operating systems and the BIOS to be able to recognize them. I feel like this is a catch-22, and sophisticated operating systems like Ubuntu or Windows should be able to recognize/analyze the nature of flash-drive data by default whether it's corrupted, a bootable image, etc.
MAYBE there is also a problem with the way devices get mounted to the Ubuntu file system. I've struggled with an issue over the past couple days of writing a bootable Fedora image over the past couple days with dd (a command line tool for writing/erasing data). The problem can't be dd, because it's the only program i've found so far that successfully writes boot images to flash drives. In the past, i resorted to using DVD-Rs with img-burn (a free and very limited program that works with Windows) in order to get linux up and running.
The problem I've had over the past couple days, and the solution can be summed up as thus: i've tried to use dd to write a bootable image of fedora so i can add it to my hard drive, but i was getting a lot of error messages in terms of both my flash drives, and at times i was not able to use Disks (probably the best GUI paritioning tool in linux...) to fully format the flash drives. I tried to use dd to go ahead and write over everything, but unfortunately the program would just display a flashing cursor, then after a couple hours dd finished its work and said something like "/dev/sdb: unable to write", and even though it appeared to work i didn't get an image that could be read by my BIOS. According to the BIOS, this flash drive did not exist...
However, i was miraculously able to format the entire drive with as a FAT file system with Disks after this time-consuming failure, and then miraculously it took a whopping ~2 MINUTES for dd to do it's work:
Code:
xarathustra@xarathustra:~/Desktop$ sudo dd if=../Downloads/Fedora-Workstation-Live-x86_64-35-1.2.iso of=/dev/sdb1 status=progress
[sudo] password for xarathustra:
1986273792 bytes (2.0 GB, 1.8 GiB) copied, 148 s, 13.4 MB/s
3924480+0 records in
3924480+0 records out
2009333760 bytes (2.0 GB, 1.9 GiB) copied, 148.804 s, 13.5 MB/s
........
So why exactly do I keep running into this problem with flash drives? Shouldn't writing images be relatively easy?
Last edited by a moderator: