Thanks that's really helpful.
Quote:
Originally Posted by ~sHyLoCk~
|
That page states that you need to be using initrd for persistent device naming to work so...
As suggested I've created some extra devices and used root=/dev/sda1.
This has got me one step closer but still not there. I'm now getting a panic "Attempt to kill init" but with no message from bash about why...
I replaced bash(sbin/init) with a program which simply prints out numbers starting at 0 and counting up (statically compiled). This doesn't die but doesn't print anything either.
Before I dive into kernel config again, does anyone have any suggestions about what else I've missed to cause this.
My new grub menu.lst is
Code:
default 0
timeout 10
title Test Kernel build
root (hd0,0)
kernel /boot/bzImage root=/dev/sda1 ro noinitrd
My new /dev/ now contains:
Code:
brwxrwxrwx root 5, 1 console
crwxrwxrwx root 1, 2 kmem
crwxrwxrwx root 1, 1 mem
brwxrwxrwx root 1, 3 null
brwxrwxrwx root 1, 1 ram
brwxrwxrwx root 8, 0 sda
brwxrwxrwx root 8, 1 sda1
crwxrwxrwx root 5, 0 tty
crwxrwxrwx root 4, 1 tty1
crwxrwxrwx root 4, 2 tty2
crwxrwxrwx root 4, 3 tty3
crwxrwxrwx root 4, 4 tty4
crwxrwxrwx root 1, 5 zero
Thanks a lot for your time