-   Fedora (
-   -   linux won't boot up cause of a comment I accidentally made (

linuxzouk 05-13-2004 11:58 AM

linux won't boot up cause of a comment I accidentally made
I'm using Gnome, Fedora Core 1.

At /etc/inittab, I accidentally commented

# System initialization.

The next thing i know after a reboot is, that it hang after find new hardware! How do I change it back?

Ed-MtnBiker 05-13-2004 12:14 PM


sterrenkijker 05-13-2004 12:27 PM

or damnsmall linux, is a bit less work to download :), and works way faster!

linuxzouk 05-13-2004 12:35 PM

actually i recovered it using knoppix.

i was just wondering without using any 3rd party OS, is there any command to recover it.

anyway thanks :)

LuggerHouse 05-13-2004 12:51 PM

You could have use the 1st cd of your distro to get into rescue mode Faster than Knowpix download :Pengy:

sterrenkijker 05-14-2004 03:54 PM

quite hard to do anything in your linux if it doesn't boot. You could have tried booting in single-user-mode, but I don't think it would have helped.

linuxzouk 05-15-2004 12:49 AM

wow! the solution is so easy. just put in fedora core 1 cd 1.

type "linux rescue"
follow the instructions
at the command prompt type "chroot /mnt/sysimage"

there! you'll get root permission without any password prompted and can modify, copy, delete anything you want.

i think i better set my bios boot sequence to hard drive 1st else anyone with a fedora core 1 cd 1 can boot into my system and do anything :(

Ed-MtnBiker 05-15-2004 01:24 AM

"if you don't have physical security, you don't have any security...."

or something like that....

All times are GMT -5. The time now is 10:00 AM.