Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: MiniQ9 on January 04, 2011, 04:02:02 PM

Title: Move the processing "home="
Post by: MiniQ9 on January 04, 2011, 04:02:02 PM
I propose to move the processing kernel parameter home= after loading extensions, before processing the parameter restore=.
I explain. My home is located on a partition sda3 (reserfs), to connect you need to load modules.
Title: Re: Move the processing "home="
Post by: gerald_clark on January 04, 2011, 04:13:36 PM
Have you tried making a .gz of the modules, and putting it in the tce directory?
Title: Re: Move the processing "home="
Post by: MiniQ9 on January 05, 2011, 03:20:34 AM
Module filesystems ... tcz lies in tce and loaded with onboot.lst
However, the treatment occurs before the home= the time of loading modules.
Now problems are solved in bootlocal.sh:
Code: [Select]
#!/bin/sh
# put other system startup commands here
modprobe reiserfs
mount -o async,nodev /dev/sda3 /mnt/sda3
mount -o bind /mnt/sda3/home /home
.....
But it's a crutch, right?
Title: Re: Move the processing "home="
Post by: curaga on January 06, 2011, 09:05:59 AM
Some extensions create config files etc in $HOME, thus it needs to be available before loading extensions.