debian 6 preseeding一直在问“将更改写入磁盘并配置LVM?”

前端之家收集整理的这篇文章主要介绍了debian 6 preseeding一直在问“将更改写入磁盘并配置LVM?”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我尝试使用专家配方配置lvm用于debian 6.0.5 netinstall.我不想被问到任何问题,但它一直在问我“将更改写入磁盘并配置LVM?”

这是我的preseed.cfg的一部分:

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto/choose_recipe select boot-root
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-auto/expert_recipe string                         \
  boot-root ::                                            \
          128 50 128 ext2                                 \
                  $primary{ } $bootable{ }                \
                  method{ format } format{ }              \
                  use_filesystem{ } filesystem{ ext2 }    \
                  mountpoint{ /boot }                     \
          .                                               \
          10000 50 10000 ext4                             \
                  $defaultignore{ }                       \
                  $lvmok{ }                               \
                  lv_name{ root }                         \
                  method{ format }                        \
                  format{ }                               \
                  use_filesystem{ }                       \
                  filesystem{ ext4 }                      \
                  mountpoint{ / }                         \
         .                                                \
          2048 90 2048 linux-swap                         \
                  method{ swap } format{ }                \
          .                                               \
          10000 50 10000 ext4                             \
                  $defaultignore{ }                       \
                  $lvmok{ }                               \
                  lv_name{ var }                          \
                  method{ format }                        \
                  format{ }                               \
                  use_filesystem{ }                       \
                  filesystem{ ext4 }                      \
                  mountpoint{ /var }                      \
         .                                                
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/confirm_write_changes_to_disks_and_configure_lvm boolean true
d-i partman/choose_partition \
   select Finish partitioning and write changes to disk

这看起来像一个已知的问题,我在考虑posts likes this,但建议的解决方案似乎不适合我.任何提示

解决方法

http://www.debian.org/releases/stable/i386/apbs04.html.en它说
d-i partman/choose_partition select finish

代替

d-i partman/choose_partition \
  select Finish partitioning and write changes to disk

并补充说:

d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true

其他提示

> Ubuntu Kickstart installation using LVM waits for input Ubuntu的类似问题,用d-i partman-lvm / confirm_nooverwrite boolean true解决
> http://ubuntuforums.org/showthread.php?p=9626883说“’选择完成’的预选线需要按照预定的顺序排列,示例 – 预置不会遵循这一点.”
> https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/591909相关错误再次暗示d-i partman-md / confirm_nooverwrite布尔值true加上更多

原文链接:https://www.f2er.com/linux/401121.html

猜你在找的Linux相关文章