LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-25-2003, 09:50 AM   #1
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Rep: Reputation: 15
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.
 
Old 12-25-2003, 10:00 AM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
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
 
Old 12-25-2003, 10:12 AM   #3
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
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?
 
Old 12-25-2003, 10:25 AM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
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.
 
Old 12-25-2003, 10:34 AM   #5
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
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!
 
Old 12-25-2003, 10:48 AM   #6
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
so, there is gdmsetup.. and when i set everything up it will start at boot?
 
Old 12-25-2003, 10:59 AM   #7
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Here is the documentation: Gnome Display Manager Reference Manual
 
Old 12-25-2003, 11:01 AM   #8
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
thanks very much and i'm sorry for bothering everyone with silly things as this
 
Old 12-25-2003, 11:43 AM   #9
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
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
 
Old 12-26-2003, 12:02 AM   #10
ksd
Member
 
Registered: Sep 2003
Location: lost in Eastern Kansas,USA
Distribution: FC3,Slackware ,ubuntu
Posts: 130

Rep: Reputation: 15
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?
 
  


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
kmail loads one message at a time? barrythai Mandriva 1 04-21-2005 02:46 AM
boot time NTFS errors on ext2 file system adrianmariano Linux - Hardware 2 01-14-2005 06:38 PM
installed dropline, root loads kde3.2, user loads drop pgrimes Linux - Software 7 06-28-2004 06:11 PM
eth0 & wlan0 lag longer than usual at boot time loads lostlyre Linux - Wireless Networking 0 04-02-2004 02:09 PM
Swap File mounting at boot time sneakerski Arch 2 08-20-2003 09:28 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration