Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] initramfs, busybox init, switch_root and ARM
@ 2011-04-18 14:54 Luca Ceresoli
  2011-04-18 15:17 ` [Buildroot] kernel and|or initrd Michael Burghart
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2011-04-18 14:54 UTC (permalink / raw)
  To: buildroot

Thomas Koster wrote:
> ...
> Question one: If the requisite drivers are included in the kernel
> (e.g. ext2, or nfs + kernel network auto-configuration if I want an
> NFS root), is an initramfs even necessary?

No.

> Can I get away with the
> 'real' root filesystem being mounted from the start?

Yes!
If your kernel has all the drivers needed to mount the root filesystem
compiled in statically (=not as modules), there is usually no need to
have an initramfs.
This is frequent on embedded systems that have no or little variations
of hardware configuration.

Luca

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

* [Buildroot] kernel and|or initrd
  2011-04-18 14:54 [Buildroot] initramfs, busybox init, switch_root and ARM Luca Ceresoli
@ 2011-04-18 15:17 ` Michael Burghart
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Burghart @ 2011-04-18 15:17 UTC (permalink / raw)
  To: buildroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've got a simple question. I compiled my kernel without use of modules.
Is it necessary ot use an initrd?

This is my grub/menu.lst:

# Begin /boot/grub/menu.lst

default 0
timeout 30
geometry (hd0) 1974 16 63

color cyan/blue white/blue

# The first entry is for TaLux.
title Talux 1.0
        root (hd0,0)
        geometry (hd0) 1974 16 63
        kernel /boot/talux-2.6.24.7 root=/dev/sda1 rw console=tty0
console=ttyS0,38400n8


root and setup of grub work fine. While booting grub announces
"GRUB loading, please wait..." and thats it.

What's the best way to boot?


- -- 
- --
cheers
- -micha-
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNrFX3AAoJEEMkp/gkis19HVYH/15ORDqNJhpfm0Qq85fUHgAN
rlP9loW0ARKv2EZIwM1OfH/MqNFpshYwmuK/c8vWRRQ6q4opSuW2l+UMXKOSUHuc
lj0vUt44Jrtbw316zGwx6i3rz/2As4i5kFymKPvsf4fSTOe+oAzSfEM2iLNw8YeT
U7mOH3XvrZELqUTTVprW0Tx2kPO/FSbvql0CIBLTqIs26NtAin1BiIWuVmSGL7Nt
tJdcwGeHKh7OgwFGYxFXA/axtAI/baLCwk770hkV7K8OQZvsZvR4jIuG6oCik6mg
HHgac1JVOYC0/rDZ8Uh3w71YbOUUJ70R/F6lh1UWvla5MOpWOxke21pibwtDNAk=
=FYr2
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2011-04-18 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18 14:54 [Buildroot] initramfs, busybox init, switch_root and ARM Luca Ceresoli
2011-04-18 15:17 ` [Buildroot] kernel and|or initrd Michael Burghart

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