[pocket-linux] My first question :) (about script in 5.3.7)

David Horton dhorton at speakeasy.net
Sun Feb 27 20:09:47 CST 2005


Fabio Román Arbelo wrote:
> Hello everybody!
> 
> 	Dave, I did what you told me (type "mount -n -o remount,rw /" and also "mount -f -o remount,rw /" directly from the command-line) and it seems to work fine. If fact, after all the boot processes and before I type any "mount", I did this:
> 
> ...
> Checking local filesystem integrity.
> /dev/ram0: clean, 104/1024 files, 3190/4096 blocks
> Remounting / as read-write.
> Segmentation fault
> Mounting local filesystems.
> Setting hostname.
> INIT: Entering runlevel: 1
> # df
> Filesystem		1k-blocks		Used		Available	Use%  Mounted on
> /dev/ram0		3963			3058		905		78%	/
> # mount
> /dev/ram0	on	/ 	type 	ext2	(rw)
> proc		on	/proc	type	proc	(rw)
> #mount -n -o remount,rw /
> #mount -f -o remount,rw /
> 
> Everything seems to be ok, except for the "segmentation fault". Could you help me with this please? I´ve already tried to rebuild 'mount' from the util-linux package, but it doesn´t fix the problem. Maybe I should try another stable version of this package (util-linux-2.12i for example) What do you think?
> 
> By the way, I am thinking of building a bootable Compact Flash based on your guide. I think it has to be easy, I mean, you only have to make a few changes. For example, GRUB commands, fstab file and, of course, copy all the files of both disks (root and boot) onto the compact flash. Do you think this is easier than building a bootable CD-ROM? (I´ve been reading your article about building a bootable CD-ROM and you are right, it is not easy at all, at least from my point of view :(
> 
> Thank you very much!
> 

It could be that e2fsck, not mount, is giving you seg fault errors.  As 
rainer pointed out in a recent message the "--disable-dynamic-fsck" 
option for e2fsprogs' configure script will eliminate two additional 
dynamic library requirements.  If the libraries are missing it could be 
the source of the segmentation fault.  Try the configure option to see 
if the error message goes away.

As for flash card installs, there is a HOWTO that was just presented to 
the Linux Doc Project that includes some information on CompactFlash 
installation.  The address is for the section of interest is: 
http://www.cybcon.com/~coert/linux/siso/kernel-cf.html

Dave



More information about the Pocket-Linux mailing list