LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2003, 06:48 PM   #1
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Rep: Reputation: 15
In search of a real (partitioning) GURU


I have what seems to me a rather strange problem: a Linux system that acts like Windows.

I have two harddrives: one dedicated to RH9 Linux, and the other to Windows 2000. I decided today that my win2k partition, which had until that point been a monolithic 80GB on my primary harddrive, needed to be shrunk down a bit. So I did. I booted Windows, ran Partition Magic, and trimmed about 50GB from it.

That's when things began to get weird.

I rebooted my computer back into windows to let it reset itself and whatnot - it did its thing, and everything seemed to go without a hitch. So, naturally, I shut that bitch down and rebooted back to Linux. It got all the way to the (graphical) login screen before things took a turn for the worst. I entered my screen name and password, hit enter, and immediately an error message appeared saying something to the effect: "your x-session lasted less than 10 seconds; this may be due to lack of disk space..." etc (if anyone is interested in this problem and needs that message verbatim, I'll get it). It suggested that I log on in failsafe mode, so I did. I checked all my partitions - the files are all right where I left them, and are perfectly accessible.

So, I log out, and try to log on, this time expressly saying I want to log into my GNOME desktop (that's the default). It loads, if you can call it that; the display is way funky, reminiscent of the times that I've had my windows desktop set to a resolution it didn't like. In addition, big red X's start popping up on my desktop - they look like retarded error messages (try to imagine Sean Penn in "I Am Sam" saying - passionately - "something's wrong!" but having no idea how to articulate it). The little GNOME-ish foot is visible in the upper left of the screen, which I click, but only to be greeted by more truncated offerings. So I hit the restart button.

You may now be asking how it is that I'm writing this very, very long message, if my standard desktop is the total wasteland I say it is. Well, that's the really odd thing: I'm in KDE space now. For some strange, unfathomable reason, my computer will now boot - intelligibly - just into KDE, and not GNOME. It still isn't an entirely clean boot, however: two error messages appear each time I logon. One mentions a problem with the rhn, which I couldn't care less about, since there's no way in hell I'd ever pay for a service I can do myself with a bit more effort, and the other... well, I actually forgot what the other was :-/.

There was also a mention, when trying to log onto my "last session" of an error log entitled .xsession-errors which was, upon further investigation, entirely empty.

At any rate, and without any pretensions of making a long story short, is there ANYONE out there who has ANY idea how to go about getting my old GNOME desktop back? The only option I can now imagine is a windows-inspired one: reinstall my OS, and hope for the best.
 
Old 08-08-2003, 07:07 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
If I understand you correctly you had two hard disks, each with a single partition. You changed the partition size of one disk from 80GB to 30GB. Then you began having problems with the other drive. Do I understand you correctly?

Also, what did you do with the 50GB you freed up?

Perhaps you could post your /etc/fstab for both before and after the partition change.

Last edited by jailbait; 08-08-2003 at 07:08 PM.
 
Old 08-08-2003, 07:19 PM   #3
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/win2k ntfs auto,ro,umask=002 0 0
/dev/hdb5 /multimedia ext3 defaults 1 1
/dev/hdb6 /stuff ext3 defaults 1 1
I haven't changed the fstab since before my last partition.

To clarify: I have 2 hdd's, yes, each with a total size of 80GB. On my primary hdd was my win2k partition, which I resized from 80-30GB (it is the one mounted on /mnt/win2k) - I have yet to do anything with the 50GB of free space.

On my secondary ("slave") hdd are 6 partitions: 3 primary (boot, root, and swap), and an extended that holds 2 logical partitions (/multimedia, and /stuff). /multimedia and /stuff each hold information that had recently been transferred from my /mnt/win2k partition, in anticipation of reducing that partition's size. All those files are still readable.
 
Old 08-08-2003, 07:40 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
did you defrag your 80GB drive b4 you repartitioned it? i don't know how repartitioning would affect your slave drive, but i wonder are you booting with Grub/LILO from the windows MBR?
 
Old 08-08-2003, 07:54 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Is it possible that the / partition was damaged when you created /multimedia, and /stuff? That seems much more likely than / being damaged when you changed /dev/hda1.

Also did you change your bootloader and part of your bootloader resides on /dev/hdb? If so, it is possible that an error in setting up your bootloader overwrote part of the /dev/hdb partition table.

Last edited by jailbait; 08-08-2003 at 07:57 PM.
 
Old 08-09-2003, 12:37 AM   #6
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
In order:

I did not defrag my primary hdd (/dev/hda) before this last partition *shakes head in embarrassment*, but I did defrag it within this past 2-3 weeks, so it ought to have been more or less ok in that regard.

I use GRUB - it's on my slave drive, right at the beginning, where the Red Hat install prog put it.

/multimedia was created several days ago, and my computer has been through a number of reboots since.

/stuff was indeed created the same day that the fateful repartitioning took place - however, I did reboot afterward, to make sure my /etc/fstab entry worked properly, and it did.

I've not adjusted my bootloader in anyway since I installed Red Hat a month ago. As I mentioned earlier, my /boot partition is on /dev/hdb - although I admit ignorance as to how precisely that works.


I do wonder if Partition Magic, the prog I used to resize my win2k partition, updated my partition table in some indefinable way; when I loaded the program in windows, it initially sent an error message saying that two values which were supposed to be in sync, regarding my Linux partitions, were not, and it could change them... being a windows prog, however, I chose not to let it do that - my mistake to use it to do anything at all, apparently.

I do want to reiterate, though, that, as odd as it sounds, all my files are still accessible, provided I access them through a KDE desktop. Somehow, whatever I did has only caused problems loading my default, GNOME desktop - although it may be that I'll discover more and deeper problems soon. I happen to be at my mother's house for the weekend however, without direct access to my computer, so I won't be able to test it as I might otherwise like to.

Are there any config files I might want to look at? Is there a way to check the stability of the bootloader? Do I even have any idea of what the right questions are to ask...?
 
Old 08-09-2003, 02:30 AM   #7
yeateg
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane, Queensland
Distribution: SuSe 8.2
Posts: 9

Rep: Reputation: 0
I had a similar experience. I've no idea what caused it, but I could get into KDE perfectly, but not Gnome. To correct it, after tearing my hair out for a few hours, was to create another "dummy" user. Logged in to that "user", made sure I could access Gnome, and then checked the .config files at the "dummy" home, copying them to a floppy.

I then booted into my real user (in KDE which still worked after a fashion), opened the floppy and compared the various config files. Somewhere along the way, my PATH in .profile had been altered, and a few other files.

I restored them to what was in the "dummy" users home, rebooted, and I got Gnome and my original PATH back.

Now this was a weird way to fix things, and did not address the real problem of why I had lost Gnome etc. But everything is working again.
 
Old 08-09-2003, 05:29 AM   #8
malcidragon
Member
 
Registered: Feb 2002
Location: Leeds UK
Distribution: Fedora Core 3
Posts: 67

Rep: Reputation: 15
What have you got from /var/log/messages?
 
Old 08-09-2003, 09:06 AM   #9
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
yeateg, that sounds like it's worth a shot - could you tell me what config files I should be looking for? Every day it seems like I discover a next configurable text file, and always feel like there's more I don't know.
 
Old 08-09-2003, 11:12 AM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
One way to fix gnome is to reinitialize it. You delete the directory /home/user/gnome. Then the next time you log into gnome it acts like it is the first login after an install. gnome creates a new gnome configurtion with all of the default settings. The disadvantage of this is that you lose all of your old settings and have to reconfigure the default gnome settings to your preference.

You could check out .gnome from within KDE. Compare the /home/user/.gnome tree with the /root/.gnome tree.
 
Old 08-10-2003, 10:17 PM   #11
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Well. In the end - and a good thing I hadn't started drinking yet, for I was about to reinstall RH9 entirely - all I ended up having to do was create a new user, and login from there. I tried several previous suggestions, including deleting my home directory so it would reinitialize *shudder* - thank god I backed that up first - but nothing else worked.

Onto a more esoteric question: why the hell would repartitioning my primary hdd have the negative effect - and the sole negative effect, thus far - of preventing me from logging on as what had been my default user? I could logon as root, I could log on to KDE, I could do the "failsafe" logon right to bash - but, I couldn't log on as my default. *shakes head slowly* ....
 
Old 08-10-2003, 10:39 PM   #12
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" tried several previous suggestions, including deleting my home directory so it would reinitialize *shudder* - thank god I backed that up first - but nothing else worked."

I didn't suggest that you delete your home directory. I suggested that you delete the directory named /home/user/.gnome.

Actually creating a new user has the same effect only with more work on your part.
 
Old 08-10-2003, 11:11 PM   #13
teyesahr
Member
 
Registered: Jul 2003
Location: Lancaster, Pa
Distribution: Red Hat 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Ah, well *scratches head*... good point.

It actually wasn't all that much extra effort, but I appreciate your advice, nonetheless. I'll buy you a beer if you're ever in Lancaster.
 
Old 08-11-2003, 12:48 PM   #14
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I'll buy you a beer if you're ever in Lancaster."

Sure
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS-Problem - search for NIS-Guru or SuSE Profesional krischeu MEPIS 0 06-16-2005 07:21 AM
Real Plyer...hehe ;) Giving me Real Problems.. Azzath Linux - Software 0 02-14-2005 08:56 AM
Quick VIM question (unhighlighting search terms after search) lrt2003 Linux - Newbie 5 05-08-2004 05:21 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
Real Programmers Real People Real CS Students nakkaya General 5 07-04-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration