English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.Amiga Forever (https://eab.abime.net/forumdisplay.php?f=109)
-   -   Amiga Forever HD install howto (https://eab.abime.net/showthread.php?t=60830)

ipp0 01 September 2011 14:30

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).

ipp0 28 September 2011 20:39

And for a nicer bootlogo overwrite the pic " /etc/splash/af/images/verbose-800x600.png" on your AF installation with your own:

- 256 colors
- Color mode: RGB
- 800x600 pixel
- 24 bpp
- Compression: Huffman (Deflate)
- Interlace mode: none

This can be done with Gimp.

klesterjr 06 January 2012 15:34

This post was a LOT of help for me. Thank you.

Any idea what "e-readdisk" is?

It's not in the archive at Rich Drummond's site and I couldn't find anything in a web search.

ipp0 21 January 2012 13:07

Quote:

Originally Posted by klesterjr (Post 794568)
This post was a LOT of help for me. Thank you.

Glad you like it.

Quote:

Any idea what "e-readdisk" is?

It's not in the archive at Rich Drummond's site and I couldn't find anything in a web search.
When you take a look into the sourcecode "uae-0.8.29/src/readdisk.c"
it says:
Code:

1 /*   
2  * readdisk   
3  *   
4  * Read files from Amiga disk files

and

Code:

76 write_log ("Disk structure corrupted. Use DISKDOCTOR to correct it.\n");
So it's there for reading files from adf's. I think it has been renamed within compiling or afterwards.


All times are GMT +2. The time now is 05:15.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.05081 seconds with 11 queries