Ubuntu preseed partition table ignored

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












My Ubuntu install seems to ignore my partition table, I am not really sure why I got some partitions created an other ignored. here is my table:



d-i partman-auto/expert_recipe string 
boot-root ::
500 10 500 xfs
$primary
$bootable
$lvmignore
method format
format
device /dev/sda
filesystem xfs
mountpoint /boot
.
21000 20 22000 xfs $primary
$defaultignore
method lvm
device /dev/sda
vg_name sysvg
.
5000 30 5000 xfs $lvmok
method format
format
in_vg sysvg
lv_name root
filesystem xfs
mountpoint /
.
5000 40 5000 xfs $lvmok
method format
format
in_vg sysvg
lv_name var
filesystem xfs
mountpoint /var
.
500 50 500 xfs $lvmok
method format
format
in_vg sysvg
lv_name tmp
filesystem xfs
mountpoint /tmp
.
500 60 500 xfs $lvmok
method format
format
in_vg sysvg
lv_name var_tmp
filesystem xfs
mountpoint /var/tmp
.
2000 70 2000 xfs $lvmok
method format
format
in_vg sysvg
lv_name log
filesystem xfs
mountpoint /var/log
.
500 80 500 xfs $lvmok
method format
format
in_vg sysvg
lv_name audit
filesystem xfs
mountpoint /var/log/audit
.
2000 90 2000 xfs $lvmok
method format
format
in_vg sysvg
lv_name home
filesystem xfs
mountpoint /home
.
2000 9000 2000 linux-swap $lvmok
method swap
format
in_vg sysvg
lv_name swap_01
.


and this is what I get:



$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 982M 0 982M 0% /dev
tmpfs 201M 3.1M 197M 2% /run
/dev/mapper/sysvg-root 6.8G 828M 5.9G 13% /
tmpfs 1001M 0 1001M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
/dev/sda1 472M 55M 393M 13% /boot
/dev/mapper/sysvg-home 24G 33M 24G 1% /home
/dev/mapper/sysvg-tmp 533M 28M 506M 6% /tmp
/dev/mapper/sysvg-var 2.4G 229M 2.2G 10% /var


I am using LVM partitioning method:



d-i partman-auto/method string lvm


and multi as predefined partitioning recipes:



d-i partman-auto/choose_recipe select multi


What you think I should change to get this working?
Thanks,










