You are not logged in.

#1 2010-10-11 17:54:13

dergutemann
Member
Registered: 2010-10-11
Posts: 6

mkinitcpio, and non Arch Kernel

Hello,
i have a Problem to understand/work with mkinitcpio.
I would use an non Arch XEN Dom0 Kernel and i cant use it after complie.
I build
/etc/mkinitcpio.d/xendom0.kver

# DO NOT EDIT THIS FILE
ALL_kver='2.6.34-ARCH'

and
/etc/mkinitcpio.d/xendom0.preset

# Example mkinitcpio preset file

# preset names
PRESETS=('default' 'fallback')

# ALL_kver is used if presetname_kver is not set
# note for distribution kernels: this should be in a separate file
# and read like this:
# . /etc/mkinitcpio.d/exmaple.kver
ALL_kver='2.6.34-ARCH'
ALL_config='/etc/mkinitcpio.conf'

# presetname_kver    - the kernel version (omit if ALL_kver should be used)
# presetname_config  - the configuration file (omit if ALL_config should be used)
# presetname_image   - the filename of generated image
# presetname_options - any extra options

#default_kver="2.6.18-ARCH"
#default_config="/etc/mkinitcpio.conf"
default_image="/tmp/kernel26_xen.img"
default_options=""

#fallback_kver="2.6.18-ARCH"
#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/tmp/kernel26_xen-fallback.img"
fallback_options="-S autodetect"

then in /usr/src/xenkernel-2.6.34 after compiling

mkinitcpio -p xendom0

I found two images in /temp, but they don't boot.

What i dont understand with this mkinitcpio??


Regards Stefan

Last edited by dergutemann (2010-10-11 17:55:20)

Offline

#2 2010-10-11 23:17:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: mkinitcpio, and non Arch Kernel

Here's the related wiki page.

And here's some more general stuff.

Read, and come back if you have more questions.

Also, please post config files etc in forum code tags - I'll fix it for you this time.

Offline

Board footer

Powered by FluxBB