Index of /AXP/Fedora/

NameLast ModifiedSizeType
../ -  Directory
README.txt2020-Apr-28 09:39:292.9Ktext/plain; charset=utf-8
initrd-2.6.17-1.2187_FC5.6axp.img2020-Mar-30 01:26:081.1Mapplication/octet-stream
install.sh2020-Mar-29 13:56:140.3Ktext/x-sh; charset=utf-8
run.sh2020-Mar-29 14:07:030.4Ktext/x-sh; charset=utf-8
vmlinuz-2.6.17-1.2187_FC5.6axp2020-Mar-30 01:26:106.4Mapplication/octet-stream
Installation of Alpha Fedora  under qemu-system-alpha  (done on x86_64 Linux Mint 19.2) 

we will need a working qemu environment for this of course 

qemu-system-alpha 

first download installation ISOs from here http://yakov.dls.net/fedora/3/alpha/ 

I have used my previous formatted disk from Gentoo Alpha @ https://45.76.81.249/AXP/Gentoo/disk.dd 
Save the disk.dd as fedora.img 

- Before running the emulation make sure we copy the initrd and kernel from the CD1.ISO and place it in the simulator root dir 
- I have the ISOs in the simulator directory as well to make the CD swap easier 

This is how it looks like 

root@panasonic:/home/user/KVM/Alpha/RHEL# ls -al
total 6931012
drwxr-xr-x  3 user user        4096 Mar 29 16:06 .
drwxr-xr-x  9 user user        4096 Mar 28 12:47 ..
-rw-rw-r--  1 user user   650164224 Mar 28 12:27 cd1.iso
-rw-rw-r--  1 user user   664260608 Mar 29 00:09 cd2.iso
-rw-rw-r--  1 user user   661008384 Mar 29 00:09 cd3.iso
-rw-rw-r--  1 user user   555798528 Mar 29 00:09 cd4.iso
-rw-r--r--  1 root root 10737418240 Mar 29 16:13 fedora.img
-rw-r--r--  1 user user     1196328 Mar 29 03:15 initrd-2.6.17-1.2187_FC5.6axp.img
-r--r--r--  1 user user     6009009 Mar 28 23:36 initrd.img
-rwxr-xr-x  1 root root         416 Mar 29 03:22 install.sh
dr-xr-xr-x 10 root root        4096 Feb 28  2007 iso
-rwxr-xr-x  1 root root    12775672 Mar 28 23:27 qemu-system-alpha
-rwxr-xr-x  1 root root         482 Mar 29 16:06 run.sh
-r--r--r--  1 root root     6799560 Mar 28 23:28 vmlinux
-rw-r--r--  1 user user     6799560 Mar 29 03:15 vmlinuz-2.6.17-1.2187_FC5.6axp


So mount the cd1.iso as a loopback device 

> mount -o loop cd1.iso iso 
> cd iso 
> cd kernel 
> cp vmlinux.gz ../../ 
> cd ..
> cd images
> cp initrd.img ../../
> cd ../..
> umount iso
> gunzip vmlinux.gz

Now we can run the install.sh script to initiate the setup 

> ./install.sh 

When the installer asks for 2nd CD do the following 
connect to qemu monitor from another shell 

> telnet localhost 5555 
> info block
> change ide0-cd0 ./cd2.iso    ( and any other ISO the same way) 

After setup is finished we need to extract the installed initrd-2.6.17-1.2187_FC5.6axp.img from the fedora.img (the kernel can be the same ) 
and use the run.sh script to load the installed system in qemu. 

I have used my other qemu system to access the fedora.img disk image, or you can mount it locally on Linux 

> ./run.sh 

For network I have used my standard scripts as described here 

https://astr0baby.wordpress.com/2019/12/31/ppc-systems-under-qemu-system-ppc-emulation-on-aarch64-part-1/
https://astr0baby.wordpress.com/2019/12/19/mojave-on-virtualbox-6-1-linux/


For the lazy I have uploaded the fedora.img here to get going 

Credentials are as follows : 

root:p4ssw0rd
user:p4ssw0rd 

Network is not configured but you can issue afterwards
Inside Fedora   (change accordingly to your setup)  
# ifconfig eth0 10.0.2.12 up
# route add default gw 10.0.2.2     
 
Webserver 1.0