设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1002|回复: 2
收起左侧

求助!在Fedo8上使用系统自带的xen

[复制链接]
发表于 2014-3-20 10:05:40 | 显示全部楼层 |阅读模式
我在Fedo8上安装了系统自带的虚拟工具Xen
进入xen修改的内核后,我利用从jailtime上下载的ubuntu.7-04系统镜像压缩文件解压并放在新建的/xen/ubuntu目录下
然后将解压后的配置文件做了修改
内容如下:
kernel = "/boot/vmlinuz-2.6.21-2950.fc8xen"
memory = "64"
name = "ubuntu"
vif = ['']
dhcp = "dhcp"
disk = ['file:/xen/ubuntu/ubuntu.7-04.img,sda1,w', 'file:/xen/ubuntu/ubuntu.swap,sda2,w']
root = "/dev/sda1 ro"
但是,当我在新目录下创建新的客户OS时,老是出错,启动客户操作系统没有成功过
都是莫明其妙的返回到root@~..#>的命令输入模式下。真是不明白啊
我已经把selinux都关掉了啊
附件里面是我的启动过程信息,请高手帮忙看看,指导一下我这个菜鸟!
 楼主| 发表于 2014-3-20 10:06:22 | 显示全部楼层
没人知道吗?还是懒得下附件?
自己顶一下,再把启动的显示内容贴上来:
Using config file "./ubuntu.7-04.xen3.cfg".
Started domain ubuntu
                     Linux version 2.6.21-2950.fc8xen (kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000004800000 end: 0000000004800000 type: 1
Xen: 0000000000000000 - 0000000004800000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
Using x86 segment limits to approximate NX protection
Zone PFN ranges:
  DMA             0 ->    18432
  Normal      18432 ->    18432
  HighMem     18432 ->    18432
early_node_map[1] active PFN ranges
    0:        0 ->    18432
ACPI in unprivileged domain disabled
Detected 2658.242 MHz processor.
Built 1 zonelists.  Total pages: 18288
Kernel command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 512 (order: 9, 2048 bytes)
Xen reported: 2658.094 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c5000000-f4ffe000, maxmem 2d7fe000
Memory: 60372k/73728k available (2071k kernel code, 5096k reserved, 1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc5000000 - 0xf4ffe000   ( 767 MB)
    lowmem  : 0xc0000000 - 0xc4800000   (  72 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5320.84 BogoMIPS (lpj=10641680)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 49152 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1205918270.728:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21-2950.fc8xen (kojibuilder@xenbuilder2.fedora.redhat.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-32)) #1 SMP Tue Oct 23 12:24:34 EDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000004800000 end: 0000000004800000 type: 1
Xen: 0000000000000000 - 0000000004800000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
Using x86 segment limits to approximate NX protection
Zone PFN ranges:
  DMA             0 ->    18432
  Normal      18432 ->    18432
  HighMem     18432 ->    18432
early_node_map[1] active PFN ranges
    0:        0 ->    18432
ACPI in unprivileged domain disabled
Detected 2658.242 MHz processor.
Built 1 zonelists.  Total pages: 18288
Kernel command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 512 (order: 9, 2048 bytes)
Xen reported: 2658.094 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c5000000-f4ffe000, maxmem 2d7fe000
Memory: 60372k/73728k available (2071k kernel code, 5096k reserved, 1080k data, 188k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xf5315000 - 0xf57fe000   (5028 kB)
    pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
    vmalloc : 0xc5000000 - 0xf4ffe000   ( 767 MB)
    lowmem  : 0xc0000000 - 0xc4800000   (  72 MB)
      .init : 0xc1319000 - 0xc1348000   ( 188 kB)
      .data : 0xc1205e5e - 0xc1313fd4   (1080 kB)
      .text : 0xc1000000 - 0xc1205e5e   (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5320.84 BogoMIPS (lpj=10641680)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
到这里就跳回到输入命令的那里了
沙发 2014-3-20 10:06:22 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-3-20 10:07:05 | 显示全部楼层
应该是你的配置的问题了.
你可以进入单用户模式吗?
而且sda1 应该改xvda1吧.
板凳 2014-3-20 10:07:05 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-24 21:04 , Processed in 0.056661 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表