Change the boot configuration
Support knowledgebase (ubrueck_bootconfig)
Applies to
SuSE Linux PowerPC: Version 7.1
Request
You have installed Linux successfully and edited the file /etc/lilo.conf
as described in the manual, page 90.
Linux will be started automatically during the boot process. You can start MacOS when you press
the space bar while booting.
You want to exchange the boot order.
Procedure
Under MacOS select the Linux Boot Volume as "Startup Volume" (if you haven't already set this option).
Boot into Linux.
- Open a Terminal.
- When you are logged in as user, type
su -
(enter) and then your root password.
- With the command
pdisk -l
you can find out the partition number
of your linux boot partition and your MacOS partition.
- Mount your linux boot partition:
mount -t hfs /dev/hdaX /macos
(replace X with the number of your linux-boot-partition)
- Change into the folder /suseboot:
cd /macos/suseboot
Here you'll find the file: "Mac OS Rom".
- Open it with an editor of your choice. I recommend the editor "pico".
pico "Mac OS Rom"
(don't forget the quotationmarks)
(Be aware that you have opened the Mac OS ROM from the suseboot folder and
not the Mac OS ROM from your Mac OS.)
- Exchange the following both lines :
"Booting MacOS ..." cr "boot ultra0:8,\\:tbxi" eval
"Booting Yaboot ..." cr "boot ultra0:9,\\:yaboot" eval
After the exchange the lines appear as follows:
"get-key-map" " keyboard" open-dev $call-method
dup 20 dump
5 + c@ 08 = if
"Booting Yaboot ..." cr "boot ultra0:9,\\:yaboot" eval
else
"Booting MacOS ..." cr "boot ultra0:8,\\:tbxi" eval
then
Adapt the number 8 and 9 in the line "boot ultra0:9, and "boot ultra0:8,
to the numbers of your MacOS and linux boot partition.
- With CTRL+X you'll leave the editor,
- Answer the question "save modified
buffer with Yes -Y-
- Confirm the request "file name to
write" with -enter-.
- Change with
cd
into your root directory
- Unmount the directory with
umount /macos
.
From now on your Mac OS should boot per default and when
you press the space bar Linux will start.
Keywords: PPC, POWERPC, APPLE, BOOT
Categories:
Power PC
SDB-ubrueck_bootconfig, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 23. Aug 2001
SuSE Linux AG - Last generated: 27. Aug 2001 by sdbrun (sdb_gen 1.40.0)