Arcana wrote: > Is there a way though to mount an IDE hard drive to a location like / > (root)or /var? I'll search the docs again but I couldn't figure it out > after spending a weekend with Bering and my computers. The syslinux > configs seem to define sizes of RAM disks only and if I try to mount the > hard drive to / or /var using /etc/fstab, it doesn't mount properly.
(For good news, see bottom) The default linuxrc creates a ramdisk, copies the contents of the initial ramdisk there and then uses that ramdisk as root filesystem. With the root= parameter to the commandline (see the docs), you can supply a device other than a ramdisk as rootfs, but then linuxrc (i.e. Bering) will exit straight away without even calling init, so I think that option is quite broken. So in order to use a non-ramdisk root fs, you'd have to - Copy the FS-tree of your root ramdisk to the harddisk/whatever - Modify linuxrc so the root= option works (I might be mistaken though, and it might even work. By looking at it, I am sure that it cannot work) linuxrc uses /var from the beginning to store some files in there, and the syslog daemon is started writing to /var/log on its own logging ramdisk. In order to mount /var to something else, you'd have to something along the lines of - move /var to somewhere else - mount your drive to a new /var - stop all daemons having open files in /var, e.g. syslog - copy the contents of the old /var to the new one - start the daemons again. But here come the good news: If you just want to write your logfiles to a disk, you can use my modified linuxrc, see http://sourceforge.net/tracker/index.php?func=detail&aid=657859&group_id=137 51&atid=313751 Regards Alex ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
