我正在尝试第一次使用预定义的文件来安装Ubuntu 11.10服务器。
我通过从示例文件开始创build预先定义的文件 ,只是取消注释/select合理的内容。 这是结果,没有评论,(相对)简洁。 你可以看到整个事情,评论和所有, 在这里 。
di debian-installer/locale string en_US di console-setup/ask_detect boolean false di console-setup/layoutcode string us di netcfg/choose_interface select auto di netcfg/get_hostname string leeroy di netcfg/get_domain string wharton.upenn.edu di netcfg/wireless_wep string di mirror/country string manual di mirror/http/hostname string http.us.debian.org di mirror/http/directory string /ubuntu di mirror/http/proxy string di mirror/suite string squeeze di clock-setup/utc boolean false di time/zone string US/Eastern di clock-setup/ntp boolean true di partman-auto/disk string /dev/sda1 di partman-auto/method string lvm di partman-lvm/device_remove_lvm boolean true di partman-md/device_remove_md boolean true di partman-lvm/confirm boolean true di partman-auto-lvm/guided_size string max di partman-auto/choose_recipe select home di partman-partitioning/confirm_write_new_label boolean true di partman/choose_partition select finish di partman/confirm boolean true di partman/confirm_nooverwrite boolean true di partman/mount_style select traditional di base-installer/kernel/image string linux-generic di passwd/root-login boolean false di passwd/user-fullname string Adam Tuttle di passwd/username string jatuttle di passwd/user-password-crypted password 8dbf2c32b5f2cd0670e53dc63e82da3f di user-setup/allow-password-weak boolean true di user-setup/encrypt-home boolean false di apt-setup/services-select multiselect security di apt-setup/security_host string security.ubuntu.com di apt-setup/security_path string /ubuntu tasksel tasksel/first multiselect standard di pkgsel/include string openssh-server build-essential di pkgsel/update-policy select none di pkgsel/updatedb boolean true di grub-installer/only_debian boolean true di grub-installer/with_other_os boolean true di finish-install/reboot_in_progress note xserver-xorg xserver-xorg/autodetect_monitor boolean true xserver-xorg xserver-xorg/config/monitor/selection-method \ select medium xserver-xorg xserver-xorg/config/monitor/mode-list \ select 1024x768 @ 60 Hz
当我用这个preseed文件启动安装程序时,它运行良好,直到它与这个错误呛:
VFS:无法打开根设备“(null)”或未知块(8,1)
请附上正确的“root =”启动选项; 这里是可用的分区:
0b00 1048575 sr0驱动程序:sr
内核恐慌 – 不同步:VFS:无法在未知块(8,1)上挂载根fs
我原本以为这可能是因为我已经把di partman-auto/disk string /dev/hda注释掉了,我用/dev/hda , /dev/hda1 , /dev/sda , /dev/sda1 (不知道哪个是正确的),但是我仍然每次都得到相同的错误。
我错过了什么?
发生在我身上的事情可能是我把错误的启动参数传给了安装程序。 在我做出改变之前,他们的开始是:
file=/cdrom/pressed/ubuntu-server.seed vga=788 initrd=install/initrd.gz quiet --
我已经尝试过这些现有参数的每一个可能的组合,以及我需要添加的预置文件。 似乎自动化安装程序的唯一组合是删除所有内容,并使用这个:
url=http://raw.github.com/gist/1301366/
也许问题是我需要在这里包含一些东西 – 无论是从原始参数中的新东西或东西,设置硬盘访问? 有任何想法吗?
di partman-auto/disk string /dev/sda1
应该
di partman-auto/disk string /dev/sda