Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Bugs and Fixes


BackTrack 4 Bugs and Fixes Post bugs here. Even better, post FIXES here !

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2009, 03:15 PM
Just burned his ISO
 
Join Date: Jun 2009
Posts: 3
Default Modprobe fatal

I've installed from usb by unetbootin in sdb.
At the boot it show me

modprobe FATAL could not load /lib/modules/2.6.29.4/modules.dep

and go on but i've not internet connection (i cant ping my router)
The file exist and it appear ok.
The md5sum match.
Intrepid work well on this pc.
What i can do ?
Reply With Quote
  #2 (permalink)  
Old 06-22-2009, 01:55 AM
ZEROF's Avatar
Junior Member
 
Join Date: Mar 2009
Posts: 29
Default

Some people use this :

Quote:
I had the same error message, so I suppose, it's the same problem.

I solved it by using initramfs instead of initrd.

I read the previous error messages, befor "modprobe: FATAL: Could not load /lib/modules". I saw, that this error might have occured because the file system couldn't be mounted.

On hxxp://de.wikipedia.org/wiki/Initramfs]initramfs – Wikipedia(this is a german article, in the English wikipedia, this article is missing) I found, that initrd only works, if the drivers for the file system are fix compiled into the kernel. Initrd will not work, if the needed drivers are compiled as modules - and compiling as modules is the standard in most kernels, I learnt.

Initramfs is the successor of initrd. It works independently from this question. So I installed the debian-package "inintramfs-tools".
Within the folder, where my kernel-sources are (don't know, if this is nessecary), I did
Code:

update-inintramfs -c -k 2.6.20

-c says: create (a inintramfs)
-k XYZ says, for whitch Kernel the initramfs should be created.
(Note: There is an other tool named "mkinintramfs". I didn't use it, because it's recommended only for advanced users. "update-inintramfs" is recommended for people like I am.)

Then, I found a new file named "initrd.img-2.6.20" in /boot/.
I inserted
Code:

initrd /boot/initrd.img-2.6.20

into my file /boot/grub/menu.1st

- and it worked.
Reply With Quote
  #3 (permalink)  
Old 06-22-2009, 10:36 PM
Junior Member
 
Join Date: Jun 2008
Location: Enid, OK
Posts: 22
Default

Tried that and it didn't work...couldn't even find the package actually. Anyway, I remember from one of xCPPx's guides on the Luks encrypted volume he unpacked and repacked the initrd image and that did it for me. Just kind of followed what he did in the relavant areas.

cd /boot
cp initrd.img-2.6.29.4 initrd-2.6.29.4.old (Just making a backup)
depmod -a
update-initramfs -k all -c
cd /tmp
gzip -dc /boot/initrd.img-2.6.29.4| cpio -id
touch lib/modules/2.6.29.4/modules.dep
find ./ | cpio -H newc -o > /boot/initrd.img-2.6.29.4.new
gzip /boot/initrd.img-2.6.29.4.new
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4

Reboot and it should be gone. You can double check your UUID while you're in there to make sure resume works before repacking (sts). If it breaks you can use the .old image through grub to get back into the machine to fix it.

Good luck.
Reply With Quote
  #4 (permalink)  
Old 06-29-2009, 04:11 AM
forix's Avatar
Junior Member
 
Join Date: Apr 2009
Location: Online
Posts: 14
Default

@ Mexicant:

Kernel panic...

P.S.

My fault I take that back. I made a mistake on the touch command.. I used /lib/modules/.... instead of lib/modules.

You are correct that this fixes the problem. Thanks!

Last edited by forix; 06-29-2009 at 04:44 AM. Reason: made a mistake
Reply With Quote
  #5 (permalink)  
Old 07-03-2009, 01:38 PM
Junior Member
 
Join Date: Feb 2009
Posts: 19
Default

Hi,

well i have same problem at boot time, but for now is nothing to worry about. The wicd-server/client can't connect to wireless lan until I reboot.
Reply With Quote
  #6 (permalink)  
Old 07-05-2009, 09:31 PM
New Member
 
Join Date: Jul 2009
Posts: 2
Default

Quote:
Originally Posted by Mexicant View Post

gzip /boot/initrd.img-2.6.29.4.new
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4
I changed the above to this to get it to work:

gzip /boot/initrd.img-2.6.29.4.new
cd /boot
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4

Stephen
Reply With Quote
  #7 (permalink)  
Old 07-07-2009, 06:57 PM
Junior Member
 
Join Date: Feb 2009
Posts: 19
Default

Code:
cd /boot
cp initrd.img-2.6.29.4 initrd-2.6.29.4.old (Just making a backup)
depmod -a
update-initramfs -k 2.6.29.4 -c
cd /tmp
gzip -dc /boot/initrd.img-2.6.29.4| cpio -id
touch lib/modules/2.6.29.4/modules.dep
find ./ | cpio -H newc -o > /boot/initrd.img-2.6.29.4.new
gzip /boot/initrd.img-2.6.29.4.new
cd /boot
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4

Reboot and it should be gone.
Many thanks. It is working very well.
Reply With Quote
  #8 (permalink)  
Old 07-08-2009, 11:19 PM
Just burned his ISO
 
Join Date: Apr 2009
Location: USA
Posts: 3
Default

I felt like gambling so I figured I'd give the "easy mode" solution a try.

The "update-grub" command executed as root after removing the install media and rebooting worked for me. You can leave the install media in but the idea is to boot into your new environment.

I apologize I'm not on a linux box or I would paste the code but I don't really think it would be necessary.

edit: Although this fixes the aforementioned issue you'll still need to fix the splash screen manually. In conclusion.. RTFM < WTFV. Just use fix-splash after rebooting into the fresh install (as root).
V/r

Last edited by di2co; 07-21-2009 at 05:53 AM. Reason: I found this "neat" executable and realized I was a moron.
Reply With Quote
  #9 (permalink)  
Old 07-25-2009, 07:57 AM
Junior Member
 
Join Date: Sep 2006
Posts: 16
Default

Quote:
Originally Posted by rakzhodekams View Post
Code:
cd /boot
cp initrd.img-2.6.29.4 initrd-2.6.29.4.old (Just making a backup)
depmod -a
update-initramfs -k 2.6.29.4 -c
cd /tmp
gzip -dc /boot/initrd.img-2.6.29.4| cpio -id
touch lib/modules/2.6.29.4/modules.dep
find ./ | cpio -H newc -o > /boot/initrd.img-2.6.29.4.new
gzip /boot/initrd.img-2.6.29.4.new
cd /boot
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4

Reboot and it should be gone.
Many thanks. It is working very well.
This fixed me up as well. Thanks!
I started getting this error after reinstalling madwifi.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2