LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ibook freezes during boot up (https://www.linuxquestions.org/questions/linux-newbie-8/ibook-freezes-during-boot-up-460559/)

warp88 07-03-2006 07:50 AM

Ibook freezes during boot up
 
Hi
Because I changed my XF86Config file (incorrectly) my Ibook g4 freezes after starting gdm. How can I prevent Linux from starting the Xserver and replace my config file?

masonm 07-03-2006 08:18 AM

What distro are you using? What changes did you make? Provide details if you want answers.

You can edit your /etc/inittab file and select to boot into the console runlevel, usually 3 on many distros (the comments in the file should indicate which runlevel for sure).

Boot into console, and make whatever changes you need. Hopefully you were smart enough to make a backup of the config file you borked.

raskin 07-03-2006 08:24 AM

on boot pass cmdline to kernel:
init=/bin/sh
edit /etc/inittab, so initdefault is 3 (not 5)
/sbin/shutdown -r now

warp88 07-03-2006 09:31 AM

I use Debian and the yaboot bootloader

@raskin: It only says: No such file ...

I could just use a live-cd, mount the hd, then replace the config file with my backup and normally reboot, couldn't I?

raskin 07-03-2006 09:34 AM

Ah, you have live-cd? Surely you can use backup. Most probably it will help.


All times are GMT -5. The time now is 05:53 PM.