LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2008, 04:36 PM   #1
TDMBG
Member
 
Registered: Feb 2007
Distribution: CentOS
Posts: 34

Rep: Reputation: 17
Question Error while building initramfs image for custom kernel


Hello,
I configured and built a custom kernel of mine, and it needs initramfs image because the scsi support (my HDD is SATA) and the filesystem support are moduled. So, I downloaded mkinitramfs, took a look at the man page and tried to build one. Got the following:

Code:
$ mkinitramfs -o initramfs.img-2.6.26 2.6.26
which: no ata_id in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
cp: missing destination file operand after `/tmp/tmp.WFPITx8TCC/sbin/'
Try `cp --help' for more information.
------------------
Error has occured!
Any help? I didn't use the one from the complete initramfs-tools, because the distro I am using (paldo) doesn't have such package, and it doesn't seem to have a source available.
 
Old 08-01-2008, 11:24 AM   #2
BotKeeper
LQ Newbie
 
Registered: Aug 2006
Posts: 17

Rep: Reputation: 0
Typically mkinitramfs is a script, which you should be able to edit. Add "set -v" in the script which will echo the lines. It looks like the "cp" is missing its required destination.
 
Old 08-01-2008, 05:14 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Which distro are you using? Typically each one has it's own mkinitrd/mkinitramfs script. You wouldn't want to use ubuntu's script in slackware or vice versa, for example.

Whoops, wasn't paying attention, I see you're using paldo without a script. Defer to the advice already given....

Last edited by mostlyharmless; 08-01-2008 at 05:15 PM. Reason: add info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic after building custom kernel for macbook sparrott Linux - Laptop and Netbook 1 06-29-2007 05:06 PM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 03:05 AM
after building a custom kernel h/w Debian 5 08-21-2003 10:13 PM
Building a custom kernel eastj1974 Linux - Newbie 7 07-01-2003 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration