Solved

some more linux help

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php56-php-mcrypt for rhel7 php56 1 157
Can't connect to FTP 18 148
IMAP copying tool 14 70
Krita v3 Linux Mint/Ubuntu 16.04 9 66
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…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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