LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2002, 01:22 AM   #1
yoink
LQ Newbie
 
Registered: Nov 2002
Location: Atlanta
Distribution: Redhat 7.3
Posts: 4

Rep: Reputation: 0
Executing Stuff as you boot up...


I run Redhat 7.3, and I was wondering how I can have some things automatically run on startup. Specifically these 2 commands:

mount -t ntfs /dev/hda1 /mnt/windows -o r

and

xscreensaver

Thanks a ton... ;]
 
Old 11-18-2002, 03:21 AM   #2
Blitzkrieg
LQ Newbie
 
Registered: Nov 2002
Distribution: RH8+SuSe8
Posts: 27

Rep: Reputation: 15
to mount your windows partition automatically when you boot, you must add a line to the file /etc/fstab

about the xscreensaver, i have no idea how to do it
 
Old 11-18-2002, 04:08 AM   #3
Pongo
LQ Newbie
 
Registered: Nov 2002
Location: Salford, UK
Distribution: Redhat 8.0
Posts: 14

Rep: Reputation: 0
Mounting the windows partition

Pardon me if i am wrong..

but it looks like you are trying to mount your windows ntfs drive/partition in linux everytime you boot linux;

http://linux-ntfs.sourceforge.net/info/redhat.html

use this and use the command:
mkdir /mnt/windows
mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
ls -l /mnt/windows

in the root shell, this will perminantly mount the partition to that directory...

if that is what you are trying to do?
 
Old 11-18-2002, 02:24 PM   #4
yoink
LQ Newbie
 
Registered: Nov 2002
Location: Atlanta
Distribution: Redhat 7.3
Posts: 4

Original Poster
Rep: Reputation: 0
Pongo:
Yah, thats exactly what I need to do. Perfect..
thanks

now can anyone help me start xscreensaver?
 
Old 11-18-2002, 04:09 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by yoink
now can anyone help me start xscreensaver?
You can either add it to your user's .xinitrc file or if you want it to start up for all users on the machine, add it to whatever runlevel script you start your machine up with in X....
 
Old 11-18-2002, 07:49 PM   #6
yoink
LQ Newbie
 
Registered: Nov 2002
Location: Atlanta
Distribution: Redhat 7.3
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks

Thank you everyone for the great help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-Executing Shell Script on boot benrose111488 Linux - Software 5 12-18-2004 01:52 AM
Making stuff run at boot onionkn1ght Linux - Newbie 6 09-27-2004 05:18 AM
fc2, duel boot, mbr, and other stuff ferreter Fedora 4 09-16-2004 01:53 PM
Dual Booting, Partitioning, Boot Loader, Misc Stuff Ninja Cow Linux - Newbie 7 05-09-2003 08:21 AM
Is there a file that contains all the stuff that scolls past during boot? rdaves@earthlink.net Linux - Newbie 4 08-20-2001 07:22 PM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration