Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-25-2003, 09:50 AM
|
#1
|
|
Member
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65
Rep:
|
Which file loads at boot time?
How can I tell my linux to mount a hdd at boot? i mean when the hardware drivers are loaded and so on. like in modules.conf what is written in there is loaded at startup, but where do i have to write 'mount -w /dev/hdb2 /home' ? can anyone tell me? i've added the hard drive after installation. u know during the installation, the setup asks you as what to mount hda1... / and other, but on every boot i have to write the command to mount this second hdd. i hope u understand what im trying to explain. 
|
|
|
|
12-25-2003, 10:00 AM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Make an entry in your /etc/fstab file. Here is mine for an example:
Code:
# Duron 950 Red Hat 7.3 /etc/fstab file
/dev/hda7 / reiserfs defaults 1 1
/dev/hda3 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda9 /home reiserfs defaults 1 2
/dev/hda1 /mnt/win98 vfat defaults 0 0
/dev/hda2 /mnt/win2k ntfs defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb4 /pub ext3 defaults 1 2
#/dev/hda10 /snd reiserfs defaults 1 2
#/dev/hda6 /mnt/gentoo reiserfs defaults 1 2
#/dev/hda8 /mnt/mandrake ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting
|
|
|
|
12-25-2003, 10:12 AM
|
#3
|
|
Member
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65
Original Poster
Rep:
|
okay i'm adding some lines and will come back to you after reboot! what about if i want to run gdm at boot? how do i make it automatically run at startup?
|
|
|
|
12-25-2003, 10:25 AM
|
#4
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
I don't use a gui login manager as it is awkward to get out of if you have x troubles. I prefer to log in to a console and use "startx".
Your distro (not mentioned or in your profile) should have some way to configure gdm.
|
|
|
|
12-25-2003, 10:34 AM
|
#5
|
|
Member
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65
Original Poster
Rep:
|
i use the console startx way too, but i like graphics, and i'm gonna make my own cool them for gdm  my distro is slack 9.1. thanks for the thing with fstab!  i edited it and everything is perfect  merry christmas!
|
|
|
|
12-25-2003, 10:48 AM
|
#6
|
|
Member
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65
Original Poster
Rep:
|
so, there is gdmsetup.. and when i set everything up it will start at boot?
|
|
|
|
12-25-2003, 10:59 AM
|
#7
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
|
|
|
|
12-25-2003, 11:01 AM
|
#8
|
|
Member
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65
Original Poster
Rep:
|
thanks very much and i'm sorry for bothering everyone with silly things as this
|
|
|
|
12-25-2003, 11:43 AM
|
#9
|
|
Member
Registered: Dec 2003
Distribution: Gentoo
Posts: 66
Rep:
|
To boot graphically (directly into X)you need to change your default runlevel from 3 to 4. For that you need to edit your /etc/inittab file and change the line
id:3:initdefault:
to
id:4:initdefault:
To make sure gdm starts as default DM (instead of kdm or xdm) check /etc/rc.d/rc.4 to see if gdm is checked first
|
|
|
|
12-26-2003, 12:02 AM
|
#10
|
|
Member
Registered: Sep 2003
Location: lost in Eastern Kansas,USA
Distribution: FC3,Slackware ,ubuntu
Posts: 130
Rep:
|
Hey is there some thing like gdmsetup to KDE?I always use KDE and have already configured my rc.4 modules to directly get into KDE.however..the LILO is in Console mode and I want to put some graphics into it..How to do it?Has any one got any idea?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:11 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|