|
发表于 2006-3-27 03:09:54
|
显示全部楼层
我怀疑你有好好看手册嘛?
- /sbin/mkinitrd <kernel_version> [options]
- Where <kernel_version> is one of:
- auto build for the installed Arch kernel
- full build with all possible modules
- kernel_version={version} use kernel version (no autodetect)
- Options:
- --ide exclude ide modules
- --scsi exclude scsi modules
- --usb exclude usb modules
- --cdrom exclude cdrom modules
- --fw exclude firewire modules
- --raid exclude raid modules
- --dm exclude device mapper modules
- --remove-module=MODULE exclude MODULE
- --add-module=MODULE include MODULE
- --lvm-root=ROOT_DEV use ROOT_DEV as the LVM root device
- --root-dir=ROOT_DIR look for modules in ROOT_DIR/lib/modules
- instead of /lib/modules
- --quiet no status output during initrd generation
- --show show modules that are included in initrd
复制代码
你看看自己敲的命令有对的嘛?给你举个例子:只用其中之一即可
- # mkinitrd auto --show
- # mkinitrd full --show
- # mkinitrd kernel_version=2.6.15-archck
复制代码
三个命令你最好选auto
另外我看你blog里说在Arch里编译内核会损坏windows分区,实在是笑话。 |
|