我正在尝试在EC2上做Kerberos:d EC2。为了做到这一点,似乎需要一个内核至少2.6.35,以获得体面的加密算法。我能找到的发行版提供的是Ubuntu/Natty,它有2.6.38。然而,默认的图像是-virtual风味,它缺少rpcsec_gss_krb5。因此,我试图创建一个引导-generic映像的映像,但这些映像似乎没有得到EC2 pv-grub加载程序的赞赏:
Xen Minimal OS!
start_info: 0xa01000(VA)
nr_pages: 0x26700
shared_inf: 0xbee66000(MA)
pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x946780-0x966780
MM: Init
_text: 0x0(VA)
_etext: 0x61e65(VA)
_erodata: 0x76000(VA)
_edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
_end: 0x966d34(VA)
start_pfn: a10
max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(26700000)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf0000
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x26600000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x26610000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********
backend at /local/domain/0/backend/vbd/1312/2049
Failed to read /local/domain/0/backend/vbd/1312/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1312/2049/feature-flush-cache.
4194304 sectors of 0 bytes
**************************
[H
[J Booting 'Ubuntu Natty (development branch), kernel 2.6.38-11-virtual'
root (hd0)
Filesystem type is ext2fs, using whole disk
kernel /boot/vmlinuz-2.6.38-11-generic root=LABEL=uec-rootfs ro console=hvc0
initrd /boot/initrd.img-2.6.38-11-generic
ERROR Invalid kernel: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images
xc_dom_parse_image returned -1
Error 9: Unknown boot failure
Press any key to continue...我想我的问题是:
或者,我需要做些什么来构建-generic内核的pv/EC2变体呢?
发布于 2011-10-09 08:23:40
最后,野蛮地强迫Debian/不稳定的内核映像。给定来自AMI ebs/ubuntu-images-milestone/ubuntu-natty-11.04-beta2-i386-server-20110413.1的卷(ami-4c906c25),我必须做三件事:
dpkg -i --force-all linux-image-3.0.0-2-686-pae_3.0.0-5_i386.debupdate-initramfs -c -k 3.0.0-2-686-pae完成此操作后,通过使用pv内核aki-805e7e9从卷启动的快照创建AMIs。
更新:实际上安装了.deb会让人非常生气。相反,仅由dpkg-deb -x linux-image-3.0.0-2-686-pae_3.0.0-5_i386.deb /提取它可能是更好的选择。
https://serverfault.com/questions/319800
复制相似问题