You are not logged in.

#1 2008-09-26 19:42:37

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Mkinitcpio/initramfs debug info/verbose output?

Hi, I'm new to mkinitcpio/initramfs.  I'm trying to find out more about what the initramfs is doing (It seems like the kernel is told to load from softraid instead of lvm even though the hooks shouldn't trigger that. see http://bbs.archlinux.org/viewtopic.php?id=55842 )

So I was wondering: Is there a way to add verbosity/debugging output to execution of the initramfs?  To see  what arguments are passed to the kernel and why?
I see for example on http://wiki.archlinux.org/index.php/Con … mkinitcpio often something like "You have to pass root=/dev/mapper/<volume group name>-<logical volume name> to the kernel" but isn't that what the initramfs does at runtime?, eg when configuring mkinitcpio i cannot really control this?  or am i missing something?

And btw, where can I get the latest sources?  svn co http://phraktured.net/initramfs gives a 403 Forbidden

Last edited by Dieter@be (2008-09-26 20:05:02)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#2 2008-09-26 21:24:26

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Mkinitcpio/initramfs debug info/verbose output?

I'm trying to learn more by studying the source of mkinitcpio, the hooks, etc.  One strange thing I see is that '/bin/replace' is called in a few places (when doing mknod /dev/mapper/control), but that file doesn't exist...

Last edited by Dieter@be (2008-09-26 21:27:58)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#3 2008-09-28 11:31:43

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Mkinitcpio/initramfs debug info/verbose output?

Dieter@be wrote:

One strange thing I see is that '/bin/replace' is called in a few places (when doing mknod /dev/mapper/control), but that file doesn't exist...

reported bug http://bugs.archlinux.org/task/11610


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB