problems in the boot phase

Jari Kankaala jarik at dtek.chalmers.se
Fri Jan 27 10:21:22 PST 2006


> Can you boot up edit your kernel line and add init=/bin/bash, if that
boots, then go to /etc/rc.d/rc.sysinit.d and run each script until you
get a failure, that should give us a good idea what is going on.
>
> jim at linuxfromscratch.org

Managed to get a bash prompt. Typed login and logged in as root. Went  to
/etc/rc.d/rcsysinit.d and started running the scripts:

./S00mountkernfs start
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
Mounting kernel-based file system:/etc/rc.d/init.d/functions: line 120:
   sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
 /proc/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
 /sys/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
                                                              [  OK  ]
./S10udev start
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
./S10udev: line 33: grep: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
Populating /dev with device nodes...                          [ FAIL ]
FAILURE:

Unable to create devices without a SysFS filesystem

/etc/rc.d/init.d/functions: line 120: grep: command not found
/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
After you press Enter, this system will be halted and powered off.

/etc/rc.d/init.d/functions: line 120: sed: command not found
/etc/rc.d/init.d/functions: line 120: grep: command not found
Press Enter to continue...
Synchronizing SCSI cache for disk sdb:
Synchronizing SCSI cache for disk sda:
Power down.
acpi_power_off called

Guess we have a problem here. The rest also fails but I guess
it's because udev didn't create any devices.
//Jari







More information about the cross-lfs mailing list