AW: [SPBLinux-user] Mounting drives at boot
Brought to you by:
spblinux
From: Christian O. <os...@fr...> - 2004-09-06 13:02:30
|
> I have a nicely running spblinux install, but I've hit a bit of a > snag. I have an addon with the following in the rc_addon.ini: > > mkdir /zroot > mount -t ext3 /dev/hda3 /zroot > mount -t ext2 /dev/hda1 /zroot/boot > > When the system boots, it clearly notes that it is mounting the > ext3 partition because I get a message stating the journalling > has been started, however by the end of the boot sequence the > zroot directory still exists but the partition has been > mysteriously unmounted without any apparent information. if you boot with kernel parameter initsqf=1 (or =ram) the whole filesystem below /usr gets compressed into one big squashfs (as far as I remember at the moment, that is why rc_addon.ini cannot directly mount drives; else anything mounted below /usr would be put into the squashfs) > > Can anyone recommend a way of getting drive mounts during boot to > "stick" or tell me why my mounting is being cancelled? there is a simple workaround, which is used by ssh.bz2 to start sshd: append your commands to /tmp/rc_init2 with echo 'your_command your_args ..' >>/tmp/rc_init2 (changegz your_path/init6.gz reveals the details: etc/rc_init; spblinux parameter debug=yes keeps /etc/rc_init and /tmp/*) Christian |