1835259 Members
2229 Online
110078 Solutions
New Discussion

Re: installation problem

 
siumiao
New Member

installation problem

I have newly install the RH linux 8 , there are below problems

1. everytime the system reboot ,the console will go to the xwindows, how to disable it
2. I use the default partition , when run â dfâ only / , boot /dev/shm , as below , I have created the diectory at the root , like /home /usr /var /db , how to mount it so that this path also display when run â dfâ ?
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 14254454 3542514 10225412 12%
/dev/sda2 101107 9456 86430 10% /boot
none 1032556 0 1032556 0% /dev/shm

3.how to know and increase th
4 REPLIES 4
Alexander Chuzhoy
Honored Contributor

Re: installation problem

I could only understand the first question-
The answer is edit the file /etc/inittab
locate the line
id:5:initdefault
and replace 5 with 3 so the line will look
id:3:initdefault
save your change and reboot.The X won't start.


What do you want to mount?
Jeroen Peereboom
Honored Contributor

Re: installation problem

1. You have to change your default runlevel.
Check /etc/inittab for an 'initdefault' entry.

2.Check /etc/fstab for mounting filesystems.
You must have created other partitions (sda3? sda4?; swap partitions are not mounted). Your question contains strange characters....

3. Increase the filesystem size? That's almost impossible. If you have more unused diskspace, you may create a new partition, mount it, copy all files from old to new partition, remove old partition, unmount new partition, mount new partition on original mountpoint. If it's a new installation, start new installation.

JP
Mark Grant
Honored Contributor

Re: installation problem

Well, I go for question three as the others seem to be catered for above.

You can increase filesystems. There are tools for several of the linux filesystems to do this. For example the reiser filesystem comes with "resize_reiserfs" for resizing and ext2 has "resize2fs". Have a look at this link.

http://www.tldp.org/HOWTO/Filesystems-HOWTO-6.html

However, the problem comes with what are you going to resize your filesystem across. If it already fills a partition, you could have a problem. The best solution to this problem is to use logical volume management which you can get here

http://www.sistina.com/products_lvm.htm

This allows you to stick partitions or whole disks together and make it look like one partition to your filesystem. With this system extending a filesystem is a breeze.
Never preceed any demonstration with anything more predictive than "watch this"
Amit Dixit_2
Regular Advisor

Re: installation problem

Hi,
Please make the enty in /etc/inittab file
The default runlevel you have selected
while installing Linux is Graphic Mode
which is "5" change this rulevel to 3
which is start the O.S. with all the
service running except the X daemon will
not start.

Please mention clearly which filesystem
your want to mount and do you want
to mount then autmatically everytime
when the system is booted.

Thanks,
Amit