Hi Ryan, Thanks for your reply.
I've just run finnix with a view to answer your questions and have found the cause of the problem. I had a finnix partition at the beginning of /dev/sda, and while booting of a finnix cd, finnix would mount /dev/sda at /cdrom, and subsequently no scripts were being run as there are none on the /dev/sda finnix partition. I deleted the finnix partition on /dev/sda, rebooted on the cd, and voila, 'Hello World!' Thanks, your questions led me to the solution. May want to consider this scenario in any future releases, and keep up the good work, this is a brilliant distro. Regards, Paul. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ryan Finnie Sent: Tuesday, 20 September 2011 5:09 PM To: General Finnix discussion and announcements Subject: Re: [finnix] Startup Script Help On Mon, Sep 19, 2011 at 10:03 PM, Paul Javni <[email protected]> wrote: > I followed, read and absorbed the instructions on the Remaster Page, Overlay > Page & Release Notes. I saved this as myscript.sh, applied chmod +x to the > file and saved it in the following locations, none of which have run the > script on finnix startup: (I'll standardize on /finnix/arch/x86/rc/ explaining this, since as you noticed, 101 and 102 look for indep in the wrong area, and will be fixed for 103.) Hmm, do you see /cdrom/finnix/arch/x86/rc/myscript.sh while booted into the remastered Finnix? If not, something is wrong outside of the boot (you're not using the created finnix.iso, finnix-build-stage2 is malfunctioning somehow, etc). If you do see it: FYI, permissions don't matter, since all CD rc files are treated as bash scripts. Making it +x won't hurt though. Does ". /cdrom/finnix/arch/x86/rc/myscript.sh" work? (Note the leading dot.) That's how Finnix will execute it. What does FINNIX_CDARCHDIR look like in /etc/finnix/initrd.env on the booted CD? It should be "/finnix/arch/x86" in your case. RF _______________________________________________ finnix mailing list [email protected] http://lists.colobox.com/cgi-bin/mailman/listinfo/finnix _______________________________________________ finnix mailing list [email protected] http://lists.colobox.com/cgi-bin/mailman/listinfo/finnix
