Oct 112012
 

今天在超微的机器安装ubuntu 12.04,结果出现这个错误

快照2

The partitiontable table format in use on your disks normally requieres youto create a separatepartition for boot loader code.This partition should be marked for use as “Reserved BIOSbootarea” and should be at least 1 MB in size. Notethat this is not the same as a partitionmounted on /boot.
If you do not go back to the partitioning menu and correct this error, boot loader installationmay fail later, although it may still be possibleto installthe boot loaderto a partition.

http://hi.baidu.com/vc277/item/83db7b905a0112dd7a7f01dd

这个错误,我以前听sina的朋友提过,看来我也中招。解决的办法,就是在preseed文件增加多一个1M的分区。

照sina朋友给的办法不行,自己去搜索。这个应该是和他以前装centos的时候,采用类似lvm分区导致的。

http://cptyesterday.wordpress.com/2012/07/20/get-expert_recipe-mdraid-lvm-gpt-and-grub2-playing-together-on-ubuntu-lucid-and-debian-squeeze/

搞定,让我很爽。解决了我一大问题。

d-i partman-auto/expert_recipe string                         \
          boot-root ::                          \
             1 1 1 free                          \
                $iflabel{ gpt }                  \
                method{ biosgrub }               \
              .                                               \
              150 150 150 ext4                                 \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /boot }                     \
              .                                               \

在我以前的文件里,增加一段就可以。

             1 1 1 free                          \
                $iflabel{ gpt }                  \
                method{ biosgrub }               \
              .                                               \

这其实也算是解决一个大问题。

http://cptyesterday.wordpress.com/2012/06/17/notes-on-using-expert_recipe-in-debianubuntu-preseed-files/

http://cptyesterday.wordpress.com/2012/07/20/get-expert_recipe-mdraid-lvm-gpt-and-grub2-playing-together-on-ubuntu-lucid-and-debian-squeeze/

  3 Responses to “cobbler安装ubuntu 需要1M分区”

  1. 这是因为硬盘大小以及开启了ubuntu的EFI了吧。。。

 Leave a Reply

(required)

(required)

This site uses Akismet to reduce spam. Learn how your comment data is processed.