purnomo hadi wrote: > need help > i have some error in the boot. > and how to fix the "Mounting root file system in read-only mode" .to > read-write . > message from boot.log > > -------- > Apr 29 06:44:41 +07:00 (none) Mounting virtual file systems: /run /proc > /sys OK > Apr 29 06:44:41 +07:00 (none) Bringing up the loopback interface... OK > Apr 29 06:44:41 +07:00 (none) Setting hostname to linux... OK > Apr 29 06:44:41 +07:00 linux Populating /dev with device nodes... OK > Apr 29 06:44:41 +07:00 linux Activating all swap files/partitions... OK > Apr 29 06:44:41 +07:00 linux Mounting root file system in read-only > mode... OK > Apr 29 06:44:41 +07:00 linux Checking file systems... OK > Apr 29 06:44:42 +07:00 linux FAIL > Apr 29 06:44:42 +07:00 linux FAILURE: > > You should not be reading this error message. > > It means that an unforeseen error took place in > /etc/rc.d/rcS.d/S40mountfs, > which exited with a return value of 1. > If you're able to track this error down to a bug in one of > the files provided by the files provided by > the LFS book, please be so kind to inform us at > lfs-dev@linuxfromscratch.org (Registration required).
Notwithstanding this message, this should really start in lfs-support. After all, you have not tracked down the problem to a bug in the boot scripts. But let's go ahead and address this here. We really need more information. The problem seems to occur in /etc/rc.d/init.d/checkfs, but I don't see the first message: "Remounting root file system in read-write mode..." You do seem to get through the script though. What is the output of mount and what are the contents of /etc/fstab? > FAIL > Apr 29 06:44:42 +07:00 linux Press Enter to continue...Apr 29 06:44:42 > +07:00 linux Cleaning file systems: /tmp OK > Apr 29 06:44:44 +07:00 linux Retrying failed uevents, if any... OK > Apr 29 06:44:45 +07:00 linux Starting system log daemon... OK > Apr 29 06:44:46 +07:00 linux Starting kernel log daemon... OK > Apr 29 06:44:47 +07:00 linux Bringing up the eth0 interface... FAIL > -------- The most likely issue here is that you don't have the right driver from the kernel installed for the network card. What is the output of lspci on the host and what are the contents of /etc/sysconfig/ifconfig.eth0? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page