?
Solved

Linux noob crashes his X...

Posted on 2004-04-08
8
Medium Priority
?
248 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
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 
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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 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