Welcome, Guest. Please login or register.

Author Topic: Debian Linux on Amiga 4000 PPC APUS  (Read 10558 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RotzloeffelTopic starter

Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #14 from previous page: February 02, 2013, 07:51:21 PM »
O.K:) Let´s go:-) english:-) let´s give it a try! please do not correct any dictionary mistakes....I am german and will do my best :banana:
 
This works on an Amiga 4000/PPC ! If you want to do this on an Amiga 1200 PPC you need special advice and different kernel-files!! please pm me if you want to use a A1200! I will help!
 
please stay cool! It is a lot of work to write such a Tutorial.... so I will start with the basic install and upgrade to the actual distribution known as working with the actual kernel-file! so this first step will bring you to the basic install of Debian Sarge 3.1 RC6! so this tutorial is "to be continued!"
 
first of all we need a harddisc or some free space on an exisiting one. We need at least THREE parititions. One of them must be bootable from Amiga-OS, so it should be locatet at the beginning of the disc in the first 2 GB! The best would be, if you use a blank harddrive for this system ;)
 
boot up in Amiga OS and use HD-Toolbox for creating the following parititions (give them speaking names, will help you in future):
 
everything MUST entered with the RETURN key!
 
- a smal boot paritition (DOSType DOS\3 0x444F5303) 50-100 MB is enough! mark this paritition as bootable! Name it boot for example
- a Linux-partition (DOSType EXT2 0x45585432), this should be the largest parition! at least 2 - 5 GB! more is better! call it usr and uncheck the automount option !
 
- a Swap-parittiion (DOSType SWAP 0x53574150), call it swap (if you allready have one for OS 4.1 you can also use this!
 
 
 
after the reeboot format the boot parition normaly under Amiga-OS.
 
get the latest installation CD-Rom for Debian-Apus form here:
 
http://cdimage.debian.org/cdimage/archive/3.0_r6/powerpc/iso-cd/debian-30r6-powerpc-binary-1_NONUS.iso
 
burn it on a CD!
 
now get the following files:
 
The Kernel-file:
 
http://sourceforge.net/projects/linux-apus/files/2.4%20Kernel/2.4.18-2/kernel-image-apus_2.4.18-2.lha/download?_test=updater&utm_expid=65835818-0&use_mirror=heanet&modtime=1031398423&big_mirror=0&utm_referrer=http%3A%2F%2Fwww.a1k.org%2Fforum%2Fshowthread.php%3Ft%3D27848
 
The Loader for linus:
 
http://sourceforge.net/projects/linux-apus/files/Boothack/010623/bh010623.lha/download?_test=updater&utm_expid=65835818-0&use_mirror=ignum&modtime=993254400&big_mirror=0&utm_referrer=http%3A%2F%2Fwww.a1k.org%2Fforum%2Fshowthread.php%3Ft%3D27848
 
from the Kernel-archive extract the file vmlinuz-2.4.18-apus to the linux boot paritition!
 
create a folder named c on the boot parition and extract from the second archive the files bootstrap and ppcboot_pup (for Pouwerup!) into c also copy the program setpatch from your actual OS installation into the c-folder of the boot parition.
 
from the burned CD-Rom copy the file root.bin to you boot paritition! it is located in cd0:install/apus/
 
now create a drawer called libs on your boot-parititon and copy (if needed) the 68060.library and the ppc.library into it! you can optain them from here:
 
http://phase5.a1k.org/index.php?driverslibraries
 
now create a drawer called s on your boot paritition and create a startup-sequence in it:
 
this bootstrap-command is for a cybervisonppc! if you have another grafigboard please refer to the readme of bootstrap! for example use clgen (and adjust the resolution!) instead of pm2fb if you have a cirruslogic based board like picasso II, picassoIV or spectrum!! For other boards please read the readme!
 
code for installation(startup-sequence):
 
Code: [Select]
c:setpatch NONSD NOROMUPDATE QUIET
[B];for installation[/B]
[B]c:bootstrap --apus -k vmlinuz-2.4.18-apus -r boot:root.bin root=/dev/ram 60nsram nobats video=pm2fb:mode:1280x1024-60 video=amifb:off[/B]
;for booting after installation
;c:bootstrap --apus -k vmlinuz-2.4.18-apus [B]root=/dev/sdax[/B] 60nsram nobats video=pm2fb:mode:1280x1024-60 video=amifb:off
 

 
the entry root=/dev/sdax depends on your HD-setup!!!!!
 
scsi-drives are allway shown as sda, sdb, sdc and so on in the order they are installed in your computer
 
ide-drives are allways shown as hda hdb and so on!
 
the x is the number of the parition on the drive! so if you used hdtoolbox on the second scsi-drive in your system as a whole disk it should look like this
 
sd1a : boot
sd1b : usr
sd1c : swap
 
so you have to use root=/dev/sd1b
 
but you will se this while you instal linux ;)
 
O.K! now you are ready to go....:nervous:
 
start your system from you linux boot parition by choosing it in the early startup-screen.
 
you should see a shell window starting bootstrap and extracting the kernel....starting pup and inhibiting all drives......
 
linux should start now....
 
please! follow the instructions! Dont´t try something else! it will not work and will lead into trouble!!!!! believe me ;)
 
1. choose your language
2. choose keyboard
3. format a swap parititon (linux will find it itself!)
4. inititalize an format a linux paritition
choose ext3 on the next screen and remember the name!!
(for example /dev/sd1b) this is the name for your startup-sequence
later !!!
The parition will be formated now! this will take a while ! When
formating is done, answer the question "mount root filesystem" with
YES
5. choose "Mount a previously-initialized Paritition" select your linux boot
parition and choose /boot as mount point
6. choose "configure the Hostname" and insert whatever you want
7. select configure the network, select your networkcard and let DHCP
configure the network
8. select install the base system and choose the CD-Rom as installmedia
follow the screen there is only one choise (/instmnt) select it and take
a beer :banana:
9. select reeboot the system and go back to Amiga-OS! Gratulations!
first step is done!
 
after returning to Amiga OS some smal additional work must be done:
 
Download the ext2-filesystem from http://aminet.net/package/disk/misc/ext2fs_0.41 and extract the file ext2filesystem from amigaos-folder to l:
 
get: http://aminet.net/dev/c/giggledisk.lha
 
put it giggledisk_AOS68 into c: of your amiga-os paritition.
 
open a shell and type (example cybppc.device unit 1 !!)
 
Code: [Select]
giggledisk_Aos68k cybppc.device 1 to ram:

now you have several files in RAM: copy the file of your linux parititon to devs:dosdrivers/
 
edit the file and correct the line FILESYSTEM with l:ext2filesystem
at the end of the file add the efollowing line:
 
Control = CASESENSITIVE
 
save the file and dobble click on it. you should now see the linux parition on your workbench!
 
now you need to download the following files:
 
The Kernel-header files.
 
http://downloads.sourceforge.net/linux-apus/kernel-headers-apus_2.4.18-2.tar.gz?modtime=1031239550&big_mirror=0
 
extract it to the mounted linux parititon!
 
now extract the allreade downloaded kernel-archive to the linux parition.
this will take a while !!!! approximatly 1 -2 hours!!! the filesystem is usefull but slow!!!! so stay cool have a beer or two watch soccer :banana:
after unpacking go to the linux-parititon, enter the boot directory and move all files to your linux-boot paritition.
 
Download http://downloads.sourceforge.net/linux-apus/kernel-patch-apus_2.4.18-2.tar.gz?modtime=1031239551&big_mirror=0
 
and extract it to the linux-parition.
 
now edit your startup-sequence on your linux-boot parititon and enter the correct /dev/sd1b or whatever you mounted as / while installation!!!
 
change the ";" from bootstrap-command ! for example:
 
Code: [Select]
c:setpatch NONSD NOROMUPDATE QUIET
;for installation
[B];[/B]c:bootstrap --apus -k vmlinuz-2.4.18-apus -r boot:root.bin root=/dev/ram 60nsram nobats video=pm2fb:mode:1280x1024-60 video=amifb:off
[B];for booting after installation[/B]
[B]c:bootstrap --apus -k vmlinuz-2.4.18-apus root=/dev/sdax 60nsram nobats video=pm2fb:mode:1280x1024-60 video=amifb:off[/B]

boot again from your linux boot-parition...to start the post-installation!
 
most of the questions here are "self explaining" but you need some hints!
 
1. choose keymap !
select choose keymap from full list and choos your keymap!
2. time zone! choos no and select your time-zone by yourself!
3. answer all questions with the standard choice! setup passwords
create a user etc. till the question "do you want to security updates!
answer with NO!!!!!!!
4. run tasksel YES select NOTHING go to finish !
5. run deselct NO
 
system installation will procced...answer the questions (self-explaining)
 
the last question is about email-system! select (4) local delivery and enter root as receiptance select Y as last answer!
 
congratulations! you have installed Debian PPC Woody on your amiga :laughing:
 
Now we upgrade it to sage :)
 
first of all, we need to install aptitude because it is much more better the apt which is allready installed. so let´s go..........
 
login as root!
 
type
 
Code: [Select]
apt-get install aptitude

now we have to change the source from our cd-rom to to sarge
 
edit the source.list !
Code: [Select]
nano /etc/apt/sources.list

delelet everything in it and replace it with:
 
Code: [Select]
deb [URL]http://archive.debian.org/debian[/URL] sarge main contrib non-free
deb-src [URL]http://archive.debian.org/debian[/URL] sarge main contrib non-free

save it by using esc + X
 
enter
 
Code: [Select]
aptitutude update
[code]
 
after downloading and unpacking the sarge dist-files we first have to bring aptitude up to date
 
[code]
aptitutde install aptitude

if this is done you can upgrade to sarge by using
 
Code: [Select]
aptitude -f --with-recommends dist-upgrade

now have a beer or 5.....this takes a while.....
 
to be continued! please stay cool! It is a lot of work!
Save Planet Earth! It is the only one in the galaxy with fresh and cold beer :laughing:
 

Offline ville9

  • Newbie
  • *
  • Join Date: Jul 2009
  • Posts: 3
    • Show only replies by ville9
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #15 on: February 04, 2013, 07:06:33 AM »
Quote from: JohnFante;724937
Would be very appreciated :-)

Have you ever tried to install it by following this tutorial 4 years ago...?
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=26248&forum=34#444174

I translated it mostly for you after all...
...and Rotzloeffel managed to install Linux/APUS by using that guide. ;)
 

Offline JohnFante

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 162
    • Show only replies by JohnFante
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #16 on: February 04, 2013, 07:58:50 AM »
Quote from: ville9;725273
Have you ever tried to install it by following this tutorial 4 years ago...?
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=26248&forum=34#444174

I translated it mostly for you after all...
...and Rotzloeffel managed to install Linux/APUS by using that guide. ;)


I must admit I can not remember. I have been away from my Amiga for a couple of years (work).

I think I tried but couldn't get it to work. But thank you very much none the less :-) I am sure I will succeed this time evt. with a combination of the two guides ... and a new HD I am waiting for :-)
Booooiiiing!!!!
 

Offline ville9

  • Newbie
  • *
  • Join Date: Jul 2009
  • Posts: 3
    • Show only replies by ville9
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #17 on: February 04, 2013, 08:13:39 AM »
Quote from: JohnFante;725275
I think I tried but couldn't get it to work. But thank you very much none the less :-) I am sure I will succeed this time evt. with a combination of the two guides ... and a new HD I am waiting for :-)

Ok, good luck! :)
Feel free to post any problems if you're stuck during installation.
 

Offline johnklos

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 190
    • Show only replies by johnklos
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #18 on: February 04, 2013, 08:29:21 AM »
Quote from: mfilos;702771
Imho, best Linux distro for our Amigas is NetBSD for those who like to experiment and it's still supported and updated


Ouch. Calling NetBSD a Linux distro is like calling AmigaDOS a version of Microsoft Windows - it's wrong in so many ways I wouldn't even know where to begin.
 

Offline RotzloeffelTopic starter

Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #19 on: February 04, 2013, 08:45:29 AM »
Quote from: ville9;725273
Have you ever tried to install it by following this tutorial 4 years ago...?
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=26248&forum=34#444174
 
I translated it mostly for you after all...
...and Rotzloeffel managed to install Linux/APUS by using that guide. ;)

hahahaa! Never saw this before! Only the German Version from you! I hope I have your allowance to continue?
Save Planet Earth! It is the only one in the galaxy with fresh and cold beer :laughing:
 

Offline ville9

  • Newbie
  • *
  • Join Date: Jul 2009
  • Posts: 3
    • Show only replies by ville9
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #20 on: February 04, 2013, 09:22:06 AM »
Quote from: Rotzloeffel;725279
hahahaa! Never saw this before! Only the German Version from you! I hope I have your allowance to continue?

Sure - go ahead!
 

Offline RotzloeffelTopic starter

Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #21 on: February 05, 2013, 06:11:38 PM »
Soooo no questions here? Seems to work without problems for all :razz:
 
then lets go and install the desktop.......
 
if you successfully upgraded your Debian linux to sarge you can install a nearly complete Desktoenvironment with GNOME for example.
 
open aptitude
Code: [Select]
aptitude

wait till the cache is loaded!
Select tasks press Return
Select enduser press Return
Select Desktop environment press +
Select localization press Return
Select your prefered desktop language press +
Select your prefered system environment press +
 
Now press g -> some green text should appear... press g again and the download starts.
 
This will take a while... you will need approximately 2 GB space for this :razz:
 
After the installation has finished you have to edit the config file XF86Config-4 in /etc/X11
 
beware! all linux commands are casesensitive!!!!!!!!!
 
Code: [Select]
nano /etc/X11/XF86Config-4

now manipulate the file! It should look like this for example:
 
Code: [Select]
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
# FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
# Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
# Load "glx"
# Load "int10"
# Load "record"
Load "speedo"
Load "type1"
# Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
# Option "XkbRules" "xfree86"
# Option "XkbModel" "amiga"
# Option "XkbLayout" "de"
Option "XkbDisable"
Option "Customkeycodes"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/amigamouse"
Option "Protocol" "BusMouse"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
#Section "InputDevice"
# Identifier "Generic Mouse"
# Driver "mouse"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
# Option "ZAxisMapping" "4 5"
#EndSection
Section "Device"
Identifier "Standardgrafikkarte"
# Driver "s3virge"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Standardbildschirm"
HorizSync 28-60
VertRefresh 43-75
# Option "DPMS"
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Standardgrafikkarte"
Monitor "Standardbildschirm"
DefaultDepth 8
# SubSection "Display"
# Depth 1
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 4
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
# SubSection "Display"
# Depth 15
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 16
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 24
# Modes "1024x768" "800x600" "640x480"
# EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
Section "DRI"
 Mode 0666
EndSection

don´t forget the following two lines:
 
Option "XkbDisable"
Option "CustomKeycodes"
 
this is telling the xserver to use the console-keymap !
 
because of a lot of bugs in the keymapping you should download a keymap!
 
you can get it with
 
Code: [Select]
wget -O /etc/X11/Xmodmap [URL=http://people.debian.org/~cts/debian-m68k/misc/Xmodmap][COLOR=#cc6600]http://people.debian.org/~cts/debian-m68k/misc/Xmodmap[/COLOR][/URL]

after rebooting your linux you should have a complete desktopsetup for first experiments ......
Save Planet Earth! It is the only one in the galaxy with fresh and cold beer :laughing:
 

Offline RotzloeffelTopic starter

Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #22 on: February 05, 2013, 06:21:06 PM »
Ahh.. I forgot! please give me feedback if you need any help or if it works well for you!
 
And as I wrote if you want to try this on an Amiga 1200 PPC please contact me ! I will send you the required Kernel-files!
 
It is not very helpfull to upload them here because you need some special advice....
Save Planet Earth! It is the only one in the galaxy with fresh and cold beer :laughing:
 

Offline CountRaven

  • Jr. Member
  • **
  • Join Date: Jan 2009
  • Posts: 99
    • Show only replies by CountRaven
    • http://www.amigaplanet.gr
Re: Debian Linux on Amiga 4000 PPC APUS
« Reply #23 on: February 22, 2013, 10:06:35 AM »
Thanks for this, I willt ry to find some free time and install it on my 1200PPC, will PM you! :D
Peg2, Amiga 500, Amiga 600, Amiga 1200D-030, Amiga 1200PPC, Amiga 4000PPC, CD32, 2xCDTV, Sam 440EP, Efika, AmigaOne XE.

http://www.amigaplanet.gr