wiki:TipAndDoc/VM/PearPC

Version 3 (modified by mitty, 12 years ago) (diff)

--

  • Kernel 2.4で無いと起動しない可能性
    • Ubuntu 8.04 for PowerPCでも起動しなかった

Mandrake Linux 9.1

  • 結論から言うと、未成功

Ubuntu 11.10 on VMware 7.1.4

  • s0711489@viola-ubuntu:~$ uname -a
    Linux viola-ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    
  • s0711489@viola-ubuntu:~$ sudo aptitude install -R pearpc
    Version: 0.4.0-5ubuntu1
    
  • s0711489@viola-ubuntu:~/mandrake$ vim mandrake.conf
    • .conf

      old new  
      9090## must be >= 64 MiB 
      9191## 
      9292 
      93 #memory_size=0x8000000 
       93memory_size=0x20000000 
      9494 
      9595## 
      9696## IO Devices 
       
      106106##     pci_ide0_master_type / pci_ide0_slave_type 
      107107 
      108108pci_ide0_master_installed = 1 
      109 pci_ide0_master_image = "test/imgs/linux.img" 
       109pci_ide0_master_image = "mandrake.img" 
      110110#pci_ide0_master_type = "hd" 
      111111 
      112112pci_ide0_slave_installed = 1 
  • s0711489@viola-ubuntu:~/mandrake$ dd if=/dev/zero of=mandrake.img bs=65536 seek=81920 count=0
  • s0711489@viola-ubuntu:~/mandrake$ ls -lhs
    total 4.0K
    4.0K -rw-r--r-- 1 s0711489 s0711489 2.5K 2011-11-19 11:09 mandrake.conf
       0 -rw-rw-r-- 1 s0711489 s0711489 5.0G 2011-11-19 11:09 mandrake.img
    
  • ISOのマウントはVMwareゲストに対して行った
  • s0711489@viola-ubuntu:~/mandrake$ ppc mandrake.conf
  • X forwarding to Cygwin/X
  • partitioning
  • package selection
  • change CD
    • VMware側で強制的にCDを入れ替えたが、ゲスト上のpearpc上では認識して貰えなかった。 => Cancel
  • bootloader
  • Summary
  • configure Graphic Interface

    • error
  • Graphic Interfaceの設定でerrorになったあと、Summaryに戻ってきて[Next]を押すとPearPCが落ちた
    [CPU/ALU] <Warning> division by zero @100089ec
    singlestep set from ppc_alu.cc:687, info:
    Floating point exception
    
  • PearPC再起動後
  • HDDにパーティションは出来ているようだが、どれを選んでも起動には失敗する

/dev/loop0 as CD-ROM drive

  • CDドライブが無い環境では、/dev/loop0を使用すればよい
  • mitty@bogie:~/mandrake$ vim mandrake.conf
    • .conf

      old new  
      9090## must be >= 64 MiB 
      9191## 
      9292 
      93 #memory_size=0x8000000 
       93#memory_size=0x20000000 
      9494 
      9595## 
      9696## IO Devices 
       
      106106##     pci_ide0_master_type / pci_ide0_slave_type 
      107107 
      108108pci_ide0_master_installed = 1 
      109 pci_ide0_master_image = "test/imgs/linux.img" 
       109pci_ide0_master_image = "mandrake.img" 
      110110#pci_ide0_master_type = "hd" 
      111111 
      112112pci_ide0_slave_installed = 1 
      113 pci_ide0_slave_image = "/dev/cdrom" 
       113pci_ide0_slave_image = "/dev/loop0" 
      114114pci_ide0_slave_type = "cdrom" 
      115115 
      116116## 
  • mitty@bogie:~/mandrake$ sudo losetup /dev/loop0 MandrakeLinux-9.1-CD1.ppc.iso
  • mitty@bogie:~/mandrake$ sudo chmod o+r /dev/loop0
  • mitty@bogie:~/mandrake$ ppc mandrake.conf
  • CDの変更は、デバイスがロックされるため不可
  • mitty@bogie:~/mandrake$ sudo losetup -d /dev/loop0
    loop: can't delete device /dev/loop0: Device or resource busy
    

Attachments (18)

Download all attachments as: .zip