LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   linux won't boot up cause of a comment I accidentally made (http://www.linuxquestions.org/questions/fedora-35/linux-wont-boot-up-cause-of-a-comment-i-accidentally-made-181097/)

linuxzouk 05-13-2004 10: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.
#si::sysinit:/etc/rc.d/rc.sysinit

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 11:14 AM

Knoppix.

sterrenkijker 05-13-2004 11:27 AM

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

linuxzouk 05-13-2004 11:35 AM

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 11:51 AM

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

sterrenkijker 05-14-2004 02: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-14-2004 11:49 PM

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 12: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 08:40 PM.