STUCK at first boot: LFS v9.0 First Boot Dell Inspiron 1545 Laptop
First time poster, first time builder! LQ.org has been a great help along way. I've put distros on my machines before, wanted to try to build from scratch on a spare machine I had laying around.
Specs on the machine: Code:
Pentium T4400 @2.20Ghz 1067Ah "Penryn" I installed grub to the MBR successfully, and when I rebooted the machine, I was greated with a grub menu, showing my LFS install on /dev/sda2/. Either highlighting it and pressing enter, or just waiting for the time out results in what appears to be the kernel loading. It goes by incredibly fast, I can't read any of it. Then the resolution changes to a larger one from whatever the boot default is. This is successful. No frequency out of range errors. It keeps on doing its thing for a couple more seconds then stops here (forgive any typos, I wrote this by hand, not sure how to get a log at this point): Code:
[ 2.484186]input: AlpsPS/2 ALPS Glidepoint as /devices/platform/i8042/serio2/input/input10 I followed the steps really, really carefully. Any ideas, or is it back around for another run? EDIT: Here's a gem: https://www.thegeekstuff.com/2011/02/linux-boot-process So, I shouldn't be googling "S45cleanfs permission denied" I should google, "init startup cleanfs permission denied". The game's afoot! EDIT 2: Can I just put a chmod command on line 107 in the inittab file? |
Looks like you haven;t done this bit:
Code:
mkdir -v {dev,proc,sys,run} http://www.linuxfromscratch.org/lfs/...06/kernfs.html |
Like the OP said, /dev/null node definitely exists. It also appears to have the correct permissions and is owned by root. All of the VFS directories exist. I really didn't skip that step, I promise.
|
U seem to have a lot /dev related failures maybe udev is broken?
|
If you look at the files that r causing the problem both errors come from redirecting to /dev/null it almost certainly isn't being created properly
|
A lot of udev failures? I only see one. How can I find out what's going on with /dev/null at boot? It looks fine from a rescue stick.
|
try booting to a different medium usb/cd etc check that delete every thing in dev and remake the null and console nodes, stat the nodes before and after and post them so WE know what their status is
|
stat the nodes?
|
Before replacing the nodes:
Code:
~$ stat null Code:
~$ stat null |
All looks fine the only thing I can think of is have you set these in your kernel config
Code:
CONFIG_UEVENT_HELPER=y Code:
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 |
I used defconfig to start, then menuconfig for making changes while building the kernel. Where should I look for those options? Aaaaand, lemme go check on the that fstab line...
|
Try
Code:
gunzip < /proc/config.gz > /path/to/config |
AHA! devpts was mounted at /dev instead of /dev/pts
Boots to login now! |
All times are GMT -5. The time now is 05:28 PM. |