September 5, 2016

How ti install Slackware 1.01 in Virtualbox

Forums: 

How to install Slackware 1.01 in Virtualbox.

Youtube video

https://www.youtube.com/watch?v=T9uDdXZOoak

 

Download Tiny Core Linux
firefox  http://tinycorelinux.net/7.x/x86/release/TinyCore-current.iso

Next we have to create a directory to do the work in
 [tonee@localhost ~]$ mkdir ~/Slackware1.01install

Copy the iso file we downloaded to the work directory
   In my case the file was downloaded to ~/Downloads
[tonee@localhost ~]$ cp ~/Downloads/TinyCore-current.iso ~/Slackware1.01install
 
   Change to work directory
  [tonee@localhost ~]$ cd ~/Slackware1.01install

Sudo to root
   [tonee@localhost Slackware1.01install]$ sudo su

   Mount the iso image
   [root@localhost Slackware1.01install]# mount -o loop TinyCore-current.iso /mnt

   Creat a directory to extract core.gz
   [root@localhost Slackware1.01install]# mkdir root
   [root@localhost Slackware1.01install]# cp /mnt/boot/core.gz .
   [root@localhost Slackware1.01install]# cp /mnt/boot/vmlinuz root
   [root@localhost Slackware1.01install]# gunzip core.gz
   [root@localhost Slackware1.01install]# cd root
   [root@localhost root]# cpio -id < ../core

Create a directory slack
   [root@localhost root]# mkdir slack
   
   
Download Slackware 1.01 from slackware.com
   [root@localhost root]# cd slack                  

   [root@localhost slack]# wget -r --no-parent --reject "*.md5*,*.meta4,*.sha*,*mirror*,*index*"  http://mirrors.slackware.com/slackware/slackware-1.01/
                           
   [root@localhost slack]# for f in mirrors.slackware.com/slackware/slackware-1.01/a*/DISK* ; do mv -- "$f" "$(tr [:upper:] [:lower:] <<< "$f")" ; done   
   [root@localhost slack]# for f in mirrors.slackware.com/slackware/slackware-1.01/x10/DISK* ; do mv -- "$f" "$(tr [:upper:] [:lower:] <<< "$f")" ; done

  [root@localhost slack]# mkdir ../isolinux

On my system Arch Linux.If your version of syslinux is below 5.0 only copy isolinux.bin
   [root@localhost slack]# syslinux --version
                           syslinux 6.03  Copyright 1994-2014 H. Peter Anvin et al

 

   [root@localhost slack]# cp /usr/lib/syslinux/bios/{isolinux.bin,ldlinux.c32} ../isolinux
   
Create syslinux.cfg vi or nano
   [root@localhost slack]# vi ../isolinux/syslinux.cfg
   Add:
      PROMPT 1
      TIMEOUT 50
      DEFAULT TC
 
      LABEL TC
         LINUX ../vmlinuz
         INITRD ../core.gz
         APPEND loglevel=3
Save the file.

   [root@localhost slack]# cd ..
   [root@localhost root]# mv core.gz core.gz_orig
   root@localhost root]# find . | cpio --create --format='newc' > ../core
   [root@localhost root]# gzip ../core
   [root@localhost root]# cp ../core.gz .
   [root@localhost root]# cd ..

Create iso image
   [root@localhost Slackware1.01install]# mkisofs -D -o tcboot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table root
   
Create floppy boot image
   
   [root@localhost Slackware1.01install]# dd if=root/slack/mirrors.slackware.com/slackware/slackware-1.01/a1/a1disk of=boot.img
   [root@localhost Slackware1.01install]# umount /mnt

 

Start Virtualbox

  Click New at upper left
  Fill in and sellect fields
  Name: Slackinstall
  Type: Linux
  Version: Other Linux(32-bit)
  Click Next>
  Set Mimory size
  On my system I set it to 3000 MB
  Click Next>
 
  Sellect Create a virtual hard disk now
  Click Create

  Sellect VDI(VirtualBox Disk Image)
  Click Next>

  Sellect Fixed size
  Click Next

  Sellect 200.00 MB
  Click Create

  Click Settings at upper left next to New

  Click Storage on the left

  Click Controller.IDE
  Click the blue floppy icon that has the +
  Click Add Optical Drive
  Click Choose disk
  Click tcboot.iso
  Click Open

  Click Controller.IDE
  Click the green floppy icon that has the +
  Click Add Floppy Controller
  Click Controller:Floppy
  Click the blue floppy icon that has the +
  Click Choose Disk
  Click boot.img
  Click Open
 
  Click System on the upper left
  On the right you will see Boot Order:
  Use up arrow to move Floppy to the top of the list
  Click the green Start arrow on the top
  After system boots log in as root. No password is required.
 
  Partition virtual drive
  darkstar:/# fdisk
  Command (m for help):n
  Command action
  e extended
  p primary partition (1-4)
  p
  Partition number (1-4): 1
  First cylinder (1-406): 1
  Last cylinder o r +size or +sizeM or +sizeK (1-406): 203

 Command (m for help):n
  Command action
  e extended
  p primary partition (1-4)
  p
  Partition number (1-4): 2
  First cylinder (204-406): 204
  Last cylinder o r +size or +sizeM or +sizeK (204-406): 406
 
  Command (m for help): w
  The partition table has been altered!
    hda: hda1 hda2
Syncing disks
Reboot your system to ensure partition table is updated
darkstar:/# reboot

  darkstar:/# mke2fs -c /dev/hda1
  darkstar:/# mke2fs -c /dev/hda2

Power off the virtual machine

Click System on the upper left
Click System on the left
On the right you will see Boot Order:
  Use up arrow to move Optical to the top of the list
  Click the green Start arrow on the top

  boot:TC

  tc@box:~$ sudo su
  root@box:/home/tc# mount -t ext2 /dev/sda2 /mnt
  root@box:/home/tc# mkdir /mnt/install
  root@box:/home/tc# cp -R /slack/mirrors.slackware.com/slackware/slackware-1.01/* /mnt/install
  root@box:/home/tc# umount /mnt

Power off the virtual machine
Click System on the upper left
  On the right you will see Boot Order:
  Use up arrow to move Floppy to the top of the list
  Click the green Start arrow on the top
  After system boots log in as root. No password is required.

  darkstar:/# doinstall /dev/hda1

Welcome to the Slackware Linux installation program (v. 1.01).

  1 - Install from Floppy Disk

  2 - Install from Hard Disk
  3 - Install from Tape
  4 - Istall from CDROM
  5 - Install from Network (via NFS)

Where will you be installing Linux from? 2
Enter the partition that the source is on (eg. /dev/hda1): /dev/hda2
Enter the type of the filesystem (minix/ext2/msdos)ext2

  1 - Install the base Slackware Linux disks (series A)
  2 - Install the Slackware series A + Slackware or SLS series X (X11)
  3 - Install the Slackware series A + X (X Windows) + T (Tex support)

Enter type of install (1 or 2):1

Install LILO
Pick option 2

 

Power off the virtual machine
Click System on the upper left
  On the right you will see Boot Order:
  Use up arrow to move Hard Disk to the top of the list
  Click the green Start arrow on the top
  After system boots log in as root. No password is required.

Welcome to Linux 0.99pl12.

darkstar login: root
Linux 0.99pl12. (Posix)
No mail.
darkstar:/#

Enjoy your old school Linux system:) 

Click Here!