LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-22-2008, 05:38 PM   #1
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Rep: Reputation: 15
Lost Linux access on my PowerBook G4


Although I already had Ubuntu 8.04 running pretty well on my PowerBook G4/1.33 Al, I decided to get fancy and install a second Linux. I made some free space available and installed Yellow Dog 6.0. It loaded all right except for no AirPort, but access to Ubuntu was lost from the bootloader (yaboot). I'm a Linux newbe, but I experimented, trying to paste in what I thought were the right commands in yaboot.conf, with no success. Finally, I erased the YDL and put the new openSUSE 11 on instead. While this version is pretty slick, I not only lost access to Ubuntu from the yaboot options one gets at startup, but also to MacOSX. I played with it further, trying to add Ubuntu and MacOSX back to the yaboot menu, but the commands I added to yaboot.conf didn't produce the desired result. I still had MacOSX access, but through open firmware or starting up with the option key. Finally, I screwed everything up with some command I entered in the yaboot.conf file, and now I can't even access openSUSE. The command resulted in some error shown at bootup, and I had no way to access any Linux to fix it. I'm away from home this week and I need the PowerBook, so I changed the startup disk in OSX, knowing this act would completely remove the yaboot menu from startup access. I assume I can do something about this when I get home and have access to the Ubuntu/openSUSE install disks, but is there anything I can do without them to get access to the yaboot menu from MacOSX (Leopard) and remove the faulty command?
 
Old 06-23-2008, 08:27 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Please please please write in paragraphs - it makes it so much easier to read your posts.

OK - you have a Mac - PowerBook G4/1.33 Al - and you want to multi-boot.
Howto customizo YaBoot

This bit seems to be the crux of the question:
Quote:
I assume I can do something about this when I get home and have access to the Ubuntu/openSUSE install disks, but is there anything I can do without them to get access to the yaboot menu from MacOSX (Leopard) and remove the faulty command?
Shure - access the partition and edit yaboot.conf with a text editor. Though you'll need to add it yaboot again - and I don't know if you can do that from OSX.
 
Old 06-23-2008, 11:41 AM   #3
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
You can download, burn and execute a Live CD ( http://sourceforge.net/project/downl...o.bz2&86728941 ) and then reinstall the boot loader (not the system). If you install a GRUB boot loader (I don't know if it's possible for Mac), it will auto detect your systems.
 
Old 06-23-2008, 05:11 PM   #4
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Original Poster
Rep: Reputation: 15
Thanks for both of your answers. Simon, I apologize for that run-on paragraph post, except I could swear that I put it into paragraphs. At any rate, thanks for wading through it.

I hadn't thought about the problem of putting yaboot back because I didn't know that what I did destroyed it. I thought I just disabled it somehow.

emi_ramo, I am downloading the file you pointed me to as I type this. I'll just need to find a shop where I can buy a CD to burn. What you said about Grub is interesting - it will autodetect all Linuxes and make a bootloader that will access them automatically? That would be rather useful! Anyone know if this works on a Mac?

Am I correct to assume that even if the yaboot bootloader is resurrected with the Ubuntu disk I'm downloading, I'll still have to find a way to add access to openSUSE on it if I want both systems to boot (as well as the Mac)?
 
Old 06-28-2008, 01:10 AM   #5
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 16.04, Unity & Gnome-shell
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by emi_ramo View Post
You can download, burn and execute a Live CD ( http://sourceforge.net/project/downl...o.bz2&86728941 ) and then reinstall the boot loader (not the system). If you install a GRUB boot loader (I don't know if it's possible for Mac), it will auto detect your systems.
I tried this with the Ubuntu Live CD for the PPC, but it just goes into installation mode and there was no obvious way to get it to reinstall the bootloader. From what I can tell, the partition for the bootloader is still there, but the PowerBook doesn't recognize it at startup.

Someone in another forum suggested a utility called TestDisk. I read the instructions on TestDisk, and this looks like it might work. BUT, it suggests for my problem that I use pdisk to initialize the disk, and that doesn't sound right. In Mac language, initialize means destroy everything on it. Does it mean something else in Linux?

Last edited by trentfox; 06-28-2008 at 01:22 AM.
 
Old 06-28-2008, 04:57 AM   #6
emi_ramo
Member
 
Registered: Apr 2007
Location: Barcelona, Spain
Distribution: Debian, KUbuntu
Posts: 213

Rep: Reputation: 36
Quote:
I tried this with the Ubuntu Live CD for the PPC, but it just goes into installation mode and there was no obvious way to get it to reinstall the bootloader.
If you want to reinstall bootloader, you must execute it for your self. As I tell before, I don't know if GRUB will do the job for your Mac. There is an special boot loader recovery disk. Try it:

http://www.supergrubdisk.org
 
  


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
powerbook g4...should I go linux? riccisit Linux - General 5 09-10-2007 02:23 PM
Linux on PowerBook G4 bobowaimg Linux - Laptop and Netbook 4 06-09-2006 02:55 AM
Linux or Powerbook? inimino Linux - Laptop and Netbook 6 09-24-2004 08:28 AM
linux powerbook chrislee8 Linux - Laptop and Netbook 2 07-21-2004 10:06 AM
Lost Linux access when I installed XP stickben Linux - Software 2 08-25-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

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