LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   No clue how to start up computer (https://www.linuxquestions.org/questions/linux-general-1/no-clue-how-to-start-up-computer-564601/)

clueless_questioner 06-26-2007 10:01 AM

No clue how to start up computer
 
I have an old computer that had linux, but when i went to use it it needed a root login and password i tried to figure it out for about twenty minutes but couldn't so i decided i would try to use a boot disk. I found a floppy that said linux boot disk on it, but then i followed the insturctions. I put in one of my linux cd's and continued but then it asked me questions i had no clue about like is the cd you have in SCIC cd or something I have a but load of cd's and floppies with info on them but i have no clue what to do. PLZ HELP:cry:

Wp2 06-26-2007 10:28 AM

Are you able to run a livecd on the old puter? Check out what is written in /boot/grub/menu.lst for the boot options on the mounted hard drive. Then with one of the floppies when you reboot press 'escape' and then 'e' to modify the entry of the floppy. Assuming it's a grub boot loader. Good luck.

Linville79 06-26-2007 11:40 AM

Is that computer using Grub as it's bootloader? What distro is it?

You can add a kernel option to boot in to single user mode and then change root's password there and then log in.

When you see the Grub screen, press a key to stop the timer, then highlight the desired installation/kernel and press "e" to modify that entry(as stated in the on-screen instructions). On the line that begins with "kernel" you'll scroll to the end and simply add a "-S" to it and then boot from that same installation/kernel.

You're line might look something like this after the edit:

kernel /vmlinuz-2.6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet -S

You'll be dropped in to a single user shell, where you can change the password for root using:
> passwd root

After you've changed that password, reboot the machine and remove the "-S" that was added before. You should be able to log in as root with the new password.

sundialsvcs 06-26-2007 07:08 PM

For situations like that, I have a "rescue CD" running the Knoppix distribution ... which is a complete Linux distro that runs entirely on a CD-ROM.

When my computer was in perfectly good working order, I booted up Knoppix and took the time to really learn how to use it. It has proved to be priceless, not only for debugging botched Linux installs, but for botched Windows installs too!

On another computer, go to the Knoppix web-site, grab a CD-image and burn it to a CD. Boot that CD. This will eventually take you to a functional Linux installation that is not dependent on whatever your hard-drive contains; "borked" or not, Linux or not.


All times are GMT -5. The time now is 06:18 PM.