You need a disk image to hold the operating system, tools, chroots, and such. 2GB is a practical lower limit on size. My buildds have 10GB for multiple choots and leftover buildd trees. Don't forget swap space.
You can download an existing disk image or create one from scratch. ["Aranym"] can be configured to use two disk images at a time.
Download from the aranym folks http://wiki.aranym.org/afs/setup_linux#aranym_linuxm68k_resources
Download a 4GB etch-m68k [http://people.debian.org/~smarenka/aranym/disk1.img.bz2 image] (137 MB).
- Create from [#scratch scratch].
?Anchor(scratch)
Scratch
You need to create the disk image file before aranym will do anything with it. Then you can use the aranym menu to create a custom disk image.
echo blah > disk1.img aranym-mmu -G
Choose Disk from the menu and set the path for Hard disk IDE0 to point to the image file you created. Set the Disk Size to your desired size. Hit Generate Disk Image and allow the file to be overwritten. You will need to note the Cylinders, Heads, and Sectors per track.
Since a disk size of 4096MB has Cylinders = 8322, Heads = 16, and Sectors per track = 63 and creates a file of size 4294950912. We can also do the following.
dd if=/dev/zero of=disk1.img count=4294950912
or to be sparse.
dd if=/dev/zero of=disk1.img bs=1 count=0 seek=4294950912
A 10GB disk would have Cylinders = 20805 and a file size of 10737377280.
You need some minor changes to the LILO section of your ["Aranym/Configuration"] file to boot ["DebianInstaller"].
Args = root=/dev/ram console=tty fb=false debug=par suite=etch-m68k modules=etch-support Ramdisk = initrd.gz
Where Ramdisk comes from ["DebianInstaller"] and suite=etch-m68k modules=etch-support are required for etch-m68k installation.
You also need to have the FastRAM set to something like 64. Larger numbers cause problems with debian-installer, but not later on the installed system (it's ramdisk related).
?Anchor(di)
Debian Installer
["DebianInstaller"] lends itself to answering the questions as you go. All successful d-i aranym testing has been done with the nativehd initrd, so all you need is a [http://people.debian.org/~smarenka/d-i/m68k/images/daily/kernels/vmlinuz-2.6.24-1-atari kernel] and an [http://people.debian.org/~smarenka/d-i/m68k/images/daily/nativehd/initrd.gz initrd]. I recommend the [http://people.debian.org/~smarenka/d-i/m68k/images/daily/ daily] images (what will be the lenny installer) no matter what you're installing.
d-i working notes:
- current initrd's seem to have display problems where older ones didn't: 20080509 and before works 0510+ doesn't
- network dhcp config problems, works static (could be my net)
wget && udpkg -i libparted1.7-udeb_1.7.1-5.2_m68k.udeb parted-udeb_1.7.1-5.2_m68k.udeb (Execute a Shell at timezone setup)
- following the prompts gets through base to tasksel.
- takes about an hour on a moderately fast pc to get to tasksel.
- security updates will fail because etch-m68k doesn't have any.
- have to kill off aranym, since it restarts with the existing config which has the wrong kernel args. (does aranym have a switch to disable reboots?)
disk image notes
- disk image has password root/root (probably should delete password)
- should kill off smarenka account
- change network to dhcp
- install openssh-server
- make sure other services aren't running
- skipped tasksel on the image (unselected standard system, so probably missing some stuff).
- install standard buildd software
?Anchor(preseed)
Preseeding
More to follow. I plan on documenting my d-i regression testing config here with notes.