[oe] ro/rw boot order

GNUtoo GNUtoo at no-log.org
Mon Jan 4 21:25:17 UTC 2010


hi,
I used that combinaison:
MACHINE = "eee701"
DISTRO = "angstrom-2008.1"

eee701 beeing that file:
#-----------------------------------------------------------------------------
#@TYPE: Machine
#@NAME: eeepc 701
#@DESCRIPTION: Machine configuration for the eeepc 701 netbook
#-----------------------------------------------------------------------------

require i686-generic.conf

PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
MACHINE_DRI_MODULES = "i915"

XSERVER = "xserver-xorg xf86-video-intel xf86-input-evdev
xf86-input-keyboard xf86-input-mouse"

MACHINE_FEATURES +=" wifi alsa "
MACHINE_DISPLAY_WIDTH_PIXELS = "800"
MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
MACHINE_DISPLAY_ORIENTATION = "0"
XSERVER ?= "xserver-xorg \
           xf86-video-intel \
           xf86-input-evdev \
	   xf86-input-keyboard \
	   xf86-input-mouse"

IMAGE_FSTYPES += "tar.gz"

PREFERRED_PROVIDER_virtual/kernel ?= "linux"
PREFERRED_VERSION_linux ?= "2.6.32"

so I use a BIOS and grub-0.97 on top of it

and menu.lst says root=/dev/hda1 ro
(it should be /dev/sda1 but that's another problem I should fix for my
machine(with a new overriden menu.lst))

and in angstrom /etc/rcS.d there is:
S03udev
S10checkroot

And when booting it freeze unless you change udev/checkroot order or put
rw to the kernel command line.

I bet that some people already started working arround the issue:
CMDLINE = "root=/dev/sda1 rw init=/sbin/init console=ttyS2,115200n8
mem=128M nohz=off"
can be found in the archos5 machine config

what's the best fix for that?

Denis.






More information about the Openembedded-devel mailing list