On Fri, Nov 05, 2004 at 10:54:31PM -0700, Dave Taylor wrote: > > I have a tri-boot system set up on my PowerBook G4, Mac OS X, Yellow Dog and > Ubuntu, and am wondering if there's a way to configure yaboot to let me > choose between any of the three at boot time? I'm much more familiar with > lilo and grub, which allow you to have oodles of different operating systems > on a single box, as desired. yaboot can handle multple GNU/Linux installations fine. its multiple macos which is not supported (beyond 1 OS9 and 1 OSX). > Here's my current YDL configuration file: > > ------------------------ > # yaboot.conf generated by anaconda > > boot=/dev/hda6 > init-message="Welcome to Yellow Dog Linux! Hit <TAB> for boot options." > partition=2 move partition=2 to your ydl image section. > timeout=30 > install=/usr/lib/yaboot/yaboot > magicboot=/usr/lib/yaboot/ofboot > delay=20 > enablecdboot > macosx=/dev/hda8 > > defaultos=macosx > > image=/boot/vmlinux-2.6.8-1.ydl.7 > label=linux > read-only > initrd=/boot/initrd-2.6.8-1.ydl.7.img > root=/dev/hda2 > append="rhgb quiet" > ---------------- > > What I'd like to do is add another block so that I can have the choice of > also booting into Ubuntu, which is installed in partition 9. Here's what I > saw in the Ubuntu yaboot.conf file: > > ---------------- > device=/pci@f400000000/ata-6@d/disk@0: > partition=9 > root=/dev/hda9 > > image=/boot/vmlinux > label=linux > read-only > initrd=/boot/initrd.img > ----------------- so add another image section to your ydl config (or vise versa). image=/boot/vmlinux partition=9 root=/dev/hda9 label=ubuntu read-only initrd=/boot/initrd.img > Can anyone tell me how to integrate this into the yaboot configuration file > if it's even possible? If not, is there a different boot loader that is > more like lilo or grub that will work on a PowerPC system? see above. when you press tab at the yaboot boot prompt you will see two labels, type in the one you want. it works just like lilo. you will not see more then one linux entry in the boot menu, the linux entry there merely runs yaboot, nothing more. you choose among linux installs via the yaboot prompt. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp00000.pgp
Description: PGP signature