Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Use a rescue disk. Usually the first disk of any distro will do the trick. Type "linux rescue" at the prompt, and it will look for and mount your system under /mnt/sysimage. chroot /mnt/sysimage then use vim or whatever editor you like to edit inittab. Reboot and there you go.
Sounds like you need to play with your x configuration, but that's another story alltogether.
Have you tried doing a ctrl-alt-F1 while it was acting strange? It might drop you at a login:
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,744
Rep:
Quote:
Originally posted by sami ctrl-alt-f1 did nothing, the filckering just goes on
what to do now
Have you tried Ctrl-Alt-Del to reboot?
When the system is starting up, you should be able to enter Ctrl-X (if you're using `lilo' as the boot loader, anyway. Dunno about `grub'). This exits the graphical boot selection and drops you to the text console. Then enter the kernel label followed by `single'. Press Tab if you need to see a list of the bootable kernels. For example, I have two kernels: generic from the install and custom, so I'd see
boot: [Tab]
custom generic
boot: custom single [Enter]
The system will then startup in single user mode. It will mount filesystems but not start all the usual collection of services. You can then cd to /etc and edit inittab to change the default run level. I'm assuming that you're familiar enough with vi to make the needed change. When you're done, I normally just reboot using `sync ; sync ; reboot'.
try ctrl+alt+F2 (F2 ... F6 are OK) to login in text mode.
try press ESC when you're still at LILO (or GRUB) then
type linux 3 (the number of runlevel you want to use)
I'm brand new to the world of Linux
I was given a machine with Mandrake installed
but i wasn't given the username or password. Now how would
i bypass these screens and i doubt if i can. So the next step
would be to format the hard drive i have attempted as much but
am having problems using FDISK from a windows based system.
(don't know if that has any bearing) Is there a specific FDisk
program that has to be used with Linux?
you're probably better off installing a new installation of linux onto the same partition. Redhat offers the option of overwriting the linux partitons only (if you have non-linux partitions).
Thanks for your reply - the problem is that the linux machine is set up with a username and password which i don't know. The box was given to me and i was never told what the username or password was so now i'm trying to make use of the computer by formating the drive and reinstall an OS.
There are some ways to bypass password in Mandrake distro.
If you're using LILO as bootloader in graphic mode : press ESC at boot screen to get into text mode and type "linux single" (w/o the " ") or "linux 1". This will make linux enter single user mode which will allow user to enter root for maintenance without password (you won't be able to fo this in some distro like SuSE).
When you get your prompt type passwd at the prompt and enter a new password.
Otherwise try to boot from Linux CD and find out yourself the maintenance and fixing tools included with the distro (i believe it won't be too difficult).
Thanks for your reply that worked!!! I was able to set up an new password. UNFORTUNATELY once the new password is set up and i get the prompt it still requires a Username which i've also attempted to manipulate. I just can't get in. It definitely sets up a new password but when i enter it at the login screen it won't match anything. Any other ideas thanks...Jesse
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.