share|improve this question

























    up vote
    0
    down vote

    favorite












    My Ubuntu install seems to ignore my partition table, I am not really sure why I got some partitions created an other ignored. here is my table:



    d-i partman-auto/expert_recipe string 
    boot-root ::
    500 10 500 xfs
    $primary
    $bootable
    $lvmignore
    method format
    format
    device /dev/sda
    filesystem xfs
    mountpoint /boot
    .
    21000 20 22000 xfs $primary
    $defaultignore
    method lvm
    device /dev/sda
    vg_name sysvg
    .
    5000 30 5000 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name root
    filesystem xfs
    mountpoint /
    .
    5000 40 5000 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name var
    filesystem xfs
    mountpoint /var
    .
    500 50 500 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name tmp
    filesystem xfs
    mountpoint /tmp
    .
    500 60 500 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name var_tmp
    filesystem xfs
    mountpoint /var/tmp
    .
    2000 70 2000 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name log
    filesystem xfs
    mountpoint /var/log
    .
    500 80 500 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name audit
    filesystem xfs
    mountpoint /var/log/audit
    .
    2000 90 2000 xfs $lvmok
    method format
    format
    in_vg sysvg
    lv_name home
    filesystem xfs
    mountpoint /home
    .
    2000 9000 2000 linux-swap $lvmok
    method swap
    format
    in_vg sysvg
    lv_name swap_01
    .


    and this is what I get:



    $ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 982M 0 982M 0% /dev
    tmpfs 201M 3.1M 197M 2% /run
    /dev/mapper/sysvg-root 6.8G 828M 5.9G 13% /
    tmpfs 1001M 0 1001M 0% /dev/shm
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
    /dev/sda1 472M 55M 393M 13% /boot
    /dev/mapper/sysvg-home 24G 33M 24G 1% /home
    /dev/mapper/sysvg-tmp 533M 28M 506M 6% /tmp
    /dev/mapper/sysvg-var 2.4G 229M 2.2G 10% /var


    I am using LVM partitioning method:



    d-i partman-auto/method string lvm


    and multi as predefined partitioning recipes:



    d-i partman-auto/choose_recipe select multi


    What you think I should change to get this working?
    Thanks,










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      My Ubuntu install seems to ignore my partition table, I am not really sure why I got some partitions created an other ignored. here is my table:



      d-i partman-auto/expert_recipe string 
      boot-root ::
      500 10 500 xfs
      $primary
      $bootable
      $lvmignore
      method format
      format
      device /dev/sda
      filesystem xfs
      mountpoint /boot
      .
      21000 20 22000 xfs $primary
      $defaultignore
      method lvm
      device /dev/sda
      vg_name sysvg
      .
      5000 30 5000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name root
      filesystem xfs
      mountpoint /
      .
      5000 40 5000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name var
      filesystem xfs
      mountpoint /var
      .
      500 50 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name tmp
      filesystem xfs
      mountpoint /tmp
      .
      500 60 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name var_tmp
      filesystem xfs
      mountpoint /var/tmp
      .
      2000 70 2000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name log
      filesystem xfs
      mountpoint /var/log
      .
      500 80 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name audit
      filesystem xfs
      mountpoint /var/log/audit
      .
      2000 90 2000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name home
      filesystem xfs
      mountpoint /home
      .
      2000 9000 2000 linux-swap $lvmok
      method swap
      format
      in_vg sysvg
      lv_name swap_01
      .


      and this is what I get:



      $ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 982M 0 982M 0% /dev
      tmpfs 201M 3.1M 197M 2% /run
      /dev/mapper/sysvg-root 6.8G 828M 5.9G 13% /
      tmpfs 1001M 0 1001M 0% /dev/shm
      tmpfs 5.0M 0 5.0M 0% /run/lock
      tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
      /dev/sda1 472M 55M 393M 13% /boot
      /dev/mapper/sysvg-home 24G 33M 24G 1% /home
      /dev/mapper/sysvg-tmp 533M 28M 506M 6% /tmp
      /dev/mapper/sysvg-var 2.4G 229M 2.2G 10% /var


      I am using LVM partitioning method:



      d-i partman-auto/method string lvm


      and multi as predefined partitioning recipes:



      d-i partman-auto/choose_recipe select multi


      What you think I should change to get this working?
      Thanks,










      share|improve this question













      My Ubuntu install seems to ignore my partition table, I am not really sure why I got some partitions created an other ignored. here is my table:



      d-i partman-auto/expert_recipe string 
      boot-root ::
      500 10 500 xfs
      $primary
      $bootable
      $lvmignore
      method format
      format
      device /dev/sda
      filesystem xfs
      mountpoint /boot
      .
      21000 20 22000 xfs $primary
      $defaultignore
      method lvm
      device /dev/sda
      vg_name sysvg
      .
      5000 30 5000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name root
      filesystem xfs
      mountpoint /
      .
      5000 40 5000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name var
      filesystem xfs
      mountpoint /var
      .
      500 50 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name tmp
      filesystem xfs
      mountpoint /tmp
      .
      500 60 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name var_tmp
      filesystem xfs
      mountpoint /var/tmp
      .
      2000 70 2000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name log
      filesystem xfs
      mountpoint /var/log
      .
      500 80 500 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name audit
      filesystem xfs
      mountpoint /var/log/audit
      .
      2000 90 2000 xfs $lvmok
      method format
      format
      in_vg sysvg
      lv_name home
      filesystem xfs
      mountpoint /home
      .
      2000 9000 2000 linux-swap $lvmok
      method swap
      format
      in_vg sysvg
      lv_name swap_01
      .


      and this is what I get:



      $ df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 982M 0 982M 0% /dev
      tmpfs 201M 3.1M 197M 2% /run
      /dev/mapper/sysvg-root 6.8G 828M 5.9G 13% /
      tmpfs 1001M 0 1001M 0% /dev/shm
      tmpfs 5.0M 0 5.0M 0% /run/lock
      tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
      /dev/sda1 472M 55M 393M 13% /boot
      /dev/mapper/sysvg-home 24G 33M 24G 1% /home
      /dev/mapper/sysvg-tmp 533M 28M 506M 6% /tmp
      /dev/mapper/sysvg-var 2.4G 229M 2.2G 10% /var


      I am using LVM partitioning method:



      d-i partman-auto/method string lvm


      and multi as predefined partitioning recipes:



      d-i partman-auto/choose_recipe select multi


      What you think I should change to get this working?
      Thanks,







      partitioning lvm preseed






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 20 at 19:34









      Taleeb

      113




      113




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          The issue appears to be linked to a lack or misinterpretation of documentation.
          In my file, I am naming the partition table "boot-root":



          d-i partman-auto/expert_recipe string 
          boot-root ::


          This name should be called when choosing which recipe to use:



          d-i partman-auto/choose_recipe select boot-root


          This way d-i will know which partition table to use. There is no mention for this in the documentation:



          # You can choose one of the three predefined partitioning recipes:
          # - atomic: all files in one partition
          # - home: separate /home partition
          # - multi: separate /home, /var, and /tmp partitions
          d-i partman-auto/choose_recipe select atomic


          This is was confusing for me, I hope this answer will help someone out.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017723%2fubuntu-preseed-partition-table-ignored%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            The issue appears to be linked to a lack or misinterpretation of documentation.
            In my file, I am naming the partition table "boot-root":



            d-i partman-auto/expert_recipe string 
            boot-root ::


            This name should be called when choosing which recipe to use:



            d-i partman-auto/choose_recipe select boot-root


            This way d-i will know which partition table to use. There is no mention for this in the documentation:



            # You can choose one of the three predefined partitioning recipes:
            # - atomic: all files in one partition
            # - home: separate /home partition
            # - multi: separate /home, /var, and /tmp partitions
            d-i partman-auto/choose_recipe select atomic


            This is was confusing for me, I hope this answer will help someone out.






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              The issue appears to be linked to a lack or misinterpretation of documentation.
              In my file, I am naming the partition table "boot-root":



              d-i partman-auto/expert_recipe string 
              boot-root ::


              This name should be called when choosing which recipe to use:



              d-i partman-auto/choose_recipe select boot-root


              This way d-i will know which partition table to use. There is no mention for this in the documentation:



              # You can choose one of the three predefined partitioning recipes:
              # - atomic: all files in one partition
              # - home: separate /home partition
              # - multi: separate /home, /var, and /tmp partitions
              d-i partman-auto/choose_recipe select atomic


              This is was confusing for me, I hope this answer will help someone out.






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                The issue appears to be linked to a lack or misinterpretation of documentation.
                In my file, I am naming the partition table "boot-root":



                d-i partman-auto/expert_recipe string 
                boot-root ::


                This name should be called when choosing which recipe to use:



                d-i partman-auto/choose_recipe select boot-root


                This way d-i will know which partition table to use. There is no mention for this in the documentation:



                # You can choose one of the three predefined partitioning recipes:
                # - atomic: all files in one partition
                # - home: separate /home partition
                # - multi: separate /home, /var, and /tmp partitions
                d-i partman-auto/choose_recipe select atomic


                This is was confusing for me, I hope this answer will help someone out.






                share|improve this answer












                The issue appears to be linked to a lack or misinterpretation of documentation.
                In my file, I am naming the partition table "boot-root":



                d-i partman-auto/expert_recipe string 
                boot-root ::


                This name should be called when choosing which recipe to use:



                d-i partman-auto/choose_recipe select boot-root


                This way d-i will know which partition table to use. There is no mention for this in the documentation:



                # You can choose one of the three predefined partitioning recipes:
                # - atomic: all files in one partition
                # - home: separate /home partition
                # - multi: separate /home, /var, and /tmp partitions
                d-i partman-auto/choose_recipe select atomic


                This is was confusing for me, I hope this answer will help someone out.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 24 at 4:04









                Taleeb

                113




                113



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017723%2fubuntu-preseed-partition-table-ignored%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error