Open hzulla opened 9 years ago
Ah, so the error is that src/linux/disk.py is using two different tools, parted and fdisk. But those may return the disks in different order.
I had the same thing, but didn't notice until I had closed the window and looked at the shell output.
Running from source
Linux OS detected
Making temp directory
Checking for dependencies..
Internet connection detected
All necessary tools have been found
Free space 32041.73 MB in /tmp/kano-burner/
Sufficient available space
All dependencies were met
Scanning drives..
Listing {'size': 7.94820608, 'id': '/dev/sda', 'name': 'ATA TOSHIBA THNSNH25'}
Ignoring {'size': 256.060514304, 'id': '/dev/mmcblk0', 'name': 'SD SL08G'}
Disclaimer was accepted, starting process
Downloading Kano OS..
Downloading latest OS information
Latest Kano OS image is Kanux-Beta-v1.3.3-release.img
Downloading successfully finished and md5 check passed
Preparing /dev/sda for burning..
[ERROR] umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[ERROR] umount: /dev/sda2: not mounted
[ERROR] umount: /dev/sda5: not mounted
[ERROR] umount: /dev/sda: not mounted
[ERROR] mkdosfs: unable to open /dev/sda: Device or resource busy
Burning image to SD card on /dev/sda
Burning successfully finished
Polling burner for progress..
Ejecting disk..
[ERROR] umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
eject: unmount of `/' failed
Removing temp files
After lots of futzing around trying to make it recognise the SDCard at all, I finally saw the 7.9GB size for the card listed as the only option and just selected that without properly checking the device label. I probably had a false sense of security having seen that kano-burner checks it won't write to a HD and it never listed the HD at all earlier. So much for that.
The output isn't entirely clear whether it or not it overwrote anything on /dev/sda. It doesn't sound like it did, but just to be sure I'm in the middle of taking a backup before I do anything else.
Here's my output of parted --list
If I start kano-burners, this debugging output will appear:
kano-burners will then offer to burn onto 'ATA HGST HTS541010A9'.
I preferred not to try that. :-/