播种时出现“无根文件系统”错误


9

我正在尝试自动安装Ubuntu服务器(11.10)。我的分区配方在这里:

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/new_vg_name string vg00
d-i partman-auto-lvm/guided_size string max
d-i partman/alignment select cylinder
d-i partman-auto/choose_recipe select boot-root
d-i partman-auto/expert_recipe string \
  boot-root ::                    \
    228 8000 256 ext2             \
      $primary{ }                     \
      $bootable{ }                \
      method{ format }            \
      format{ }                       \
      use_filesystem{ }               \
      filesystem{ ext2 }              \
      mountpoint{ /boot } .       \
    100 7000 1000000000 ext4      \
      $primary{ }                     \
      $defaultignore{ }       \
      method{ lvm }           \
      device{ /dev/sda }          \
      vg_name{ vg00 } .               \
    322 5000 1000000000 ext4      \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ root }         \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { / } .              \
    4096 6000 4128 swap       \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ swap }         \
      method{ swap }          \
      format{ } .             \
    1024 4000 1088 ext4           \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ tmp }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /tmp } .       \
    10240 3000 10256 ext4         \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ usr }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /usr } .       \
    5120 2000 5168 ext4           \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ var }          \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /var } .       \
    153600 1000 1000000000 ext4       \
      $lvmok{ }               \
      in_vg{ vg00 }           \
      lv_name{ home }         \
      method{ format }        \
      format{ }               \
      use_filesystem{ }       \
      filesystem{ ext4 }          \
      mountpoint { /home } .
d-i partman-lvm/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

我总是以错误告终:

没有定义根文件系统。

请从分区菜单中更正此问题。

error_msg

选择继续,我将再次收到相同的屏幕。

系统日志消息:

Jan 20 13:00:02 debconf: --> METAGET partman-lvm/text/in_use description
Jan 20 13:00:02 debconf: <-- 0 In use by LVM volume group vg00
Jan 20 13:00:02 debconf: --> GET partman-auto/method
Jan 20 13:00:02 debconf: <-- 0 lvm
Jan 20 13:00:02 debconf: --> METAGET partman/text/scsi_disk description
Jan 20 13:00:02 debconf: <-- 0 SCSI%s (%s,%s,%s) (%s)
Jan 20 13:00:02 debconf: --> METAGET partman-auto/text/automatically_partition description
Jan 20 13:00:02 debconf: <-- 0 Guided partitioning
Jan 20 13:00:02 debconf: --> METAGET partman-md/text/configure_md description
Jan 20 13:00:02 debconf: <-- 0 Configure software RAID
Jan 20 13:00:02 debconf: --> METAGET partman-lvm/text/configure_lvm description
Jan 20 13:00:02 debconf: <-- 0 Configure the Logical Volume Manager
Jan 20 13:00:02 debconf: --> METAGET partman-crypto/text/configure_crypto description
Jan 20 13:00:02 debconf: <-- 0 Configure encrypted volumes
Jan 20 13:00:02 debconf: --> METAGET partman-iscsi/text/configure_iscsi description
Jan 20 13:00:02 debconf: <-- 0 Configure iSCSI volumes
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/lvm_lv description
Jan 20 13:00:03 debconf: <-- 0 LVM VG %s, LV %s
Jan 20 13:00:03 debconf: --> METAGET partman/text/scsi_disk description
Jan 20 13:00:03 debconf: <-- 0 SCSI%s (%s,%s,%s) (%s)
Jan 20 13:00:03 debconf: --> METAGET partman/text/undo_everything description
Jan 20 13:00:03 debconf: <-- 0 Undo changes to partitions
Jan 20 13:00:03 debconf: --> METAGET partman/text/end_the_partitioning description
Jan 20 13:00:03 debconf: <-- 0 Finish partitioning and write changes to disk
Jan 20 13:00:03 debconf: --> METAGET partman/choose_partition choices-c
Jan 20 13:00:03 debconf: <-- 0 
Jan 20 13:00:03 debconf: --> SET partman/choose_partition 90finish__________finish
Jan 20 13:00:03 debconf: <-- 0 value set
Jan 20 13:00:03 debconf: --> SUBST partman/choose_partition CHOICES 20auto__________auto, 25md__________md, 30lvm__________lvm, 35crypto__________crypto, 40iscsi__________iscsi, 55divider_up__________divider, 60partition_tree__________/var/lib/partman
Jan 20 13:00:03 debconf: Adding [CHOICES] -> [20auto__________auto, 25md__________md, 30lvm__________lvm, 35crypto__________crypto, 40iscsi__________iscsi, 55divider_up__________divider, 60partition_tree__________/var/lib/partman/devices/=dev=mapper=v
Jan 20 13:00:03 debconf: <-- 0
Jan 20 13:00:03 debconf: --> SUBST partman/choose_partition DESCRIPTIONS Guided partitioning, Configure software RAID, Configure the Logical Volume Manager, Configure encrypted volumes, Configure iSCSI volumes, , LVM VG vg00\, LV home - 153.6 GB Linux
Jan 20 13:00:03 debconf: Adding [DESCRIPTIONS] -> [Guided partitioning, Configure software RAID, Configure the Logical Volume Manager, Configure encrypted volumes, Configure iSCSI volumes, , LVM VG vg00\, LV home - 153.6 GB Linux device-mapper (linear
Jan 20 13:00:03 debconf: <-- 0
Jan 20 13:00:03 debconf: --> INPUT critical partman/choose_partition
Jan 20 13:00:03 debconf: <-- 30 question skipped
Jan 20 13:00:03 debconf: --> GO
Jan 20 13:00:03 debconf: <-- 0 ok
Jan 20 13:00:03 debconf: --> GET partman/choose_partition
Jan 20 13:00:03 debconf: <-- 0 90finish__________finish
Jan 20 13:00:03 debconf: --> GET debian-installer/locale
Jan 20 13:00:03 debconf: <-- 0 en_US.UTF-8
Jan 20 13:00:03 debconf: --> CAPB align
Jan 20 13:00:03 debconf: <-- 0 multiselect backup progresscancel align plugin-terminal plugin-detect-keyboard
Jan 20 13:00:03 debconf: --> INPUT critical partman-target/no_root
Jan 20 13:00:03 debconf: <-- 0 question will be asked
Jan 20 13:00:03 debconf: --> GO 

卷组和逻辑卷已成功创建。我花了将近两天的时间进行测试和谷歌搜索。现在我真的不知道该怎么办。谢谢你的帮助。


1
如何获取系统日志消息?
piotr

Answers:


8

问题出在这一行:

  mountpoint { / } .              \

它看起来应该像这样:

  mountpoint{ / } .              \

mountpoint和之间的空间{不应该存在。

叹...


您的预置配置是否同时使用choose_recipeexpert_recipe
布雷特2015年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.