LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-03-2006, 07:50 AM   #1
warp88
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
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?
 
Old 07-03-2006, 08:18 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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.
 
Old 07-03-2006, 08:24 AM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
on boot pass cmdline to kernel:
init=/bin/sh
edit /etc/inittab, so initdefault is 3 (not 5)
/sbin/shutdown -r now
 
Old 07-03-2006, 09:31 AM   #4
warp88
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
Old 07-03-2006, 09:34 AM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't boot linux CD on clamshell iBook CoolAJ86 Linux - General 19 10-21-2008 10:35 AM
boot freezes SomeGuy1337 Fedora 10 08-30-2005 06:07 AM
10.2 freezes on boot Grobbendonk Mandriva 1 05-10-2005 05:27 PM
2.6.8 freezes for a while on boot hipikll Mandriva 6 02-09-2005 05:56 PM
fedora core 2 (FC2) freezes while running. Cannot boot into KDE it freezes mraswan Fedora 0 05-25-2004 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration