LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   How do I initialize things on boot-up (https://www.linuxquestions.org/questions/puppy-71/how-do-i-initialize-things-on-boot-up-480783/)

jank4321 09-05-2006 10:02 PM

How do I initialize things on boot-up
 
Hi, Folks:

I'm using the PUPPY+Enhanced Machine Controller live CD as a start. My primary purpose in working with this OS is to run EMC to drive a CNC Sherline milling machine.

I'm using a Sony PCG-F430 notebook computer with 192 Mbytes of memory. I've created a FAT-32 partition (first partition) and a Linux EXT2 partition (second partition) on the hard drive. (BTW, the hard drive is 40 GBytes - not the 6 GBytes that originally came with the machine).

I'm at the point where I've loaded and initialized GRUB to boot either Windows 98 (first partition) or Puppy (second partition). It all comes up and seems to work.

Here's where I'm having some difficulties:

1. I'd like to have PUPPY mount the first partition of my hard drive and also at least check whether or not I've got a USB thumb drive. Note that, I can manually mount both the first partition and hard drive.

2. I'd like some way of setting up several aliases whenever I execute the console application (a windowing application)

I'm guessing that there's a configuration file somewhere that will allow me to set up these preferences. I'd appreciate knowing where it is located and how to change it to add the features that I'd like.

thanks,

Jerry

baikonur 09-06-2006 01:40 AM

Quote:

1. I'd like to have PUPPY mount the first partition
Edit your /etc/fstab.
Read the manpage to learn how you do it.
Code:

man fstab
Quote:

2. I'd like some way of setting up several aliases whenever I execute the console application (a windowing application)
Not sure what you mean. Do you want to type xxx and a certain application starts up? You'll have to edit your .bashrc/.bash_profile
Code:

alias name=command

jank4321 09-06-2006 08:15 AM

Exactly the help I was looking for. Thanks much! I can take it from there.

-- Jerry

Quote:

Originally Posted by baikonur
Edit your /etc/fstab.
Read the manpage to learn how you do it.
Code:

man fstab
Not sure what you mean. Do you want to type xxx and a certain application starts up? You'll have to edit your .bashrc/.bash_profile
Code:

alias name=command



All times are GMT -5. The time now is 03:56 AM.