PIROVANO
1 Alix Slackware
1.1 Install
This Install guide is ment for non-vga-Alix, however, installing Slackware on vga-Alix with external CD-Drive onto either a CF or 2.5" HDD (don't connect both simultaneously) works by ignoring the section Setting up VMware.
CF disks installed on a vga-Alix may be used in a non-vga-Alix as well.
Requirements
- Alix Hardware from PC Engines
- Slackware 12.1 or 12.2 CD1/DVD Image
- Standard PC/Notebook
- Virtual Machine e.g. WMware (with USB support and/or direct drive access)
- CF/Microdrive 512MB minimum (CF <= 128MB is possible, yet not applicable to this How-To)
- CF connectivity to your PC (CF-slot-built-in, PCMCIA-CF-Adapter, USB-IDE- + IDE-CF-Adapter)
Setting up VMware
- First put your CF into your PC/Notebook, start VMware, create a VirtualMachine for Linux 2.6.x, remove any Harddrive, USB, Sound, and add a new Harddisk as entire Physical Disk (to your CF. Be careful NOT to take your System-Disk. Whatch the size after having selected!!!). Connect the CD with your Slackware-Image. Start and Boot off CD.
OR
- If you connect your CF via USB, start VMware, create a VirtualMachine for Linux 2.6.x, create Virtual Disk 1GB IDE 0:0, keep USB, Connect the CD with your Slackware-Image. Start and Boot off CD.
Partitioning
After having selected your Keyboard and typed root,
- type cfdisk /dev/hda
- create one primary partition.
- select bootable, write, quit.
- If your CF is connected via USB, stick or re-stick it in, so that the USB-Logo appears on the bottom-right corner of VMware.
- type cfdisk /dev/sda
- create one primary partition.
- select bootable, write, quit.
Installing Slackware
- type setup
- select Target. If you have both /dev/hda1 and /dev/sda1, select /dev/sda1 only!. Otherwise you go with /dev/hda1.
- Format with ext2.
- Select CD Auto etc.
- Uncomment everything but A (Basic) and N (Network).
- Select menu.
- Deselect Kernel-generic, Kernel-generic-smp, Kernel-huge, Kernel-modules. So that Kernel-huge-smp and Kernel-modules-smp remains.
- Enter, Enter. Now Packages from A and N are beeing installed onto your CF or Microdrive.
- After installation you are asked for Mouse, Screen Fonts, lilo Linux loader, root password (give one) etc. Just type Enter until!!! Network appears:
- select Static IP
- Delete the given IP-Address and type 192.168.0.1 or one which fits into your network you can access afterwards.
- Netmask: 255.255.255.0
- Leave Gateway empty and select no to Nameserver.
- Now you are back to the setup menu. Exit.
Important
If you've chosen /dev/sda1 for installation, do the following:
- vi /mnt/etc/fstab, replace sda1 with hda1, :write :quit
- vi /mnt/etc/lilo.conf, replace any sda with hda and sda1 with hda1, timeout = 1200 should receive a value with two digits. :write :quit
- lilo -C /mnt/etc/lilo.conf -b /dev/sda (you may ignore some warnings).
Final step
- ##echo "/sbin/modprobe via-rhine" >> /etc/rc.d/rc.modules
- echo "alias eth0 via-rhine" >> /etc/modprobe.d/via-rhine #If you have multiple RJ-45 on your alix, do the same with eth1, eth2 etc.
- chmod -x /etc/rc.d/rc.udev
- chmod -x /etc/rc.d/rc.pcmcia
- reboot
- Shutdown VMware when it wants to boot again.
- Now we are ready to stick the CF in your alix and give it power!
- The first boot (or if the filesystem is beeing checked) can take a few minutes.
- Connect to alix with SSH/putty using 192.168.0.1 or the IP you entered. Type root followed by your given password. (Network-Cables of course must be connected, and ensure that your PC is in the same network: If your alix has 192.168.0.1, your pc should have something between 192.168.0.2 and 192.168.0.254).
Copyright 2009 pirovano.ch. Last modified 2009-08-03 1200 CEST.
E-Mail: pirovano(at)[this-very-domain]