FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > 64 Studio > 64 Studio User

 
 
LinkBack Thread Tools
 
Old 09-18-2008, 08:47 AM
Jaromír Mikeš
 
Default bash: mkinitrd: command not found

Hi,

I'm just trying to make a new kernel for me and when I'm making
"64studio:/home/mira/linux-2.6.24.7# mkinitrd /boot/initrd-2.6.24.7-rt20" I'm geting:
"bash: mkinitrd: command not found"
After googling I've tried reinstall "initrd-tools" , but I've got:
"cpio: ./sbin/udevtrigger : Cannot stat : No such file or directory"

Any advice?

Cheers

mira

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 09-18-2008, 08:08 PM
Jaromír Mikeš
 
Default bash: mkinitrd: command not found

Hi ,

>For future reference, use kernel package for building the kernel.
>make-kpkg --initrd kernel_image kernel_headers

>This will produce .deb files making it easier to maintain and upgrade.

>You will have to install the package "kernel-package". Also make sure
>"build-essential" is installed as well.

Is there any HOW-TO for building kernel like .deb?
I was using this HOW-TO: http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO
and http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

Any useful links which can help me?

>On this machine, /sbin/udevtrigger is a sym link to /sbin/udevadm

>if /sbin/udevtrigger does not exist, perhaps:
>ln -s /sbin/udevadm /sbin/udevtrigger

>Of course if files and directories are disappearing you may be having
>some drive issues. Check dmesg for errors relating to your disk. Also
>I would boot your system with a rescue disk (or something like
>systemrescue cd or knoppix), and then fsck your file system.

I will try this.

Thanks for help

Mira

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 09-18-2008, 08:54 PM
Gustin Johnson
 
Default bash: mkinitrd: command not found

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JaromÃ*r MikeÅ¡ wrote:
> Hi ,
>
>> For future reference, use kernel package for building the kernel.
>> make-kpkg --initrd kernel_image kernel_headers
>
>> This will produce .deb files making it easier to maintain and upgrade.
>
>> You will have to install the package "kernel-package". Also make sure
>> "build-essential" is installed as well.
>
> Is there any HOW-TO for building kernel like .deb?
> I was using this HOW-TO: http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO
> and http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
>
There are several:
http://www.debian.org/doc/FAQ/ch-kernel.en.html
http://www.debian-administration.org/articles/90

> Any useful links which can help me?

There are many more if you use google. There is nothing really
challenging about this. If anything I find the Debian way far easier
than any other method of building a kernel. As an added bonus apt/dpkg
knows about my custom kernel and it can get replaced as newer kernels
hit the repositories.

Hth,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI0rHkwRXgH3rKGfMRAiNpAKCT1BuARKxvcAhWgBb0di cuInHS7ACgr2Qf
UzdU+KaC9gzfJcMEZYBJHwg=
=uJRB
-----END PGP SIGNATURE-----

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 09-19-2008, 12:28 AM
Jaromír Mikeš
 
Default bash: mkinitrd: command not found

< >> For future reference, use kernel package for building the kernel.
< >> make-kpkg --initrd kernel_image kernel_headers
< >
< >> This will produce .deb files making it easier to maintain and upgrade.
< >
< >> You will have to install the package "kernel-package". Also make sure
< >> "build-essential" is installed as well.
< >
< > Is there any HOW-TO for building kernel like .deb?
< > I was using this HOW-TO: http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO
< > and http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
< >
< There are several:
< http://www.debian.org/doc/FAQ/ch-kernel.en.html
< http://www.debian-administration.org/articles/90
<
< > Any useful links which can help me?

I've just checked links you gave me .... I think they are good starting point.

Thanks a lot

mira


_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 
Old 09-21-2008, 10:29 AM
Ralf Mardorf
 
Default bash: mkinitrd: command not found

