AUFS approach » History » Version 12
alarrosa, 2013-08-07 16:22
Changed format from textile to markdown ( #608 )
1 | 12 | AUFS approach |
|
---|---|---|---|
2 | ============= |
||
3 | |||
4 | |||
5 | Goal |
||
6 | ---- |
||
7 | |||
8 | Goal of this project is to create a live USB flash drives that are easy to |
||
9 | update, allow users to boot new images downloaded from SUSE studio, allow them |
||
10 | to have persistent changes on these images, share common home directory and fit |
||
11 | as many images as possible. |
||
12 | |||
13 | How to achieve that? By modifying initrd and using stacking filesystem [aufs](http://aufs.sourceforge.net/). |
||
14 | |||
15 | Implementation |
||
16 | -------------- |
||
17 | |||
18 | * images are compressed files stored on USB disk in one directory |
||
19 | * currently ISO files from SUSE Studio are only supported format |
||
20 | * uses stacking filesystem - [aufs](http://aufs.sourceforge.net/) |
||
21 | * needs two extra patches in kernel |
||
22 | * needs extra module |
||
23 | * packages for 12.3 in [home:-miska-:aufs](http://build.opensuse.org/) |
||
24 | * upstream is alive, looks maintainable |
||
25 | * we can start from default initrd with few modifications |
||
26 | * replace modules |
||
27 | * drop part that mounts and verifies DVD (section 7-10) |
||
28 | * replace root mounting part (section 12) |
||
29 | |||
30 | Features & status |
||
31 | ----------------- |
||
32 | |||
33 | * can boot ISOs downloaded from SUSE Studio [done] |
||
34 | * can support multiple images [wip] |
||
35 | * can support persistent changes [todo] |
||
36 | * can support persistent home [todo] |
||
37 | |||
38 | Code done so far is on [github](https://github.com/miska/liveflash) |
||
39 | |||
40 | Related links |
||
41 | ------------- |
||
42 | |||
43 | |||
44 | * [comparison of compression methods](http://lizards.opensuse.org/2012/12/27/livecds/) |
||
45 | * [using aufs + squashfs-xz for livecd](http://lizards.opensuse.org/2012/12/29/making-different-opensuse-livecds/) |