?
Solved

some more linux help

Posted on 2002-05-26
4
Medium Priority
?
184 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
[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
  • 2
  • 2
4 Comments
 

Author Comment

by:Bacardi_As
ID: 7035258
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 1500 total points
ID: 7035299
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
ID: 7035448
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
ID: 7035546
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

Independent Software Vendors: 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!

Question has a verified solution.

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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

650 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