View Single Post
Old 01 September 2011, 14:30   #1
ipp0
Registered User
 
ipp0's Avatar
 
Join Date: May 2010
Location: Bonn
Posts: 37
Amiga Forever HD install howto

Hi all,

here's how I installed Amiga Forever 2011 to HD on a machine with multiple OS's already installed:

My configuration:
PC with 3 Gb of RAM
Mandriva Linux - already installed
2 HD's
Behind broadband router

1. Create a new ext3 (0x83) partition on your harddrive and format it. I used the Mandriva tools for that.
Set the mountpoint to somewhere you prefer (eg.: /mnt/amigaos).

---------------------------------------------------------------------------------------------------------------------------------
KX Light Installation

To start the installer, boot from the Amiga Forever CD, take a note of the version information that is displayed (KX Light 8.0 or higher), and enter the following command at the initial "boot:" prompt:

"af-fbtxt 2 screen=1024x768 depth=24"

"afinstall"

Skip the whole partitioning part if you don't want to format the entire harddrive !!!
Use the partition you created before.

---------------------------------------------------------------------------------------------------------------------------------

3. Boot your linux system again and set an entry in your fstab file for your KX-light installation.

For example:

# Entry for /dev/sdb6 :
UUID=1b8c8e25-1894-42b1-a147-e48ddcfff36e /mnt/amigaos ext3 umask=0,user,defaults 1 2

Then mount your KX-light system and insert the Amiga Forever CD.
Copy e-uae from the CD to your KX-light system and link e-readdisk to the e-uae directory.

Example:
cp /media/AmigaForever/Private/Linux/e-uae/e-uae /mnt/amigaos/Amiga/e-uae/
ln -s /mnt/amigaos/Amiga/e-readdisk /mnt/amigaos/Amiga/e-uae/e-readdisk
---------------------------------------------------------------------------------------------------------------------------------

4. Create an entry for your bootloader (grub in my case)

title AmigaOS
kernel (hd1,5)/boot/vmlinuz BOOT_IMAGE=AmigaOS root=/dev/hda6 init=/etc/init nomce screen=1024x768 vga=792 console=tty1
initrd (hd1,5)/boot/initrd

For a graphical bootup (no knoppix output) insert "splash=silent,theme:af quiet" after "vga=792".

The "vga=792" option allows you to set 1024x768 screenmodes on your Workbench.
---------------------------------------------------------------------------------------------------------------------------------

5. Edit your /mnt/amigaos/Amiga/e-uae/hd_boot.uaerc:

In the lines 4,53,54 replace "Amiga" with "Shared".

Set all resolutions to 1024x768.

Set CPU to 68040 an maximize the RAM:

# CPU emulation options
cpu_type=68040
cpu_speed=max
cpu_compatible=false
cpu_cycle_exact=false

# RAM options
chipmem_size=4
bogomem_size=0
fastmem_size=8
z3mem_size=256
gfxcard_size=32

Set your SCSI-device (figure it out by typing "ls /dev" and the mount command under KX-light when a CD is inserted (Try all possibilities: sr0, sr1 hdx sdx).

Example:
# SCSI emulation options
scsi=true
scsi_device=/dev/hdc
--------------------------------------------------------------------------------------------------------------------------------

6. Boot KX-light, go to textmode with Ctrl-Backspace, Ctrl-C and set the appropriate rights:

chown knoppix:knoppix /Amiga/e-uae/e-uae
chown knoppix:knoppix /Amiga/e-readdisk
chmod a+x /Amiga/e-uae/e-uae
chmod a+x /Amiga/e-readdisk
chmod -R 744 /Shared/dir
chown -R knoppix:knoppix /Shared/dir

Use that for other directories in Shared too.

For testing everything is o.k. type "startx".
--------------------------------------------------------------------------------------------------------------------------------

7. Configure the internet-connection:

Run the program "netcardconfig" and configure it.

Edit the file "/mnt/amigaos/etc/init.d/knoppix-autoconfig" (from the Linux-side or with an editor under KX-light):

Change the part from line 743 "# Fat-Client-Version: DHCP Broadcast for IP address"

from:

# Fat-Client-Version: DHCP Broadcast for IP address
if checkbootparam "nodhcp"; then
echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}"
else
while read DEVICE relax; do
case "$DEVICE" in (*:*) ;; (*) continue;; esac
case "$DEVICE" in (lo*|pan*|bnep*|*ppp*|tun*|tup*) continue;; esac
DEVICE="${DEVICE%:*}" # Strip :*packets*
echo -n "${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}"
trap 2 3 11
ifconfig $DEVICE up >/dev/null 2>&1 ; pump -i $DEVICE >/dev/null 2>&1 &
trap "" 2 3 11
sleep 1
echo " ${BLUE}(Backgrounding)${NORMAL}"
done </proc/net/dev
fi

to (example):

# Fat-Client-Version: DHCP Broadcast for IP address
if checkbootparam "nodhcp"; then
echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}"
else
while read DEVICE relax; do
case "$DEVICE" in (*:*) ;; (*) continue;; esac
case "$DEVICE" in (lo*|pan*|bnep*|*ppp*|tun*|tup*) continue;; esac
DEVICE="${DEVICE%:*}" # Strip :*packets*
echo -n "${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}"
trap 2 3 11
ifconfig $DEVICE up >/dev/null 2>&1 #; pump -i $DEVICE >/dev/null 2>&1 &
ifconfig eth0 192.168.0.2 # your IP-adress
route add default gw 192.168.0.1 eth0 # your gateway adress
ifconfig eth0 up
trap "" 2 3 11
sleep 1
echo " ${BLUE}(Backgrounding)${NORMAL}"
done </proc/net/dev
fi
--------------------------------------------------------------------------------------------------------------------------------

8. For using your Amiga HD's under Linux put the following lines into your fstab or similar (Linux-side):

chmod -R 777 /mnt/amigaos/Shared
chown -R whoami:whoami /mnt/amigaos/Shared
--------------------------------------------------------------------------------------------------------------------------------

9. For having the appropriate rights under E-UAE put the following lines to the end of your "/etc/init.d/knoppix-autoconfig" (KX-light-side). These must be executed before "extit 0":

# Ownership & permissions for Amiga directories
chmod -R 744 /Shared
chown -R knoppix:knoppix /Shared
--------------------------------------------------------------------------------------------------------------------------------

10. OS3.9 installation:

The OS3.9 CD does not seem to work for this time (script-error).

Copy the whole contents of the CD to a directory on your Amiga-HD (eg.: work.
Install over your Amigaforever-installation (full install).
Install the internet-apps too.
Install IDEfix97 (automatic) and then mount your OS3.9 CD under KX-light:
Ctrl-Alt-Backspace, Ctrl-Alt-F2, Ctrl-Alt-F1, Ctrl-C
"mount /dev/hdc" (example)
"startx"
Install the Boing-bags and the new locals.
Uninstall IDEfix97 but do not reboot.
Install the CDROM-driver from the OS3.9 installation directory.

Reboot AmigaOS (Ctrl-Alt-Backspace, Ctrl-Alt-F2, Ctrl-Alt-F1, Ctrl-C, startx).

Last edited by ipp0; 05 November 2011 at 01:11.
ipp0 is offline  
 
Page generated in 0.10258 seconds with 11 queries