Skip to content
rofl0r edited this page Apr 16, 2012 · 5 revisions

to get X11 to work on needs a framebuffer device /dev/fb0

so you need to pass a vga option to the kernel

for example, add the following to the append line in /boot/extlinux.conf

vga=ask 

this will ask for which mode to choose. or

vga=0x318

there seem to be no fonts

here's a list of supported vga codes https://wiki.ubuntu.com/FrameBuffer

i managed to get X11 input to work using 767a31d25b858059d2ba4e312caf1915569c295a and b2c808d34cb5c61125a32f6279c781e0f5f89952

additionally, i changed startx to call "hostname" instead of "hostname -d"

eventually the following changes to /etc/rc.boot are necessary:

mount -t sysfs sysfs /sys

+echo /bin/mdev > /proc/sys/kernel/hotplug
+mdev -s

# only show warning or worse on console

and a copy of http://git.alpinelinux.org/cgit/aports/tree/main/busybox-initscripts/mdev.conf placed in /etc

other init scripts: http://git.alpinelinux.org/cgit/aports/tree/main/busybox-initscripts