Solved

some more linux help

Posted on 2002-05-26
4
175 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
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

863 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

23 Experts available now in Live!

Get 1:1 Help Now