PDA

View Full Version : Changing Default OS on boot


nealec
2007-02-08, 09:11 AM CST
hey. im really new to linux. i prefer to use OSX but i saw fedora and all the awesome eye candy with beryl and had to install it. turns out the fancy stuff doesnt work and turns my screen pink/purple. i read in another post that there is a soloution being made so i can wait.

how can i change the default os, so that osx boots rather than fedora?

nealec
2007-02-08, 09:29 AM CST
+ if anyone knows how to sort that purple/pink screen please let me know.

im running this on a mac mini g4

shess01
2007-02-08, 09:37 AM CST
I am thinking that depends on which bootloader you are running. LILO? GRUB? Supposing you are running GRUB. If you are, see if you have the app "bootloader" in the administration menu. If you do not, do:
yum -y install system-config-boot

Then you can look for the bootloader in adminstration menu or, as root, enter:
/usr/sbin/system-config-boot

you can also change by editing /etc/grub.conf, if you are using grub. If this does not work, post back and please be more specific.

bob
2007-02-08, 09:39 AM CST
Open a terminal, sign in as root (su -) and then:

gedit /boot/grub/grub.conf

You'll see 'default=0' . That means that the computer, which counts from zero, will boot the first kernel it comes to. If you've got two FC kernels and mac is the third entry, change the default to '2' .

nealec
2007-02-08, 10:16 AM CST
[neale@localhost ~]$ su
Password:
[root@localhost neale]# gedit /boot/grub/grub.conf

(gedit:3110): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.


then a blank notepad opens

[root@localhost neale]# yum -y install system-config-boot
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories

Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: system-config-boot
Nothing to do
[root@localhost neale]#
[root@localhost neale]#
doesnt like it either

nick.stumpos
2007-02-08, 10:44 AM CST
are you using the grub that came with fedora as a bootloarder? if not try editing /boot/grub/menu.lst, assuming you have mounted the boot patition to which grub is installed

jewelion
2007-02-08, 12:04 PM CST
+ if anyone knows how to sort that purple/pink screen please let me know.

im running this on a mac mini g4

For me, setting the color depth to thousands of colors (16 bit) did the trick.
(via Administration, Display)

jewelion
2007-02-08, 12:15 PM CST
how can i change the default os, so that osx boots rather than fedora?

Right, Fedora don't use GRUB, it uses yaboot

Here is my /etc/yaboot.conf file
boot=/dev/sdb2
init-message=Welcome to Fedora Core!\nHit <TAB> for boot options

partition=3
timeout=80
install=/usr/lib/yaboot/yaboot
delay=20
enablecdboot
enableofboot
enablenetboot
macosx=/dev/sda2
magicboot=/usr/lib/yaboot/ofboot
/*I left this bit out yesterday- if you want osx as default you need the following bit*/
defaultos=macosx

image=/vmlinuz-2.6.19-1.2895.fc6
label=linx
read-only
initrd=/initrd-2.6.19-1.2895.fc6.img
root=/dev/VolGroup00/LogVol00
append="rhgb quiet"

I am realtively new to Linux on PPC, but I think that the boot=/dev/sdb2 is the line that makes linux as the default OS.
***remeber, I'm using /dev/sdb2 that's because that's where I installed linux on my machine!!!

I have realtively large timeout and delay figures because I needed a bit more time to make my mind up.

When you have edited yaboot.conf (as root)... su root, I use nano as an editor) on a PowerMac, you need to run /sbin/ybin as root to make your change.

HTH

nick.stumpos
2007-02-08, 01:10 PM CST
ahh ppc didint read that follow jewelions advice not mine

i_a_coops
2007-05-02, 01:23 PM CDT
so beryl does work on ppcs? Havent had the chance to try it yet. But if you want to have the choice between booting fedora and mac OS X, and atm it starts up with fedora, just hold down x at boot and you will go into mac OS instead. you have to do this each time you turn the machine on if you wnt Mac OS, but it's better than the situation I had before with ubuntu and mac os - I had to set the machine to start up in Network mode, then hold down option at boot, then wait about 10 minutes, then i could click on either a mac os x symbol or tux for linux. not user friend;y at all!