Portál AbcLinuxu, 13. května 2025 03:51
Chcem vyskusat OpenELEC vo virtualboxe, stiahol som .img.gz subor, po gzip -d hlasi file ze je to typ:
OpenELEC-Generic.x86_64-7.0.0.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,254,63), startsector 1, 1122303 sectors
Jak to dostanem do virtualboxu, ten pozna len vmd a spol.
Řešení dotazu:
# Disk DescriptorFile version=1 CID=acaf3276 parentCID=ffffffff createType="fullDevice" # Extent description RW 73400320 FLAT "/kde/je/OpenELEC-Generic.x86_64-7.0.0.img" 0 # The disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.adapterType="ide" ddb.geometry.cylinders="16383" ddb.geometry.heads="16" ddb.geometry.sectors="63" ddb.uuid.image="8876cdbc-36ca-484b-9982-5ddf2c63c36a" ddb.uuid.parent="00000000-0000-0000-0000-000000000000" ddb.uuid.modification="6c18f360-7eab-45fe-9df5-ea9cee1751fd" ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000" ddb.geometry.biosCylinders="1024" ddb.geometry.biosHeads="255" ddb.geometry.biosSectors="63"a ve virtualboxu ho přidáš jako normální disk virtuálce.
VBoxManage convertfromraw OpenELEC-Generic.x86_64-7.0.0.img OpenELEC-Generic.x86_64-7.0.0.vdi --format vdinebo
VBoxManage convertfromraw OpenELEC-Generic.x86_64-7.0.0.img OpenELEC-Generic.x86_64-7.0.0.vmdk --format VMDK
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.