戻る

device : yaboot.conf

man yaboot.conf に よれば

...
       Device name syntax is:

                <fully_qualified_prom_device_name>[:<part_number>]

              where the fully qualified OpenFirmware device name starts with a
              /  character  for  the  root of the OpenFirmware device tree and
              contains all the nodes from the root in the tree up to the  disk
              device node. If some node contains more than one child node with
              the same name and the path has to go  through  such  node,  a  @
              character  followed  by hexadecimal address pair is desirable to
              resolve the ambiguity. Optional partition  number  is  a  number
              that follows the : character 1 (for first partition) 2 (for sec-
              ond, partition, etc). OpenFirmware device names might look like:

                /pci@80000000/pci-bridge@d/ADPT,2930CU@2/@0:
                /pci/@d/mac-io/ata-3@20000/disk@1:
                /pci/@d/pci-ata@1/ata-4@0/disk@0:
                /pci/@d/pci-ata@1/ata-4@0/disk@1:


              OpenFirmware device names if specified as part of the file  name
              (see  above)  should  be followed by the : character to separate
              the device name from the optional  Linux  partition  number,  as
              shown  above.  For more information on this topic, consult boot-
              strap(8).

              OpenFirmware also has some predefined  aliases  which  are  used
              instead  of the longer canonical device names.  Standard aliases
              include:

                 hd: - The primary master IDE hard disk.
                 ultra1: - The primary slave IDE hard disk.
                 cd: - The secondary master device (usually CDROM).
                 zip: - The secondary slave device (usually zip drive).
...

これも 個猫 の 勝手な 決めつけ /dev/sda2 が ofboot で 決めて有ったの で /dev/sda4 は

ofboot=/pci@f2000000/usb@19/disk@1:2

2 を 4 に 変えるだけで良いでしょう。

device=/pci@f2000000/usb@19/disk@1:4

にゃんたろう 拝!

2011年12月15日 (木) 21:09:22 JST 作成


戻る

Copyright © 2006.-2012. nyantarou All Rights Reserved.