Other Help Topics :: Auto loading Open Office



There is no root password by default, and the dsl user is listed as a valid root sudoer.

for just executing 1 command: sudo <command>
for a root terminal: "sudo su" or use just click the menu entry

OK.  Got to the root terminal, but when I tried to create a myDSL folder on the / directory it doesn't show up after rebooting.  It's there after I run the command mkdir myDSL and then ls.  But if I reboot the myDSL directory disappears.

Also, I tried doing option 1, and put mydsl=hda3/opt in the bootlocal.sh file (that is where the openoffice.tar.gz file is), but it doesn't work either.  OpenOffice is not loaded during bootup.

What am I doing wrong?

"[hda1]/ or create [hda1]/mydsl"  <-- note that I indicated the mounted hda1 partition, not the / directory which is mounted on the ramdisk, which data is lost after each subsequest reboot.  If /cdrom is mounted as rw (i.e. you booted with the "frugal" bootcode), you can use /cdrom/ or /cdrom/mydsl/

In my earlier post, I thought I said those steps were a list of choices... the mydsl= bootcode has to be used by your bootloader.  bootlocal.sh is for shell commands you want to run on startup.

If you require further reading, please see the wiki.

Hey ^thehatsrule^.

I think I understand what you mean.  What kind of shell script should I put in the bootlocal.sh?

Failing that, what exactly is the easiest way to get what I want done done?

The wiki is vague and doesn't offer much help.  I've been looking at the page for loading extentions at boot, but it is short on specific examples.  It talks about the mythical mydsl directory, but doesn't exactly say where it is or where exactly to put one.  It gives you a boot code to use, but then points you to a page that is also vague on what exactly you're supposed to do if you have a frugal install (it does a good job explaining what to do if you have an hd install).

Basically I'm just lost.  I have this extension.  I want it to load during boot time.  That's it.  I can't figure out what I'm supposed to do.

bootlocal.sh: add in your mydsl-load command here. i.e.
Code Sample
mydsl-load /path/to/my/extension.tar.gz



The mydsl= bootcode is customizable so that you can place it _wherever_ you want. Of course you can make your own directory.  The example in that wiki page still applies...
Quote
For example, you can put your extensions in a directory called /mnt/hda1/home/dsl/mydsl and use the boot option mydsl=hda1/home/dsl/mydsl.


Of course the easiest way to use the mydsl autoloading in your case would be for you to place the extensions just in the root of hda1 (see option 3).  Using /cdrom or /mnt/hda1 or /cdrom/hda1/mydsl or /mnt/hda1/mydsl should allow you to place your file there.  This way you don't have to use the bootcode at all!


Heh, it can get quite frustrating at times :p

Next Page...
original here.