  Linux+Solaris HOWTO

  » <mailto:tessking@thrunet.com>

  $Date: 2000/09/01 $

    ϳ ǻͿ Linux (x86)  Solaris (x86) Բ
  ϴ  Ѵ.

  ______________________________________________________________________

  

  1. Ұ
     1.1   ֶ󸮽ΰ?
     1.2   ٷ ͵
     1.3  
     1.4 

  2. ϵ ̺ غAID CDATA harddrive(LABEL)LABEL
     2.1 Ϲ PC Ƽ
     2.2 ֶ󸮽 Ƽ ̺(Solaris Partition Labels)
     2.3 ϵ ũ 
     2.4  

  3.  غ
     3.1 Ŀ 籸AID CDATA kernel(LABEL)LABEL
     3.2 Ʈ δ غ

  4. ֶ󸮽 ν
     4.1 Solaris interactive
     4.2 Web-Start
     4.3 GNU  ġ

  5.  AID CDATA boot(LABEL)LABEL
     5.1 ֶ󸮽 Ʈ Ŵ ϱ
     5.2 lilo ϱ
     5.3 grub ϱ

  6.  AID CDATA sharing(LABEL)LABEL
     6.1  Ƽ 
     6.2  ٸ 

  7. ܺ ̳ʸ(binary) 
     7.1 ֶ󸮽  ̳ʸ 
     7.2  ֶ󸮽 ̳ʸ 

  8. ߰ 
  9. Credits and legal stuff
     9.1 Credits
     9.2 , ǰ, 
     9.3 LicenseAID CDATA legal(LABEL)LABEL

  ______________________________________________________________________

  1.  Ұ

  1.1.    ֶ󸮽ΰ?

  ̴   ̴.     ִµ  ֶ󸮽
  ϴ°? ֶ󸮽 ϵ    ý̴. ׷
      а ִٸ, Ƹ ֶ󸮽 ϱ⸦ ̹
    ̴.  ׷ ʴٸ     
  ִ:
  o   ƮŸ ֶ󸮽 ӽ ϴ  Ѵ.  
     ֶ󸮽 ڽ  Ŀǵ ĶͿ  Ʈ  
     ֵ, ׿   ͵  ʿ䰡 ִ.

  o   ѵ "ڰ   ۺ븸 δ(Shipping and handling
     cost only)"ϴ  ֶ󸮽 ߴ. ׵ ε
     ׷  ɼ , 

  o  Ǵ  CDE Ѵٴ ͵    ְڴ.

  1.2.    ٷ ͵

    ̹  ϰ ִ x86ӽſ ֶ󸮽 7̳
  ֶ󸮽 8 ߰ ġϰϴ   ̴. ֵ ǥ

  o   ͵  ʴ´.  ``ϵ  غ''  .

  o   ֶ󸮽 ϵ Ѵ. (Ƽ ) `` ''
      .

  o   ֶ󸮽 ͸ Ѵ.  `` '' ǿ
     Ѵ.

  1.3.   

    ۼҶ    :

  o  Solaris 7 x86 (= Solaris 2.7 / SunOS 5.7)

  o  Solaris 8 x86 (= Solaris 2.8 / SunOS 5.8)

  o  Linux 2.2.14, 2.3.99-pre3

  o  fdisk v2.10f

        Ƹ  Ʈ ٸ   
     ְų, ƴϸ  ٸ  ְڴ.

  1.4.  

  ۾ ϱ ,   ͸ ϱ ٶ!  
   ϰ ִ  κе   ս ߱ų
   ִ! ׿    åӵ  ʴ´!  ``Credits and
  legal stuff''  ϶.

  2.  ϵ ̺ غ

  ֶ󸮽  ϵ ̺  غϱ ؼ, ǥ PC Ƽ
  ̺ ֶ󸮽 ũ ̽ ؼ ˾ƾ Ѵ.  
   ýۿ ϳ ũ (single-disk systems)Ѵٰ
  Ͽ ϰ, Ƽ ũ ȯ 쿡  
  ̴.

  2.1.  Ϲ PC Ƽ

  Ϲ ǥ Ƽ ̺ 4 Ʈ ´.  츮 ߿
    :

     ̸Ӹ Ƽ (Primary Partition)
        ϳ Ʈ ϳ Ƽ  ִ.  ҽ ̱
        , ¶   ִ  Ƽ̴!

     Ȯ Ƽ (Extended Partition)
        ϳ Ʈ  , DOS, Linux, Ǵ   ٸ
        Ƽǵ Բ   ִ.

     ֶ󸮽 Ƽ
        ϳ Ʈ ,  ֶ󸮽 Ƽ  
        ִ.

   ýۿ  Ƽǵ ڸ ִ  ʹٸ fdisk
  α׷ ϶. 1  4 ȣ  Ƽǵ
  (hda1..4, sda1..4, ...)  Ƽ ̺  ̴.

  2.2.  ֶ󸮽 Ƽ ̺(Solaris Partition Labels)

  ֶ󸮽 ڽŸ Ƽ ü踦  ִ. Ƽ ̺ ϳ
  Ʈ ϸ,  Ƽ ġ ũ ü ó .

    ũ 8 ̽    ִ.  °
  ̽ s2 ü  ũ ϴ ̹Ƿ, δ
  ֶ󸮽  7  ̽  ̴.

  ϰԵ ֶ󸮽 Ƽ   Ƽ(82)   Ÿ
  νĵȴ.       Ƽ̶ ̸Ӹ
  Ƽ  ȵȴ.    ̰  ,
  ֶ󸮽   Ƽ    ˰ڴ°.

   fdisk α׷  ``Sun disklabel'' ϱ ϳ,
  ̰δ  ذ  .

  2.3.  ϵ ũ 

  翬 ֶ󸮽 ũ  ʿϴ.  ֶ󸮽 8 ּҼġ
    300 MB ̴.  Ϲ  ϴ ν ؼ
   700 MB, ``developer-system'' ν ؼ  1 GB 
  ʿϴ.

  ׷ ̰ ⺻ ֶ󸮽 ġ  ʿ ̴.
   پ GNU     Ʈ ߰ϰ 
  ̴.  Դٰ ֶ󸮽    Ѵٸ, ̰
  ֶ󸮽 Ƽǿ ̷Ƿ    غؾ Ѵ.

  Ȥ  Ȩ 丮 ֶ󸮽  ϰ ;
  𸣰ڴ.  ̰ ؾ!    ۼ  
    Ұϴ.   װ Űؼ  Ȩ 丮
   , ᱹ  ̸   Ҵٴ ǿ ſ
  ູ   ۿ .  `` ''  ϶.

  2.4.   

   ݵ ؾ  ׵ ִ:

  o  Ƽ ̺ 3 ̻ Ʈ  .

  o    Ƽ ̸Ӹ Ƽ  .

  o   Ѱ  ext2 Ƽ ̸Ӹ Ƽ ƶ.

  o  Ƽ  ,  1 GB ϵ ũ  ʿϴ.

  3.   غ

  3.1.  Ŀ 籸

     Ŀ ϴ  ȾѴ.  :
  ֶ󸮽  ͸ ϰ ʹٸ ݵ и
  Ŀ 籸ؾ Ѵ.  ׷    ġ ʴ´ٸ, 
  Ŀ ״ ص ȴ.

  ֶ󸮽 ȣȯ(Solaris compatibility)  Ŀ ɼ:

  o  Under code maturity:

     Prompt for development drivers
        ϰԵ UFS Ƽ (writing)  ܰ迡 ִ.

  o  In file systems:

     UFS file system support
        UFS ֶ󸮽   ý̴.

     UFS file system
        write support" ͸ ֶ󸮽   ִ 
        ̴.

     partition types / Solaris
        (x86) partition table support" ֶ󸮽 Ƽǳ ̽
        ã  ʿϴ.

     Ŀ 籸  ߰  Kernel-HOWTO ã ٶ.

  3.2.  Ʈ δ غ

  Ʈδ   ۾  ,  ý  
  ִ   غǾ ִ Ȯϱ ٶ.

   ֶ󸮽 νϸ master boot record (MBR) ִ 
  Ʈ Ŵ   ȴ.

   ེ , ֶ󸮽 Ʈ Ŵ  (chain-boot)
    ִٴ ̴. ̸ ؼ   Ʈδ(lilo )
   ̸Ӹ Ƽ Ʈ Ϳ ġؾ Ѵ.

   /etc/lilo.conf  boot=  ִ  .
  boot=/dev/hda1   Ǿִٸ ƹ  .  
  boot=/dev/hda ó Ǿִٸ ̰ MBR Ű ִ ̹Ƿ,
  ̸Ӹ  Ƽ ٲָ ȴ.  (. boot=/dev/hda1)

  Ʈδ     ִ ˾ƺ , lilo MBR ν
  Ų ι° Ʈ Ŵ εغ  ִ.  ̸  
  lilo.conf.mbr̶   ߴ:

  ______________________________________________________________________
  #lilo.conf.mbr
  #Lilo in Master Boot Record doing nothing but chain-loading another lilo
  boot=/dev/hda
  root=/dev/hda5
  install=/boot/boot.b
  map=/boot/map
  vga=ask
  delay=50
  other=/dev/hda1
  label=lilochain
  ______________________________________________________________________

    lilo -C lilo.conf.mbr  lilo MBR νѴ.
  Ʈ Ϳ ִ lilo ϱ  lilo   ͵
  .

   ý ϸ lilo Ʈ  ̴. ⼭ other
  ϸ  lilo εϿ  õǾ Ѵ.

  4.  ֶ󸮽 ν

  4.1.  Solaris interactive

     Solaris 7
        "Solaris Interactive(ȭ ν緯)" ù° ֶ󸮽 CD
        ִ.  "Solaris interactive" ϶.

     Solaris 8
        Solaris 8   "interactive installer" ù° Ʈ
        CD ִ.  ν CD  ʿ.

  ֶ󸮽 ν ü ſ ̴.  ȥ ų  ִ
  Ѱ Ƽ ۾̴.  ֶ󸮽 ڵ ũ 
  ãƼ װ ֶ󸮽  ũ Եȴ.  ũ
  ̽ , ֶ󸮽   ȯ  
    ٶ.   ġ /export/share Ƽ̴.

  Please Note: ֶ󸮽 ν ٸ, ̹ MBR 
  Ƿ, ϵ ũ     Ȳ ɼ 
  ϶.

  4.2.  Web-Start

   (interactive installation ſ) Web-Start Ͽ  ۾
    .    Web-Start Ͽ ġ  ִٸ
   ֱ ٶ.

  ׷ ϴ ֶ󸮽 ġϰ   web-start Ű
  ߰ϴµ  .

  4.3.  GNU  ġ

  ֶ󸮽 ǥ ġ less ɾ   ʴ´.  
   ֶ󸮽 RPM( Ű Ŵ)  õϱ⵵
  ϳ,  ⺻ Ű¡  ̿ص ϴ .
  http://www.sunfreeware.com   ϰ پ Ű 
   ִ.  ǥ Ű  pkgadd <package>, web-start
  Ű  java <packagewithoutclassextension>  ̿ϸ
  ȴ.

  5.   

  5.1.  ֶ󸮽 Ʈ Ŵ ϱ

    Ÿ ֶ󸮽 Ʈ Ŵ 4 ̸Ӹ Ƽ
  θ ְ,  Ƽ ϶  ̴.  
  ϰ  ̸Ӹ Ƽ Ʈ Ϳ Ʈδ ġǾ
  ִٸ ƹ   .   ִ   
    ִ.

  5.2.  lilo ϱ

   ֶ󸮽 Ʈ Ŵ ֵ Ʈδ ϰ ִ 
  ٽ  lilo  Ʈ δ ϰ ʹϴ   
  .  Lilo  ֶ󸮽  ϰ  ش.  
  lilo.conf Ͽ  other=  ֱ߰⸸ ϸ ȴ.

  ׽Ʈ   Ʈ Ϳ ִ lilo Ѵ.   ϴ
  ŭ lilo, ֶ󸮽 Ʈ Ŵ, lilo, ֶ󸮽 Ʈ Ŵ, lio, ....
   ε ݺ ̴. ̰  ȴٸ  lilo MBR 
  ȴ.

  ׷ ֶ󸮽  Ƽ ̺ Ͽ 濡  
  ִ.  ̴  Solaris 8 ν  ߻ߴ. Lilo ο
  Ƽ    fdisk ̴. Solaris 7
   쿡 ƹ  .
  5.3.  grub ϱ

    grub Ͽ ֶ󸮽    .  
  ִ   ޶!

  6.   

  6.1.   Ƽ 

  ``Ŀ 籸''   Sun ũ ̺  UFS 
  ϵ  Ŀ 籸ߴٸ,  ֶ󸮽 Ƽ
  Ʈ غ  ̴.   ϴ   
  ޽   ̴:

    hda: [PTBL] [523/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 > hda3 <Solaris: [s0]
    hda9 [s1] hda10 [s2] hda11 [s3] hda12 [s6] hda13 [s7] hda14 >

   쿡 hda3 6 ̽  ֶ󸮽 Ƽ̸, 
  ̽(s0,s1,s2,s3,s6,s7) hda9  hda14  ̽
  (mapping)Ǿִ.

  ֶ󸮽 Ƽ Ʈ غ. UFS Ƽ Ʈ   ׻
  -oufstype= ɼ ؾ Ѵ.    -oufstype=sunx86 ̴.
    Ʈ      ̴:

    mount -oufstype=sunx86 /dev/hda14 /mnt

   Ƽ ׽Ʈ غ. Please note: UFS Ƽǿ  ۾
  ϴ  ſ  ̴. UFS Ƽǿ ۼ 
  Ͷ Ƚ !

   ֶ󸮽 Ƽ ýÿ ڵ Ʈǰ ϰ ʹٸ,
  /etc/fstab Ͽ    ߰Ѵ:

    /dev/hda14 /solaris ufs ufstype=sunx86 0 0

  6.2.   ٸ 

  , ͸ ϴ پ  ϱ ̴:

     ÷ ũ
         ֶ󸮽  ÷ ũ  ý ϴ
        𸣰ڴ.  ƴ  ...

     Ʈũ
        ֶ󸮽   NFS Ѵ.  ͸  
        ִ    ̴.

  7.  ܺ ̳ʸ(binary) 

  7.1.  ֶ󸮽  ̳ʸ 

  ̰ "lxrun"̶ α׷ ν  ̴.   
   ׽Ʈ غ ߴ. ֶ󸮽 Ʈ ϱ ٶ.

  7.2.   ֶ󸮽 ̳ʸ 

   ƴ ٷδ, ̰  ʴ´.

  H.  ߰ 

     ִ  Ʈ ִ:

  o  Sun Freeware <http://www.sunfreeware.com>
      ֶ󸮽 ҽ ã   鸣 ̴.  
     ν  ִ  GNU  ̳ʸ  غǾִ.

  o  Sun Microsystems <http://www.sun.com>

       Ȩ̴.

  o  Solaris Homepage <http://www.sun.com/Solaris>

  o  Solaris Hardware Compatibility List (HCL)
     <http://soldc.sun.com/support/drivers/hcl/index.html>

  o  Solaris Online Documentation <http://docs.sun.com>

  o  My Website <http://www.xslt.de>
      Ʈ   ֽŹ   ִ.

  I.  Credits and legal stuff

  I.1.  Credits

  ֶ󸮽  νϸ鼭  HOWTO Ÿ ׽Ʈ  Marcel
  Meyer Ѵ.

  I.2.  , ǰ, 

   ȯ̴. Ϸν ϱ ٶ. max.berger@xslt.de

  I.3.  License

   ʽϴ. (LDPL    / ϴٴ
  ) - 

  This document is copyrighted  by Max Berger. You may use and/or
  modify it according to the Linux Documentation Project License (LDPL)
  found at http://www.linuxdoc.org/COPYRIGHT.html.

  According to the license you don't have to tell me, but I'd very much
  like to know when you modify and/or republish this document.

  Although the information given in this document is believed to be
  correct, the author will accept no liability for the content of this
  document. Use the tips and examples given herein at your own risk.

