• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

some more linux help

After having some password trouble, now I can't get in my GUI only shell.
How do I get there from the shell?
0
Bacardi_As
Asked:
Bacardi_As
  • 2
  • 2
1 Solution
 
Bacardi_AsAuthor Commented:
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
 
jlevieCommented:
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
 
Bacardi_AsAuthor Commented:
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
 
jlevieCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now