Re: Essential utilities for G4 powermac

2010-08-29 Thread Eric Volker
On Fri, Aug 27, 2010 at 1:59 AM, Matevž Markovič <
ivwcorporation.mat...@gmail.com> wrote:

> http://www.firmworks.com/QuickRef.html
>
> Here you can see all open firmware commands (remember, that  is forth
> environment, therefore you can define your own commands from the existing
> ones).
>
> I found that I was wrong about sync - it writes to the hard disk.
> The script I mentioned is NVRAMRC.
>
> nvramrc is also used with the Open Firmware hack used to enable >128GB hard
drives on older Macs. For an example, see here:

http://nanchatte.wordpress.com/2008/04/27/128gb-large-hdd-lba48-support-on-the-g4-cube-with-leopard/

IIRC, there is a command in OS X that can be used to modify Open Firmware
once the OS is booted. I think the command is "nvram", but I'm at work right
now and don't have a PPC Mac handy for testing.

Actually, I got the command right. Here's the man page for the nvram
command. Use with extreme caution!

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/nvram.8.html

Eric

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Essential utilities for G4 powermac

2010-08-27 Thread Matevž Markovič
http://www.firmworks.com/QuickRef.html

Here you can see all open firmware commands (remember, that  is forth
environment, therefore you can define your own commands from the existing
ones).

I found that I was wrong about sync - it writes to the hard disk.
The script I mentioned is NVRAMRC.

Here is an example of running the editor to modify the script. Remember, it
gets executed prior you have a chance to act, therefore, double-check
everything.

ok nvedit
(use editor commands)
^C (control-C to finish)
Store script to NVRAM [y/n]? y
Enable script [y/n]? y
ok

Have a nice day,
  Matevž Markovič

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Essential utilities for G4 powermac

2010-08-27 Thread Matevž Markovič
I think that there is a script that gets executed prior booting into the
Forth shell (it was mentioned in the Mac OS X Internals (Amit S.). He stated
that this script "can render your computer unbootable", therefore it must be
saved into NVRAM.

I am sure that there is a way to save changes (like modified aliases) into
NVRAM. In OS X, they are saved only if you shut down cleanly, and that is
managed by IOKIT. Here we are speaking of firmware and I think that making
your firmware implementation unchangeable for the end user after providing
him with a shell is rather useless, dont you think?

I think that sync writes changes to the NVRAM prior to reboot.

Anyway, check this page
http://osxbook.com/book/bonus/ancient/whatismacosx/arch_boot.html.

I hope that I have been of some help (is that better ? :) )


 Matevž Markovič

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Essential utilities for G4 powermac

2010-08-26 Thread gifutiger
Greetings.



On Aug 25, 3:36 am, Matevž Markovič 
wrote:
> I would highly recommend  Applejack. But I think it can only be installed on
> the boot drive. Also ClamXav would not hurt - we live in dark times, and is
> getting darker, even for macs :)

I think Applejack can be installed on any and all installed Disks,
however you need to boot from that drive for it to work.

>
> Try searching sourceforge.net. And for the last resort, learn using
> OpenFirmware. It is very powerful and also extensible. The same goes for the
> Intel Macs - install rEFIt, along with the EFI shell, and learn how to use
> EFI shell as well.
> Try to find utilities which can be invoked from the OpenFirmware. Myself, I
> have never done that, but I am sure that it can be done and that such
> utilities exist.

The problem with modifying OpenFirmware is the all modifications
disappear when you reboot.

>
> As for the pure troubleshooting utilities, I would recommend Apple Hardware
> Test, or some other LiveCD which has those utilities preinstalled. Depending
> solely on your hdd and utilities on it can be dangerous.
>
> I hope I have been of little help.
>                                                                  Matevž
> Markovič

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list


Re: Essential utilities for G4 powermac

2010-08-25 Thread Matevž Markovič
I would highly recommend  Applejack. But I think it can only be installed on
the boot drive. Also ClamXav would not hurt - we live in dark times, and is
getting darker, even for macs :)

Try searching sourceforge.net. And for the last resort, learn using
OpenFirmware. It is very powerful and also extensible. The same goes for the
Intel Macs - install rEFIt, along with the EFI shell, and learn how to use
EFI shell as well.
Try to find utilities which can be invoked from the OpenFirmware. Myself, I
have never done that, but I am sure that it can be done and that such
utilities exist.

As for the pure troubleshooting utilities, I would recommend Apple Hardware
Test, or some other LiveCD which has those utilities preinstalled. Depending
solely on your hdd and utilities on it can be dangerous.

I hope I have been of little help.
 Matevž
Markovič

-- 
You received this message because you are a member of G-Group, a group for 
those using G3, G4, and G5 desktop Macs - with a particular focus on Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to g3-5-list@googlegroups.com
For more options, visit this group at http://groups.google.com/group/g3-5-list