public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Initramfs
@ 2003-08-21  4:44 Garrett Kajmowicz
  2003-08-21  6:30 ` Initramfs Bryan O'Sullivan
  0 siblings, 1 reply; 19+ messages in thread
From: Garrett Kajmowicz @ 2003-08-21  4:44 UTC (permalink / raw)
  To: linux-kernel

I would like to start off by thanking everybody for their help with my last 
question,  Much appreciated.

I am currently testing kernel 2.6.0-test3, specifically the initramfs feature, 
under VMWare

Upon booting I get the following:

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8196 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
->(three characters, an 'o' with an I superimposed, a carat^, and a white 
smilyface)
Kernel panic: populate_root: bogus mode: 0

In idle task - not syncing

===Creation details - verbose===

I have created a directory tree on my system that I would like to use as a 
root fs.  I then created (from the root of that structure) the cpio archive 
by using
find | cpio -ov > ../filesystem.cpio
cd ..
gzip -9 filesystem.cpio
I then copied the file into the proper location in the source tree, compiled 
and had everything boot nicely.

I used syslinux to boot the kernel from a disk (only way I could get it to 
work on the virtual disk image to boot under VMWare)

===End of Creation details===

How would you suggest I go about fixing this problem, or do you require more 
information?  Also, is there a good detailed FAQ or a HOWTO document available 
online that I might be able to refer to?

Once again, thank you for your assistance.

Garrett Kajmowicz
gkajmowi@tbaytel.net


^ permalink raw reply	[flat|nested] 19+ messages in thread
* initramfs
@ 2005-05-25 17:41 Wakko Warner
  2005-05-25 18:26 ` initramfs Lennart Sorensen
  2005-05-25 18:54 ` initramfs Wakko Warner
  0 siblings, 2 replies; 19+ messages in thread
From: Wakko Warner @ 2005-05-25 17:41 UTC (permalink / raw)
  To: linux-kernel

I'm having problems with this.  I apparently have a cpio archive that the
kernel likes.  I am starting via grub with basically:
kernel /mykernel
initrd /mycpiofile

At first, I got "can't mount root".  A little reading in main.c has it
looking for /init  (shouldn't this be /bin/init instead?)

I moved my ./bin/init to . in my init filesystem tree and recreated the
cpio.  my ./init script is a "#!/bin/busybox ash" script.

running cpio -tv, I see:
...
-rwxr-xr-x   1 root     root       452508 May  5 14:33 bin/busybox
...
-rwxr-xr-x   1 root     root         1328 May  9 15:46 init
...

Now I see a message saying:
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

I did that.  According to the source, init= is overridden when /init exists.

I'd like to get off the initrd ramdisk style to save some more on space.

I assume it is populating properly since also I don't see the initial console
warning message.

Kernel: vanilla 2.6.12-rc4 compiled with -Os with debian gcc 3.3.5-1

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

^ permalink raw reply	[flat|nested] 19+ messages in thread
* initramfs
@ 2005-07-13 10:06 Jacek Jabłoński
  0 siblings, 0 replies; 19+ messages in thread
From: Jacek Jabłoński @ 2005-07-13 10:06 UTC (permalink / raw)
  To: linux-kernel

Hello,
Do You know any tool to create initramfs (not initrd)?
If not, please tell me how to do that?
Jacek Jabłoński

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-07-13 10:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21  4:44 Initramfs Garrett Kajmowicz
2003-08-21  6:30 ` Initramfs Bryan O'Sullivan
2003-08-21 14:19   ` Initramfs Jeff Garzik
2003-08-21 18:28     ` Initramfs Bryan O'Sullivan
2003-08-21 19:03       ` Initramfs viro
2003-08-21 19:57         ` Initramfs Bryan O'Sullivan
2003-08-21 20:22           ` Initramfs Willy Tarreau
2003-08-21 20:56           ` Initramfs viro
2003-08-21 22:34             ` Initramfs H. Peter Anvin
2003-08-21 22:31     ` Initramfs Werner Almesberger
2003-08-21 22:41       ` Initramfs Jeff Garzik
2003-08-21 23:15         ` Initramfs Werner Almesberger
2003-08-28 20:07     ` Initramfs H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25 17:41 initramfs Wakko Warner
2005-05-25 18:26 ` initramfs Lennart Sorensen
2005-05-25 18:45   ` initramfs Wakko Warner
2005-05-25 19:54     ` initramfs Wakko Warner
2005-05-25 18:54 ` initramfs Wakko Warner
2005-07-13 10:06 initramfs Jacek Jabłoński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox