on 22/5/02 07:03, Marc van Gemert at [EMAIL PROTECTED] wrote:

> Let's say that on my B&W G3 I have OS 9.x.x on partition 1 and OS X 10.x.x on
> partition 2. If the startup disk is set to OS X and I want to boot OS 9 at
> startup I boot into OF and type this:
> 
> setenv boot_device hd:1,ofboot.b
> or only temporary
> boot hd:1,ofboot.b
> 
> If the startup disk is set to OS 9 and I want to boot OS X at startup I boot
> into OF and type this:
> setenv boot_device hd:2,ofboot.b
> or only temporary
> boot hd:2,ofboot.b

> Correct?

Sort of! There are a whole slew of "partitions" that exist on the drive
before what we as regular users recognise as partitions, so the numbers will
be higher. For example, in my 3 partition setup partitions 6,7 and 9 (9
existed in the map before I deleted the Linux partition at 7) were the real
partitions.

There's an app in OS X, pdisk, that will allow you to view your drive's
partition map. You have to run it as a superuser so type "sudo pdisk" and
type in your root password (same as your primary admin account). The only
way you can harm your disk is if you go into "e"dit and *then* start messing
with settings in there and *then* save the changes (you can safely go and
look, especially if you "r" toggle readonly flag in the main menu). This
same app (text-only) exists for OS 9 (free download from MKLinux site IIRC).

Type ? for help, and view the listing of all attached drives with L.

(I have a 12 GB IDE)

Commands are:
  h    print help
  v    print the version number and release date
  l    list device's map
  L    list all devices' maps
  e    edit device's map
  r    toggle readonly flag
  a    toggle abbreviate flag
  p    toggle physical flag
  q    quit the program
Top level command (? for help): L
/dev/rdisk0  map block size=512
   #:                 type name                 length   base     ( size )
   1:  Apple_partition_map Apple                    63 @ 1
   2:     Apple_Driver_ATA*Macintosh                54 @ 64
   3:     Apple_Driver_ATA*Macintosh                74 @ 118
   4:   Apple_Driver_IOKit Macintosh               512 @ 192
   5:        Apple_Patches Patch Partition         512 @ 704
   6:            Apple_HFS OS X Disk           6291456 @ 1216     (  3.0G)
   7:            Apple_HFS Apple_HFS           3145728 @ 6292672  (  1.5G)
   8:            Apple_HFS Anaconda           16012382 @ 9438400  (  7.6G)
   9:           Apple_Free Extra                   210 @ 25450782

For details on Open Firmware commands go to www.Yellowdoglinux.com and look
at #2, Reset Firmware:
<http://www.yellowdoglinux.com/support/solutions/ydl_general/boot_functions.
shtml>. You can probably use "printenv" in the OpenFirmware CLUI to get the
partition # thereby avoiding the use of pdisk (though, it's neat to know how
much raw power lies under the hood of our pretty GUI... I guess this is the
modern equivalent of a souped up car).


-- 
G-List is sponsored by <http://lowendmac.com/> and...

 Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
 -- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

      Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

Using a Macintosh? Get free email and more at Applelinks! 
<http://www.applelinks.com>

Reply via email to