Solved

some more linux help

Posted on 2002-05-26
4
174 Views
Last Modified: 2012-05-04
After having some password trouble, now I can't get in my GUI only shell.
How do I get there from the shell?
0
Comment
Question by:Bacardi_As
  • 2
  • 2
4 Comments
 

Author Comment

by:Bacardi_As
Comment Utility
Or how can I format my drive without linux, I think it's impossible but anyway, how?

And does it comes that linux won't react on a boot disk that's in my drive when it boots?

Please help me, I'm going cazy.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
You can get to a console while the GUI login screen is up by going to one of the alternate console screens with ctrl-alt-F2. From what you've described it sounds like your record in the passwd file may have an incorrect entry for your home directory. If that (the next to the last field in the record) is wrong you can login via a console but a GUI login won't work as it can't find your home dir.

By your second comment are you asking how to completely remove Linux from a system? All that's really necessary to do that is to use a DOS 'fdisk /mbr'. That removes the Linux bootloader and you can then install whatever you want.

Assuming that the Linux boot floopy is good and will at least attempt a boot on some other system, you should look at the system BIOS and see what the boot device order is. To boot from a floppy the floppy drive must be before the hard disk in the boot sequence.
0
 

Author Comment

by:Bacardi_As
Comment Utility
It might just be me but when I type 'fdisk/mbr'
it says: 'bash: fdisk/mbr: no such file or directory

btw I'm using Redhat Linux 7.3 Valhalla

The tip for boot sequence worked sequence was first hd then floppy, so maybe it's solved when I've got a good boot disk again. It seems that linux did not create a good one during install.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The DOS command that I'm referring to is really a DOS command, like when you use a MSDOC, win95, or win98 system to create a bootable diskette that contains the DOS fdisk utility. Presumably you'd only be using that to wipe Linux from a disk so that you can install a MicroSoft OS.

You can make a Linux boot disk by executing 'mkbootdisk 2.4.18-3' as root. You have to specify the kernel version and you can easily see that by doing 'ls /boot'.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now