Author Topic: problem using mkinitrd  (Read 549 times)

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
problem using mkinitrd
« on: November 25, 2012, 01:17:09 PM »
Hi @ all,

i need a bit help i set up a new pymouth theme edited the conf file for plymouth in /etc/plymouth for using the new them. now new the works on shut down. i know i have to rebuild the initrd to get the change on the start up but when i use

Code: [Select]
mkinitrd /boot/initrd-3.2.18-pclos2.bfs.img 3.2.18.pclos2.bfs
i just get

Code: [Select]
No modules available for kernel "3.2.18.pclos2.bfs".
i also tried to use the -f option in the hope that it means force but nothing changed i still get the same error.

Has someone an idea what to do is?

thanks in advance

regards
ghostbunny
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10686
  • MLUs Forever!
Re: problem using mkinitrd
« Reply #1 on: November 25, 2012, 02:44:45 PM »
Try it using the verbose   -v   option .....  it might tell what is the cause
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: problem using mkinitrd
« Reply #2 on: November 25, 2012, 02:46:53 PM »
It's a typo in your command line: 3.2.18-pclos2.bfs instead of 3.2.18.pclos2.bfs ("-" after the version number)  ;)
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10686
  • MLUs Forever!
Re: problem using mkinitrd
« Reply #3 on: November 25, 2012, 02:53:48 PM »
I was also trying to recall where I had seen that message previously ....  me of course  :(

http://www.pclinuxos.com/forum/index.php/topic,105588.msg901887.html#msg901887
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: problem using mkinitrd
« Reply #4 on: November 26, 2012, 12:36:35 AM »
ok thanks. i solved it a bit other

tried to reinstall the kernel ... does not help
installed other kernel and uninstalled current... worked
installed old kernel uninstalled new kernel... worked also

but now mylivecd fails on every start. it comes to the part when creating the initrd for the livecd and aborts with
can't umount /tmp/mylivecd.<pid?>/initrd.mnt

any ideas?
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: problem using mkinitrd
« Reply #5 on: November 26, 2012, 06:30:11 AM »
Not sure about the LiveCD question, at the moment, but a tip for mkinitrd...

If you're running it for the currently running kernel, the following helps prevent typos:
Code: [Select]
mkinitrd /boot/initrd-`uname -r`.img `uname -r`

Again, this only works for the currently running kernel!  If you need to run it for an installed kernel that isn't running (as I happened to last night, when the initrd failed during the install of the 3.4 from testing), then you'll have to type it all out, so check your syntax (command completion and copy/paste could help, some).