-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kano Burner fails to cope with Formatted SD Cards #52
Comments
Thanks for reporting this! On 19 May 2015 at 22:28, wibbit [email protected] wrote:
|
No Problem. I'll have a look to see the best way in fedora world, to detect and unmount Doug On 20 May 2015 at 10:24, Alex Burr [email protected] wrote:
|
I'm in the process of testing kano burner on a Fedora 21 system, and ran in to an issue relating to the unmounting of the media once the image has been downloaded.
The SD card in question has two partitions, as listed below.
I'm happy for these both to be wiped.
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 204800 196609 96M c W95 FAT32 (LBA)
/dev/mmcblk0p2 221184 5005311 4784128 2.3G 83 Linux
When attempting to use kano burner, I get the following error.
Preparing /dev/mmcblk0 for burning..
ran: [fdisk -l | grep '/dev/mmcblk0[0-9][0-9]*' | awk '{print $1}'] 0
ran: [umount /dev/mmcblk0] 32
[ERROR] umount: /dev/mmcblk0: not mounted
At the time the two partitions were mounted.
/dev/mmcblk0p2 on /run/media/furlongd/rootfs type ext4 (rw,nosuid,nodev,relatime,seclabel,data=ordered,uhelper=udisks2)
/dev/mmcblk0p1 on /run/media/furlongd/kanux-1.3.3 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
Looking at the code, i think the issue is the following line.
That does not pick up on the 'p' in the device name indicating a particular partition, this appears to be the new format that fedora at least is adopting.
Re-formatting the disk with a single partition appears to fix the issue.
Updating the partition string alone does not help, as it still tries to unmount the parent device, which is not mounted (and at least on RHEL variants never would be when there are partitions).
So the following worked for me, but it's probably far from ideal.
The text was updated successfully, but these errors were encountered: