From: Mike B. <mik...@ho...> - 2002-11-04 19:29:46
|
I'm building my own distro from scratch using a base of Gatliff's = set up. I'm up to date and able to build the kernel, busybox etc. I'm = a novice when it comes to the Linux boot process so forgive me if my = questions are basic. I'm stuck at two places currently: 1) /dev/gdrom isn't showing up in the /dev directory 2) I'm not sure how to leave myself with a busybox shell using inittab #1 - I'm using fsdev to populate the /dev directory, with the exception = being /dev/console. There's a bunch of devices shown in /dev, but not = /dev/gdrom. The gdrom driver is clearly being initialized and I traced = it into the kernel and found that it is indeed being registered. When I = look at /proc/devices I can see that the gdrom is a block device with = major of 250 (correct). So why isn't /dev/gdrom appearing? I can = manually do a mknod and create it, mount it, etc. #2 - If I don't use an inittab, then the system boots up into a busybox = shell. Just press enter and I'm given a shell prompt. But, /proc and = my gdrom devices are not mounted. I thought perhaps using inittab to = run a script to do a mount -a would cause /proc and /gdrom to be = mounted. When I put an inttab in place, I don't know how to leave = myself a shell running after the init is finished. What's a good init = line to put in inittab to cause this to happen? I've looked at examples = but can't find an example using busybox with the /dev/console. Thanks Mike |