headless dual boot [solved]
Norberto Quintanar
yellowdog-general@lists.terrasoftsolutions.com
Fri Apr 16 14:48:01 2004
Bravisimo! And you totally stay away from the number one reason
people email this list, video problems.
--- Jason DeVita <jdevita@umich.edu> wrote:
> I did it! Here's how: I left yaboot.conf with linux as the default
> OS.
> So then if I want to reboot into linux from OSX, I just have to
> make sure
> that the OpenFirmware variable "boot-command" is set to it's
> default value
> and reboot:
>
> ----------------------
> #!/bin/sh
> /user/sbin/nvram boot-command=mac-boot
> shutdown -r now
> ----------------------
>
> Then the reboot will execute mac-boot, which will run yaboot, which
> will
> default to linux. To boot into OSX from linux, I run:
>
> ----------------------
> #!/bin/sh
> /sbin/nvsetenv boot-command
> "hd:4,\System\Library\CoreServices\BootX
> shutdown -r now
> ----------------------
>
> Then the reboot will execute the OSX start disk (BootX) directly
> without
> using yaboot at all. And voila -- remote OS switching.
>
> -J
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html