LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-27-2006, 08:41 PM   #1
burninGpi
Member
 
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Rep: Reputation: 30
Exclamation booting gentoo with / on reiser4 - Why won't any /etc/init.d scripts start?


I just installed a new kernel on my laptop, and decided to switch my / and /home partitions to reiser4. switching /home was OK, but when I switched /, the kernel booted and udev started, but all of the rc scripts failed with the message:
Code:
 * ERROR: <script> cannot run until sysinit completes
 * <script> will be started in the boot runlevel
and ONLY /, proc, sysfs, devpts, and udev get mounted.

Code:
# dmesg | tail
Synaptics Touchpad, model: 1, fw: 5.10, id: 0x258eb1, caps: 0xa04713/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input5
MC'97 0 converters and GPIO not ready (0x1)
ALSA device list:
  #0: Intel 82801DB-ICH4 with unknown codec at irq 18
  #1: Intel 82801DB-ICH4 Modem at irq 18
ip_conntrack version 2.4 (5879 buckets, 47032 max) - 176 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
Time: acpi_pm clocksource has been installed.
reiser4: hda5: found disk format 4.0.0.
VFS: Mounted root (reiser4 filesystem) readonly.
Freeing unused kernel memory: 184k freed
# uname -a
Linux (none) 2.6.19-rc5-mm2 #1 Sun Nov 26 12:56:21 MST 2006 i686 Intel(R) Celeron(R) M processor         1.30GHz GenuineIntel GNU/Linux
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.

# /dev/device0		/mountpoint	somefs		options			d p
/dev/hda1		/boot		ext2		noatime		1 2
/dev/hda2		none		swap		sw		0 0
/dev/hda5		/		reiser4		noatime		0 1
/dev/hda6		/home		reiser4		noatime		0 0
/dev/cdroms/cdrom0	/mnt/cdrom	auto		noauto,ro	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0

# NOTE: The next line is critical for boot!
#proc			/proc		proc		defaults	0 0
none			/proc		proc		defaults	0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
#shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
none			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0

# fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          13      104391   83  Linux
/dev/hda2              14         138     1004062+  82  Linux swap / Solaris
/dev/hda3             139         263     1004062+  a0  IBM Thinkpad hibernation
/dev/hda4             264        4864    36957532+   5  Extended
/dev/hda5             264        3999    30009388+  83  Linux
/dev/hda6            4000        4864     6948081   83  Linux

Disk /dev/sda: 519 MB, 519569408 bytes
16 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 992 * 512 = 507904 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1022      506881    b  W95 FAT32

# cat /boot/grub/menu.lst
##############################################
#                                            #
#     #######                       #        #
#    #       #                      #        #
#    #       #                      #        #
#    #                              #        #
#    #      ####  # ###   #   #     #####    #
#    #       # #  ##   #  #   #     #    #   #
#    #       #    #       #   #     #    #   #
#    #       #    #       #   #     #    #   #
#     #######     #        ###      #####    #
#                                            #
##############################################

color red/white green/blink-yellow 
splashimage (hd0,0)/grub/splash.xpm.gz

default 0
timeout 3

title Gentoo Linux 2.6.19-rc5-mm2
root (hd0,0)
kernel /vmlinuz-2.6.19-rc5-mm2 root=/dev/hda5 nodevfs
boot

title Gentoo Linux 2.6.19-rc5-mm2 (rescue)
root (hd0,0)
kernel /vmlinuz-2.6.19-rc5-mm2 root=/dev/hda5 nodevfs single
boot

title Gentoo Linux 2.6.18-ck1-r1
root (hd0,0)
kernel /vmlinuz-2.6.18-ck1 root=/dev/hda5 nodevfs
boot

title Gentoo Linux 2.6.18-ck1-r1 (rescue)
root (hd0,0)
kernel /vmlinuz-2.6.18-ck1 root=/dev/hda5 nodevfs single
boot
 
Old 11-28-2006, 08:54 PM   #2
burninGpi
Member
 
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Original Poster
Rep: Reputation: 30
Fixed; I added ro to the boot options and removed the noatime option from /etc/fstab
 
Old 08-31-2007, 07:11 PM   #3
johnhamiltion
Member
 
Registered: Aug 2007
Posts: 92

Rep: Reputation: 15
Don't know the answer to your question but this stuff might help:

Some Amazing Filesystem Benchmarks. Which Filesystem is Best?
http://linuxhelp.150m.com/resources/fs-benchmarks.htm

To get REISER4 up and running, see:

Compiling yourself a new Kernel (with Reiser4 support).
http://linuxhelp.150m.com/installs/compile-kernel.htm

Installing your favorite Linux Distro on Reiser4
http://linuxhelp.150m.com/installs/i...on-reiser4.htm

Installing GRUB on a Reiser4 Partition.
http://linuxhelp.150m.com/installs/grub-reiser4.htm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the scripts in /etc/init.d for? blackzone Linux - General 7 09-06-2006 11:10 PM
init scripts lvgandhi Debian 2 10-11-2005 02:44 AM
start up scripts on gentoo mdpniesta Linux - Software 1 03-08-2005 04:40 AM
New init scripts? xconspirisist Fedora 9 12-09-2004 11:41 AM
Scripts in /etc/rc.d/init.d correro Linux - General 1 03-13-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration