You are not logged in.

#1 2010-09-12 22:30:10

shukalo83
Member
Registered: 2010-09-12
Posts: 6

mkinitcpio

Hello everyone. First time I use this forum.

I tried Arch and like it so far.

Following documentaion for kernel compiling, I came to:


mkinitcpio -k 2.6.32.8-revision1 -g /boot/kernel26-revision1.img


which in my version looks like:


mkinitcpio -k 2.6.36-rc3-revision1 -g /boot/kernel26-revision1.img

After this nothing seems to be happening. Even -v option does not produce any output.

In /boot, there is no new file kernel26-revision-1.img

Am I doing something wrong here?

Offline

#2 2010-09-13 01:30:42

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: mkinitcpio

What documentation are you following along with? The Arch 'approved' way is to use the current PKGBUILD of the kernel26 package, the information can be found here http://wiki.archlinux.org/index.php/Ker … 26_Package

Offline

#3 2010-09-13 03:00:28

kagerato
Member
Registered: 2007-09-10
Posts: 45
Website

Re: mkinitcpio

Did the command actually run?  'mkinitcpio' is located at /sbin/mkinitcpio and owned by package mkinitcpio (should be installed, don't know why it wouldn't be).  Normally, /sbin will be on root's path but it may not be on a normal user's.

Something definitely should output, even if it's just the shell saying command not found or an error from mkinitcpio.  When I enter an invalid command like "mkinitcpio -k 2.6.35-NADA", the program enters a "dry run" mode and does indeed output multiple lines.

Offline

#4 2010-09-13 10:39:48

shukalo83
Member
Registered: 2010-09-12
Posts: 6

Re: mkinitcpio

codycarey wrote:

What documentation are you following along with? The Arch 'approved' way is to use the current PKGBUILD of the kernel26 package, the information can be found here http://wiki.archlinux.org/index.php/Ker … 26_Package

I folow http://wiki.archlinux.org/index.php/Ker … nal_method. More distro agnostic but I think it will give me better insight into how things actually work.

Offline

#5 2010-09-13 10:44:58

shukalo83
Member
Registered: 2010-09-12
Posts: 6

Re: mkinitcpio

kagerato wrote:

Did the command actually run?  'mkinitcpio' is located at /sbin/mkinitcpio and owned by package mkinitcpio (should be installed, don't know why it wouldn't be).  Normally, /sbin will be on root's path but it may not be on a normal user's.

Something definitely should output, even if it's just the shell saying command not found or an error from mkinitcpio.  When I enter an invalid command like "mkinitcpio -k 2.6.35-NADA", the program enters a "dry run" mode and does indeed output multiple lines.


Nothing on the screen after comand. I also suspected whether it actually ran. I'll try directly /sbin/mkinitcpio

Offline

#6 2010-09-13 14:07:18

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: mkinitcpio

If you're pasting the command from the wiki, be careful you don't accidentally paste the # in front of it also. It's easy to do that by accident and will make the shell ignore the whole line.

Offline

#7 2010-09-13 22:04:09

shukalo83
Member
Registered: 2010-09-12
Posts: 6

Re: mkinitcpio

ataraxia wrote:

If you're pasting the command from the wiki, be careful you don't accidentally paste the # in front of it also. It's easy to do that by accident and will make the shell ignore the whole line.

There were no # in front of mkinitcpio. Tried it several times. I've also checked history and no # sign in front of command

/sbin/mkinitcpio -v does not produce any output.

Strange. I'll try to uninstall the package with pacman and install it again.

Any suggestions?

Last edited by shukalo83 (2010-09-13 22:13:14)

Offline

#8 2010-09-14 15:42:54

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: mkinitcpio

Something is terribly wrong. mkinitcpio always produces some output.

Last edited by brain0 (2010-09-14 15:43:13)

Offline

Board footer

Powered by FluxBB