专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Linux » 硬盘安装linux系统:用Colinux来boot硬盘上的Linux系统 »正文

硬盘安装linux系统:用Colinux来boot硬盘上的Linux系统

来源: 发布时间:星期四, 2009年2月12日 浏览:31次 评论:0


    硬盘上安装了两个系统个是XP 个是UBUNTU6.X 要在两个系统上切换搞得很心烦如果安装个虚拟机N 慢而且有点隔鞋瘙痒感觉不爽!俺又想两个系统起用又想两个系统独立分开区别分区毕竟有时候俺还想要个干净原始 操作系统看到co 可以解决我问题!DOIT.

    1 了devel-coLinux-20071105.exe

    2 kernel 2.6.22 内核编译安装进unbuntu

    3 配置colinux 配置文件

    如:

    # coLinux configuration created by colinux XML2CFG converter v0.1.0

    # file: test.cfg

    # Linux Kernel file

    kernel=vmlinux

    # Initrd file

    initrd=initrd.gz

    # Memory size for coLinux guest

    mem=256

    # Kernel bootparams

    root=/dev/cobd4

    # Block devices and image files

    cobd3=\Device\Harddisk0\Partition2

    cobd4=\Device\Harddisk0\Partition3

    # Host filesystem devices

    # Networking devices

    4 将colinux 安装目录下vmlinux-modules.tar.gz解压到 /lib/modules

    5 在unbuntu 创建linux 设备

    for i in 0 1 2 3 4 5 6 7 do mknod /dev/cobd$i b 117 $i done 建好后要修改/etc/fstab文件将文件中你根分区和分区行都拷贝到新行将相应had ?换成codb?

    6 boot colinux

    C :\coLinux>colinux-daemon.exe @test.cfg -v 3

    Cooperative Linux Daemon 0.8.0

    Compiled _disibledevent=>     PID : 2976

    colinux : launching console

    colinux : booting

    Linux version 2.6.22-co-0.8.0 ()(gcc version 4.1.2 ) #1PREEMPT Tue Nov 6 00:02:11 CET 2007

    256MB LOWMEM available.

    initrd enabled: start: 0xcff9a000 size: 0x00065881

    Entering add_active_range (0 0 65536) 0 entries of 256 used

    Zone PFN ranges :

    DMA 0 -> 0

    Normal 0 -> 65536

    early_node_map[1] active PFN ranges

    0 : 0 -> 65536

    _disibledevent=>     Enabling fast FPU save and restore…… done.

    Enabling unmasked SIMD FPU exception support…… done.

    Initializing CPU#0

    Setting proxy errupt vectors

    PID hash table entries: 1024 (order : 10 4096 s )

    Console : colour CoCON 80x25

    Dentry cache hash table entries : 32768(order : 5 131072 s)

    Inode-cache hash table entries: 16384(order : 4 65536 s)

    Memory: 255488k/262144k available(1628k kernel code 0k reserved595k data 128k init 0k highmem )

    virtual kernel memory layout:

    fixmap: 0xffffc000 - 0xfffff000( 12 kB)

    vmalloc : 0xd0800000 - 0xffffa000( 759 MB )

    lowmem: 0xc0000000 - 0xd0000000( 256 MB )

    init: 0xc032e000 - 0xc034e000( 128 kB )

    data: 0xc02971f8 - 0xc032bfe4( 595 kB )

    text: 0xc0100000 - 0xc02971f8(1628 kB )

    Calibrating delay loop…… 2778.72 BogoMIPS (lpj=13893632)

    Mount-cache hash table entries: 512

    CPU : After generic identy caps : bfebfbff 20000000 0000000000000000 0000651d 00000000 00000001

    monitor/mwait feature present.

    using mwait in idle threads.

    CPU : Trace cache: 12K uops L1 D cache : 16K

    CPU : L2 cache : 1024K

    CPU : After all inits caps : bfebf3ff 20000000 00000000 0000b1800000651d 00000000 00000001

    Compat vDSO mapped to ffffe000.

    CPU : Intel(R ) Pentium(R ) 4 CPU 2.93GHz stepping 09

    Checking 'hlt' instruction…… OK.

    NET : Registered protocol family 16

    NET : Registered protocol family 2

    IP route cache hash table entries : 2048 (order : 1 8192 s)

    TCP established hash table entries: 8192 (order : 4 65536 s)

    TCP bind hash table entries : 8192 (order : 3 32768 s)

    TCP : Hash tables configured (established 8192 bind 8192)

    TCP reno registered

    checking image is initramfs……it isn't(no cpio magic ); lookslike an initrd

    Freeing initrd memory : 406k freed

    cofuse init 0.1 (API version 2.2 )

    io scheduler noop registered

    io scheduler anticipatory registered(default )

    io scheduler deadline registered

    io scheduler cfq registered

    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

    cobd: loaded (max 32 devices)

    loop: module loaded

    conet : loaded (max 16 devices)

    serio : cokbd at irq 1

    mice: PS/2 mouse device common for all mice

    input : AT Translated Set 2 keyboard as //input/input0

    TCP cubic registered

    NET : Registered protocol family 1

    NET : Registered protocol family 17

    Using IPI Shortcut mode

    RAMDISK : Compressed image found at block 0

    VFS : Mounted root (ext2 filesystem )

    kjournald starting. Commit erval 5 seconds

    EXT3 FS on cobd4 ernal journal

    EXT3-fs : mounted filesystem with ordered data mode.

    VFS : Mounted root (ext3 filesystem )

    Trying to move old root to /initrd…… okay

    Freeing unused kernel memory: 128k freed

    fuse init (API version 7.8 )

    Adding 1052248k swap on /dev/disk/by-uuid/115676b1-05b6-4edd-b898-8a5ef7653e9e.Priority:-1 extents:1 across:1052248k

    NTFS driver 2.1.28 [Flags : R/O MODULE].

    NET : Registered protocol family 10

    lo: Disabled Privacy Extensions

    启动

0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: