[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Linux noob crashes his X...

Posted on 2004-04-08
8
Medium Priority
?
249 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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 …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

656 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