Solved

Linux noob crashes his X...

Posted on 2004-04-08
8
243 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 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