LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1485|回复: 5

silly questions concerning mkinitramfs/mkinitcpio/mkinitrd

[复制链接]
发表于 2006-6-7 15:20:38 | 显示全部楼层 |阅读模式
i currently have both kernel26 & kernel26beyond installed in my box. and fortunately both mkinitramfs & mkinitcpio work fine with the default kernel26beyond.
as in near future, the ARCH is gonna move to mkinitcpio only system, i tried to be a little bit avant-garde, to be a mkinitcpio only system.

to do so,

here is the silly question:

1 to be a mkinitcpio only system, could i get rid of both mkinitrd & mkinitramfs? of cos i check the dependency of mkinitcpio. it seems that i couldn't. could i ?
2 any place to find docu. relating to this kind of topic?

et voila, that's all!

looking forward to hearing you guys advice
发表于 2006-6-7 16:13:04 | 显示全部楼层
feel free to do so. as to the dependencies issue, pacman will automatically install them( gen-init-cpio klibc klibc-extras klibc-udev) for you(if you don't have in your box).

I believe mkinitcpio is yet another substitution(or more precisely, a upgrade version) of mkinitramfs.
回复 支持 反对

使用道具 举报

发表于 2006-6-7 16:14:27 | 显示全部楼层
feel free to do so. as to the dependencies issue, pacman will automatically install them( gen-init-cpio klibc klibc-extras klibc-udev) for you(if you don't have in your box).

I believe mkinitcpio is yet another substitution(or more precisely, a upgrade version) of mkinitramfs.
回复 支持 反对

使用道具 举报

发表于 2006-6-7 17:17:35 | 显示全部楼层
Why don't you go arch wiki
http://wiki.archlinux.org/index.php/Mkinitcpio#About
mkinitcpio is the next generation of initramfs creation. It has many advantages above the old mkinitrd and mkinitramfs scripts.

    * It uses klibc and kinit which are developed by Linux kernel devs to provide a small and lightweight base for early userspace.
    * It can use udev for hardware autodetection at runtime, thus prevents you from having tons of unnecessary modules loaded.
    * Its hook-based init script is easily extendable with custom hooks, which can easily be included in pacman packages without having to modifiy mkinitcpio itself.
    * It already supports lvm2, dm-crypt for both legacy and luks volumes, raid, swsusp and suspend2 resuming and booting from usb mass storage devices.
    * Many features can be configured from the kernel command line without having to rebuild the image.
    * The mkinitcpio script makes it possible to include the image in a kernel, thus making a self-contained kernel image is possible.

mkinitcpio has been developed by phrakture and tpowa with some help from the community.

It is currently in beta stage. To use it, you have to generate the image yourself and add it to the bootloader. Please always keep your old initrd or initramfs images intact so you will be able to boot if you hit bugs in mkinitcpio. The 2.6.17 kernel packages already added mkinitcpio support.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-7 22:55:03 | 显示全部楼层
It is currently in beta stage. To use it, you have to generate the image yourself and add it to the bootloader. Please always keep your old initrd or initramfs images intact so you will be able to boot if you hit bugs in mkinitcpio. The 2.6.17 kernel packages already added mkinitcpio support.

this is helpful! thx for you guys!
回复 支持 反对

使用道具 举报

发表于 2006-6-8 08:09:39 | 显示全部楼层
按照wikiÅ上了 感É启¨速¦ë了不少 kernel26.imgê有960k好小æ
回复 支持 反对

使用道具 举报

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

本版积分规则

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