JaromÃ*r MikeÅ¡ wrote:
> Hi,
>
> I'm just trying to make a new kernel for me and when I'm making
> "64studio:/home/mira/linux-2.6.24.7# mkinitrd /boot/initrd-2.6.24.7-rt20" I'm geting:
> "bash: mkinitrd: command not found"
> After googling I've tried reinstall "initrd-tools" , but I've got:
> "cpio: ./sbin/udevtrigger : Cannot stat : No such file or directory"
>
> Any advice?
>
> Cheers
>
> mira

Hi Mira

it works for me like I reported it in this older mail:

-------- Original Message --------
Subject: Kernel
Date: Sat, 06 Sep 2008 17:18:55 +0200
From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>
To: [64studio-users] <64studio-users@64studio.com>



Hi

I'm compiling a kernel for the 64 Studio 2.1 default Etch install. Have
I done everything correct?

I found this link by Google: http://forums.debian.net/viewtopic.php?t=17035
And was linked by this side to:
http://www.rdegraaf.nl/index.asp?sND_ID=848152

Also I found: http://sidux.com/PNphpBB2-viewtopic-t-2201.html
And was linked to: http://rt.wiki.kernel.org/index.php/Main_Page
>From there linked to:
http://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO#Patching_the_Kernel

But I tried the German link for Ubuntu:
http://www.ubuntufreunde.de/forum/p189/vanilla_kernel_mit_realtime_preemption_rt_patch.ht ml?highlight=preemption#post189

Instead of version 2.6.26 I used 2.6.24, because MIDI shall not be fine
with kernel ex 2.6.26.

Prep:
64studio:/usr/src# apt-get install build-essential kernel-package
libncurses5-dev bin86
64studio:/usr/src# wget
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.24.7-rt17.bz2
64studio:/usr/src# wget
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.7.tar.bz2
64studio:/usr/src# tar -xvjf linux-2.6.24.7.tar.bz2
64studio:/usr/src# rm linux-2.6.24.7.tar.bz2
64studio:/usr/src# bunzip2 patch-2.6.24.7-rt17.bz2
64studio:/usr/src# mv linux-2.6.24.7
linux-2.6.24.7-spinymouse-sep-06-2008-rt
64studio:/usr/src# ln -s linux-2.6.24.7-spinymouse-sep-06-2008-rt linux
64studio:/usr/src# cd linux
64studio:/usr/src/linux# patch -p1 <../patch-2.6.24.7-rt17

Copy config file of 64 Studio 2.1 vanilla install:
64studio:/usr/src/linux# cp /boot/config-$(uname -r) .config

Just to be safe, cleaning the folder:
64studio:/usr/src/linux# make-kpkg clean

Starting the configuration:
64studio:/usr/src/linux# make menuconfig

_General setup_
unchanged
[*] _Enable loaded modul support_
unchanged

-*- _Enable the block layer_
unchanged

_Processor type and feature_
Worth mentioning unchanged:
Preemption Mode (Complete Preemption (Real-Time))
Timer Frequency 1000Hz
Changed settings, to:[*] Tickless System (Dynamic Ticks)[*] High Resolution Timer Support
Processor family (X) Opteron/Athlon64/Hammer/K8
(2) Maximum number of CPUs (2-255)
[ ] Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)

_Power Management Options_
unchanged

_Bus Options PCI etc
_unchanged

_Executable file formats Emulations
_unchanged

_Networking
_unchanged

_Device Drivers
_unchanged

_Firmware Drivers
_unchanged

_File System
_unchanged
[*] _Instrumentation Support_
unchanged

_Kernel Hacking_
unchanged

_Security Options
_unchanged

-*- _Cryptographic API
_unchanged

_Library Routines
_unchanged

Exit > 'Do you wish to save your new kernel configuration?' Yes

Compiling:
64studio:/usr/src/linux# make-kpkg clean
64studio:/usr/src/linux# make-kpkg -initrd --revision=2.6.24.7
--append-to-version=-rev01 kernel_image kernel_headers

I started compiling at 17:13:xy.

To be continued,
Ralf

PS: Any notes are welcome. I'll do the purchase for the weekend now.

_______________________________________________
64studio-users mailing list
64studio-users@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users
 

Thread Tools




All times are GMT. The time now is 11:13 PM.

VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org