Changes between Version 2 and Version 3 of UDF
- Timestamp:
- 2012-06-28T19:52:35Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UDF
v2 v3 14 14 === 3 How to test === 15 15 ==== 3.1 Download sources from my branch ==== 16 >bzr branch lp:~medvedeva-julia/helenos/udf helenos 16 {{{ 17 bzr branch lp:~medvedeva-julia/helenos/udf helenos 18 }}} 17 19 18 20 ==== 3.2 Compile sources ==== 19 >cd helenos 20 21 >make PROFILE=ia32 21 {{{ 22 cd helenos 23 make PROFILE=ia32 24 }}} 22 25 23 26 24 27 ==== 3.3 Create udf disk image under Linux ==== 25 To create udf image under Linux you need to install package with udf utilities. For example at Arch its udftools. The package should contains mkudffstool.28 To create udf image under Linux you need to install package with [http://sourceforge.net/projects/linux-udf/ UDF utilities]. For example at Arch its [http://aur.archlinux.org/packages.php?K=udftools udftools]. The package should contain `mkudffs` tool. 26 29 27 >mkudffs --media-type=hd --blocksize=512 --utf8 ./udf.img 30 {{{ 31 mkudffs --media-type=hd --blocksize=512 --utf8 ./udf.img 32 }}} 28 33 29 34 You can also select media type: "hd" or "dvd" and blocksize: 512 or 2048 or something else. … … 32 37 ==== 3.4 Mount udf disk image under Linux ==== 33 38 You can mount udf image (from step 3.3) under your Linux host and copy several files in it. 34 >mount -o loop -t udf ./udf.img /mnt/udf-mount-point 39 {{{ 40 mount -o loop -t udf ./udf.img /mnt/udf-mount-point 41 }}} 35 42 36 >where udf.img- image from step 3.343 where `udf.img` - image from step 3.3 37 44 38 45 39 46 ==== 3.5 Boot HelenOS with user disk image ==== 40 47 To boot HelenOS run qemu: 41 42 >qemu-system-i386 -m 512 -boot d -hda udf.img -cdrom image.iso43 44 udf.img- udf disk image48 {{{ 49 qemu-system-i386 -m 512 -boot d -hda udf.img -cdrom image.iso 50 }}} 51 `udf.img` - udf disk image 45 52 46 53 … … 48 55 In HelenOS run batch script to run udf server, ata server and mounting first ata disk as udf 49 56 50 >batch u 57 {{{ 58 batch u 59 }}} 51 60 52 61 Then, go to /mnt directory: 53 62 54 >cd /mnt 63 {{{ 64 cd /mnt 65 }}} 55 66 56 67 and here you are :)