Author Topic: plymouth message after changing hdd to other machine  (Read 935 times)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: plymouth message after changing hdd to other machine
« Reply #15 on: June 10, 2010, 11:53:32 AM »
What is the command line to redo an initrd ? "mkinitrd -g -k ?something?"

Hi Melodie;

An example (the -f tells mkinitrd to replace the existing initrd.img file)

mkinitrd -f /boot/initrd-2.6.33.4-pclos1.pae.img 2.6.33.4-pclos1.pae

replace with whatever kernel you want to update.

Hi all,
Why is the argument in 2 parts here ? (therefore same question for pag's `uname -r` argument method)

Thanks !

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11589
  • ----IOFLU----
Re: plymouth message after changing hdd to other machine
« Reply #16 on: June 10, 2010, 11:58:41 AM »
What is the command line to redo an initrd ? "mkinitrd -g -k ?something?"

Hi Melodie;

An example (the -f tells mkinitrd to replace the existing initrd.img file)

mkinitrd -f /boot/initrd-2.6.33.4-pclos1.pae.img 2.6.33.4-pclos1.pae

replace with whatever kernel you want to update.

Hi all,
Why is the argument in 2 parts here ? (therefore same question for pag's `uname -r` argument method)

Thanks !



The first part specifies the name of the initrd image, the second part the kernel it is to be associated with.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: plymouth message after changing hdd to other machine
« Reply #17 on: June 10, 2010, 12:20:09 PM »
Code: [Select]
mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`
That should take care of handling the appropriate kernel

Most elegant and functional.

This one goes into my Important Stuff.txt file.

Thanks.  :)

+1

...I borked mine testing out different plymouth themes a week or two ago; since then if I boot to init 5 the handoff from plymouth to X / KDM doesn't happen... I get dumped to a black screen with no keyboard/mouse.   The switch-themes script didn't fix it and I couldn't recall how to do this at the time..  

Since then I've been booting to init 3 with splash=verbose and then starting KDM manually.. (I rarely turn of the PC off so it's not too much of an inconvienience).  Tonight I shall be using this.. and like John it will archived for future use (in my forum history for easy searching!).

 ;D :D ;D
« Last Edit: June 10, 2010, 12:48:26 PM by travisn000 »