LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-01-2004, 10:06 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
compiling kernel, initrd can't make image, 'loop devices busy'


i was just recompiling my kernel when i hit a snag. mkinitrd is unable to use a block loopback device to make the image. it says 'loop devices busy'. when i try and open one of the loop devices, "/dev/loop*' , bash says it's not a valid file. so im guessing last time i compiled kernel i must of left out support for this feature?? what am i to do now?? i want to recompile, but i can't make an initrd image... do i have to reinstall EVERYTHING?

edit: i read another post quite similar, luckily for that person he had compiled in loop as a module, and a simple '/sbin/modprobe loop' solved the problem. i didn't enable loop AT ALL, so am i screwed?

Last edited by infamous41md; 06-01-2004 at 10:24 PM.
 
Old 06-02-2004, 12:22 AM   #2
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Do you still have the stock kernel, I mean that comes with your distribution? It's a good practice to keep that just in case. If you don't have that I'm afraid that there's no other way. May be LILO doesn't need initrd, if I'm not mistaken.
 
Old 06-02-2004, 12:59 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
nope, i reloaded everything last night. ah well, i was looking for an excuse to try a new distro anyhow least i know not to do that again.
 
  


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
how to make initrd.img for your kernel without boot disk? donaldtalbert Linux - Software 1 06-19-2005 11:30 PM
making kernel RPM. does not make initrd file mindcry Linux - Software 5 08-12-2004 11:20 PM
compiling kernel 2.6.3 with initrd ykcorse Linux - Software 3 05-06-2004 03:05 PM
New Kernel 2.4.22 won't make initrd jon1591 Linux - Newbie 3 12-13-2003 03:09 PM
new kernel installation & loop back devices? fbarre Linux - Newbie 5 10-21-2003 02:40 PM


All times are GMT -5. The time now is 09:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration