2009-06-21, 13:07
I've a problem while using the script to install 9.04.1 iso live image into a bootable usb.
Running the command
fails with the following message:
I've seen that the scripts only works with english version of fdisk, so i've to change line 42 of installXBMC.py from
to
in order to detect the available partitions.
After this all worked fine.
Hope this helps somebody with the same issue
Running the command
Code:
sudo ./installXBMCFromISO.sh
fails with the following message:
Code:
...
File "./installXBMC.py", line 43, in diskSizeKB
nBytes = int(diskusage)
ValueError: invalid literal for int() with base 10: ''
I've seen that the scripts only works with english version of fdisk, so i've to change line 42 of installXBMC.py from
Code:
diskusage, retCode = runSilent('fdisk -l ' + aVolume + ' | grep "Disk ' + aVolume + '" | cut -f 5 -d " "')
Code:
diskusage, retCode = runSilent('fdisk -l ' + aVolume + ' | grep "Disco ' + aVolume + '" | cut -f 5 -d " "')
in order to detect the available partitions.
After this all worked fine.
Hope this helps somebody with the same issue