LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2006, 05:46 PM   #1
RavenOfOdin
Member
 
Registered: Feb 2006
Location: Arkansas, C.S.A
Distribution: Ubuntu 6.06 LTS, PC / Debian Etch 2.6.16.17 PPC
Posts: 60

Rep: Reputation: 15
Need Yaboot (re)installation help, Sarge-2.6.8-3-powerpc, OpenFirmware.


Last night, while upgrading to the 2.6.17 kernel - that kept failing at every step you could think of, such as e1000 drivers and package build for vmlinuz - I left it alone to try compiling one last time and went to sleep. At 4 AM, when I woke up to get a glass of water, I noticed the build went nuts again and turned the computer off as it was sitting at the root prompt.

It seems I screwed up Yaboot before that . . .now that I remember, it was upon trying to install Splashy. Now Yaboot is giving me "Config file read error, 674 bytes. Syntax error at line 18 in \\yaboot.conf."

I can't get into Linux and no usable boot devices show. Not "Linux", not "old."

I've tried checking on the Debian install CD to reinstall Yaboot, but that wants me to partition the drive which will destroy my data and subsequently everything I managed to take from one OS install to the other.

OpenFirmware isn't responding all that well to commands such as "boot hd:4,\boot\initrd.img" which is what I'd think would get me to a point directly before the system boots up in a usable state.

I can't find any way to alter yaboot.conf from either OpenFirmware or the Debian installer shell, or I would have done it a while ago.

Is there any way I can fix the bootloader without having to reinstall the entire system?

(EDIT: I have an Ubuntu Live CD but mounting the main Debian partition with "sudo mount -t ext3 /dev/hda4 /mnt" and then changing the yaboot file to reflect an earlier state, since I backed it up before changing for Splashy, didn't work. The rescue-powerpc option hasn't worked for yaboot.conf either.)

(EDIT 2: Mounting /proc and /usr through the rescue function and then running ybin hasn't worked.)

(EDIT 3: Got it. Also had to remove Splashy via dpkg --purge before it would let me back in KDE.)

Last edited by RavenOfOdin; 07-28-2006 at 11:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.06 -> Debian Sarge, using debootstrap on PowerPC (iMac G3) RavenOfOdin Debian 5 07-22-2006 05:26 PM
LXer: Tiny OpenFirmware-based PowerPC system updated LXer Syndicated Linux News 0 04-18-2006 07:21 AM
Installation trouble on PowerPC (yaboot and partition issues) jhaiduce Ubuntu 2 04-03-2006 05:01 PM
debian-sarge-netinst.iso (powerpc) sebyte Debian 9 10-06-2004 01:43 PM
Debian Sarge PowerPC can't find module for harddrive GT3NE1 Linux - Hardware 0 10-04-2004 12:05 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration