Short: Debian Linux m68k Uploader: Mike Blackburn (back64 gmail com) Type: misc/os Version: 3.1r8 Replaces: misc/os/debian-m68k.tar.gz Requires: Free space, free time, a FFS partition, reading this. Architecture: other, m68k-amigaos What now? * Smaller blob. * Disabled or removed unessesary stuff. See etc/dis * Removed 2.6.8, seemed broken. There is no readme in the archive. This archive can be used with other m68k machines, just feed it a new kernel and modules. This is a complete and mostly working distribution of Debian 3.1r8. X11 is not installed, if you want it, its just a apt-get install twm gdm or whatever. But why is it in tar.gz, why did you have to do that? The Debian installer failed to find the partitions, even though they can be mounted and found in /dev/discs/disk0/partX So i had to do a manual install of the entire system from scratch. What you need? http://cdimage.debian.org/cdimage/archive/3.1_r8/m68k/iso-cd/debian-31r8-m68k-binary-1.iso http://people.debian.org/~smarenka/d-i/m68k/images/daily/tools/amiga/ The easy way: Take your amiga hard drive and transplant it over to your *nix pc. Make an EXT3 partition swap etc.. and and untar the archive to it. Get the kernel from the /boot directory in the debian-m68k-x-tar.gz. Edit start install, remove, the initrd.gz and tell it root=/dev/hda7 if your root / partition is the 7th partition. duh.. Be prepared to edit etc/fstab to suite your needs once inside "busybox" this can be edited with nano or vi. Due to a weird issue i was forced to use /dev/discs/disk0/part7 8 and 9 instead of the normal /dev/hda /dev/hdb scheme. I suggest you do something of the same to avoid problems. On an A1200 and no 44 <=> 40 pin ide cable or adapter: Copy /etc/shadow and passwd from a working linux system where you know the password or use the one in there with password amiga on the root account. There is also an amiga user with password amiga. ( AND I DO SUGGEST YOU ARCHIVE THOSE FILES IN A TAR TO KEEP THE GROUP AND PERMS ) Go to "HDToolBox" and configure the drive appropriately. Snippet of how to correctly configure this is present way down here in this readme. To eliminate error and doubt, make them FFS partitions first, and make a file or dir named eg. "format". in each of the partitions. After this is done and the files or folders "format" are created, and the partition is formatted to ffs. Uncheck the automount checkbox in hd toolbox for these partitions. ( IMPORANT! ) I suggest setting up something like a 3-4 gb, one 256 or 512 ( or twice the amount of ram you have for swap ) and one as large as you want home partition. Get the linux kernel 2.4.27 and hd-media initrd.gz from inside the iso ( install directory ): http://cdimage.debian.org/cdimage/archive/3.1_r8/m68k/iso-cd/debian-31r8-m68k-binary-1.iso ( Or get the kernel from the /boot directory in the debian-m68k-x-tar.gz ) Modify startinstall to fit your configuration, placement of vmlinuz and initrd in particular. And add debian-installer/framebuffer=false at the very end of it. http://people.debian.org/~smarenka/d-i/m68k/images/daily/tools/amiga/ Mount the partitions and check that your not nuking the wrong one(s). mkdir /mnt ( if it is not present ) mount /dev/disks/disk0/partX /mnt ls -la /mnt Once this is confirmed: mkfs.ext3 /dev/disks/disk0/partX mkswap /dev/disks/disk0/partY mkfs.ext3 /dev/disks/disk0/partZ Configure startinstall there after, boot, go trough a few , press alt+f2 mount your ffs partition where the debian-m68k.tar.gz hopefully now is located. mount /dev/disks/disk0/partX /mnt cd / tar -zxvpf /hd-media/debian68k.tar.gz Reason for being in / and mounting the target partition to /mnt is because the system files of the tar.gz is in the /mnt folder. Wait, have a cigar, go tip some cows over or throw a party. Then reboot, edit startinstall, maybe rename it to something shorter and 'protect start rwes' and stuff it in c: maybe? Pray, add a user and pray some more ( adduser ilovemike ). If you've configured /etc/fstab correctly you need to activate the swap: swapon -a or swapon /dev/discs/disk0/partY The blob is configured for 2.2.25 and 2.4.27. 2.6 can be dropped in. But i recommend 2.4.27 or 2.2.25. You might want to run dpkg-reconfigure exim and tcpd. Apt and dselect expects to have the debian-31r8-m68k-binary-1.iso mounted in /cdrom Remember to have a copy of that somewhere on your system. The debian-31r8-m68k-binary-1.iso can be mounted with mount -o loop debian-31r8-m68k-binary-1.iso /cdrom Be sure to have FFS partition where you can put the files that need to be transferred to the linux ext2-3 partition. Edit /etc/apt/source.list : The only few debian repo's that still have the m68k port: * ftp.debian-ports.org/debian * ftp.de.debian.org/debian-ports * ftp.ch.debian.org/debian-ports NETWORKING: Network without a supported NIC. ( so far untested ) From http://www.ott.net/knowledge/tcpip-nullmodem/ : ------------------------ Software You need the net-tools and ifupdown packages installed (you’ll probably have those installed anyway). On non-debian systems, take care to have /sbin/slattach installed. Kernel You need “Network device support -> SLIP (serial line) support” (CONFIG_SLIP) enabled. /etc/network/interfaces On machine 1, add the following lines: iface sl0 inet static address 192.168.0.1 netmask 255.255.255.255 pointopoint 192.168.0.2 On the other box, the lines look like: iface sl0 inet static address 192.168.0.2 netmask 255.255.255.255 pointopoint 192.168.0.1 Notice the absence of a second (third) t in pointopoint! slattach Now it’s time to run slattach -s -p slip , e.g. slattach -s 115200 -p slip /dev/ttyS0 on both machines. Bring up the interface You can now ifup sl0 on both machines et voilà – here’s your tcp/ip connection. ------------------------ More usefull info From http://www.debian.org/releases/2.1/m68k/amiga/install.txt : ------------------------ Start HDToolBox, select the disk you want to use, click on the "Partition Drive" button and select/create the partition you want to use as the Debian root filesystem. Now you need to enable the "Advanced options" and change the following items under "Change": Set the filesystem to "Custom Filesystem" or "Reserved Filesystem" (it depends on your HDToolBox version what you get shown here), set the identifier to "0x4c4e5800" (this is the hexadecimal equivalent of "LNX"), disable the "Auto-mount this partition" checkbox, disable "Custom Bootcode", set the "Reserved blocks at" settings to: "2" for start and "0" for end. After having done this, select a partition that is to be used as a swap partition, and repeat the same steps as above, but set the identifier to "0x53575000" instead (this represents "SWP" in ASCII). ------------------------ Even more useful info From http://people.debian.org/~cts/debian-m68k/sarge/ : ------------------------ # I only get a black screen or bogl: don't know screen type x Try debian-installer/framebuffer=false ------------------------ ------------------------ Should you get something like this: --------- E: Dynamic MMap ran out of room E: Error occured while processing osh (NewVersion1) E: Problem with MergeList /var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-m68k_Packages E: The package lists or status file could not be parsed or opened. --------- Add APT::Cache-Limit "42123456"; to /etc/apt/apt.conf and create it if it doesn't exist. ------------------------ Usefull links http://www.captain.at/howto-debian-sarge-base-system-packages.php http://people.debian.org/~cts/debian-m68k/ http://www.linuxonamiga.org/Debian http://people.debian.org/~cts/debian-m68k/kernel-image/ http://www.debian.org/releases/2.1/m68k/amiga/install.txt Ugrading to etch: http://www.debianadmin.com/upgrade-sarge-to-etch.html http://wiki.debian.org/Sarge2EtchUpgrade I take no responsibility for data loss etc. blaa blaa blaah Hope it works! If it doesn't MAIL ME IMMEDIATLY!! There might be missing or unclear points of this readme. If you spot any, mail me. Enjoy! md5sum debian-m68k-1.tar.gz e4f502ddf8affc8a9fb9495c4880f4fa debian-m68k-1.tar.gz