Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: pythonscript on January 03, 2010, 05:10:11 PM
-
I've installed Tiny Core on my local hard drive (to use a the primary distro for this low end system) and I'm trying to stop the system from automatically creating the fstab file. Whenever I change it, it's simply recreated when I reboot. All of my apps are persistent, however. I'd like to have my home partition mounted on a separate partition (in this case, /dev/hda5) while tiny core is installed on /dev/hda7. How would I write the /etc/fstab file and stop it from being overwritten every time? Thanks!
-
You can append to /etc/fstab in /opt/bootlocal.sh.
You also might try adding /etc/fstab to /opt/.filetool.lst and do a backup.
-
So what command would I add to /opt/bootlocal.sh? Something like:
echo my_fstab_entry >> /etc/fstab
I'm still a bit lost on exactly what I would add to the /etc/fstab file. Thanks!
-
The nofstab boot code will prevent fstab from being created on boot.
-
If you just want to mount /home, the home= boot option is probably a better way.
-
When I add nofstab to the boot options, it removes all my extensions from tiny core, and even though I have home=hda5 specified, tiny core is still mounting hda5 under mount. I can't change this in /etc/fstab using nofstab, either, because of the aforementioned reason. Is there something I'm missing here? I'm hoping to eventually set this up for multiple users, so having a dedicate home partition where all the config files are stored, separate from the root one, would be very useful. Thanks again!
-
What is the output from showbootcodes?
Without using nofstab, and with using home=hda5
what is the output of mount?
What is the output of cat /etc/fstab?
-
I have similar problem.
I scattered microcore to hard, and it works ok, from fstab I removed tempfs.
Now when I run df -h I see /dev/root mounted on /
and
/dev/hda1 mounted on /mnt/hda1
this is the same drive why it is mounted twice.
bootcodes are root=/dev/hda1