Solved

Linux noob crashes his X...

Posted on 2004-04-08
8
245 Views
Last Modified: 2010-04-20
I have a Redhat 9 VMware install, when I tried to add more disk space I can no longer startx.  It tries to load the login screen but then crashes back to command, over and over.  I didn't see a way to increase the size of the existing virtual disk (would like to know if possible) so I tried adding a second virtual disk.  What do I need to do now?  I'm just learning, step by step would be much appreciated, thanks.
0
Comment
Question by:Popeyediceclay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10788979
What, exactly, did you do in the process of adding a second virtual disk?
0
 
LVL 3

Author Comment

by:Popeyediceclay
ID: 10790950
Just that, from VMware all I had to do was pick a size and make it available.  I figured once I booted it up i would be able to format it and mount it.  The problem with X-Windows turned out to be a disply issue, I reinstalled the tools and now it's fine.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10791140
Right, just adding a virutal disk to VMware wouldn't have anything to do with the X problem. I was concerned that you might have already mounted the disk on Linux and moved some stuff to it, which if not done properly has the potential to mess up X if the move affects /tmp. /usr, or /home.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 3

Author Comment

by:Popeyediceclay
ID: 10791407
So what do I do with the disk now?  I imagine I need to mount and format sdb to some directory in the root?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10791598
At the moment it is just a raw disk as far as Linux is concerned. You'll need to use fdisk to create one or more partitions on the disk, and then use mke2fs to create a file system on the new partition(s). When that's complete you create a mount point (mkdir /mount-point) and mount it.
0
 
LVL 3

Author Comment

by:Popeyediceclay
ID: 10793564
Cool, I got it.  Lastly, can I make Redhat automount this at startup?  I added this line to fstab:

/dev/sdb                     /data

Will that work or did I just set it up to crash?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 10793653
That entry isn't complete and should look like:

/dev/sdb1           /data          ext3   defaults     1 2

assuming that you've made an ext3 file system on the first partition.
0
 
LVL 3

Author Comment

by:Popeyediceclay
ID: 10793673
I assume I made it ext3 too :) , thanks
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question