Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. d-i partman-auto/disk string /dev/sda /dev/sdb
  2. d-i partman-auto/method string raid
  3. d-i partman-lvm/device_remove_lvm boolean true
  4. d-i partman-md/device_remove_md boolean true
  5. d-i partman-lvm/confirm boolean true
  6. d-i partman-auto/choose_recipe select boot-root
  7. d-i partman-auto-lvm/new_vg_name string vg00
  8. d-i partman-auto-lvm/guided_size string 100%
  9. d-i partman-auto/expert_recipe string \
  10. boot-root :: \
  11. 1024 30 1024 raid \
  12. $lvmignore{ } \
  13. $primary{ } method{ raid } \
  14. . \
  15. 1000 35 100000000 raid \
  16. $lvmignore{ } \
  17. $primary{ } method{ raid } \
  18. . \
  19. 80000 100000000 100000000 ext4 \
  20. $defaultignore{ } \
  21. $lvmok{ } \
  22. lv_name{ root } \
  23. method{ format } \
  24. format{ } \
  25. use_filesystem{ } \
  26. filesystem{ ext4 } \
  27. mountpoint{ / } \
  28. . \
  29. 8000 60 8000 swap \
  30. $defaultignore{ } \
  31. $lvmok{ } \
  32. lv_name{ swap } \
  33. method{ swap } \
  34. format{ } \
  35. .
  36.  
  37. # Last you need to specify how the previously defined partitions will be
  38. # used in the RAID setup. Remember to use the correct partition numbers
  39. # for logical partitions. RAID levels 0, 1, 5, 6 and 10 are supported;
  40. # devices are separated using "#".
  41. # Parameters are:
  42. # <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
  43. # <devices> <sparedevices>
  44.  
  45. d-i partman-auto-raid/recipe string \
  46. 1 2 0 ext2 /boot \
  47. /dev/sda1#/dev/sdb1 \
  48. . \
  49. 1 2 0 lvm - \
  50. /dev/sda2#/dev/sdb2 \
  51. .
  52. d-i mdadm/boot_degraded boolean false
  53. d-i partman-md/confirm boolean true
  54. d-i partman-partitioning/confirm_write_new_label boolean true
  55. d-i partman/choose_partition select Finish partitioning and write changes to disk
  56. d-i partman/confirm boolean true
  57. d-i partman-md/confirm_nooverwrite boolean true
  58. d-i partman/confirm_nooverwrite boolean true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement