Welcome to the new Linux Foundation Forum!

How ti install Slackware 1.01 in Virtualbox

damxdamx Posts: 1
edited September 2016 in Off Topic

How to install Slackware 1.01 in Virtualbox.

Youtube video

 

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

 [[email protected] ~]$ mkdir ~/Slackware1.01install

Copy the iso file we downloaded to the work directory

   In my case the file was downloaded to ~/Downloads

[[email protected] ~]$ cp ~/Downloads/TinyCore-current.iso ~/Slackware1.01install

 

   Change to work directory

  [[email protected] ~]$ cd ~/Slackware1.01install

Sudo to root

   [[email protected] Slackware1.01install]$ sudo su

   Mount the iso image

   [[email protected] Slackware1.01install]# mount -o loop TinyCore-current.iso /mnt

   Creat a directory to extract core.gz

   [[email protected] Slackware1.01install]# mkdir root

   [[email protected] Slackware1.01install]# cp /mnt/boot/core.gz .

   [[email protected] Slackware1.01install]# cp /mnt/boot/vmlinuz root

   [[email protected] Slackware1.01install]# gunzip core.gz

   [[email protected] Slackware1.01install]# cd root

   [[email protected] root]# cpio -id < ../core

Create a directory slack

   [[email protected] root]# mkdir slack

   

   

Download Slackware 1.01 from slackware.com

   [[email protected] root]# cd slack                  

   [[email protected] slack]# wget -r --no-parent --reject "*.md5*,*.meta4,*.sha*,*mirror*,*index*"  http://mirrors.slackware.com/slackware/slackware-1.01/

                           

   [[email protected] slack]# for f in mirrors.slackware.com/slackware/slackware-1.01/a*/DISK* ; do mv -- "$f" "$(tr [:upper:] [:lower:] <<< "$f")" ; done   

   [[email protected] slack]# for f in mirrors.slackware.com/slackware/slackware-1.01/x10/DISK* ; do mv -- "$f" "$(tr [:upper:] [:lower:] <<< "$f")" ; done

  [[email protected] slack]# mkdir ../isolinux

On my system Arch Linux.If your version of syslinux is below 5.0 only copy isolinux.bin

   [[email protected] slack]# syslinux --version

                           syslinux 6.03  Copyright 1994-2014 H. Peter Anvin et al

 



   [[email protected] slack]# cp /usr/lib/syslinux/bios/{isolinux.bin,ldlinux.c32} ../isolinux

   

Create syslinux.cfg vi or nano

   [[email protected] 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.

   [[email protected] slack]# cd ..

   [[email protected] root]# mv core.gz core.gz_orig

   [email protected] root]# find . | cpio --create --format='newc' > ../core

   [[email protected] root]# gzip ../core

   [[email protected] root]# cp ../core.gz .

   [[email protected] root]# cd ..

Create iso image

   [[email protected] 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

   

   [[email protected] Slackware1.01install]# dd if=root/slack/mirrors.slackware.com/slackware/slackware-1.01/a1/a1disk of=boot.img

   [[email protected] 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

  [email protected]:~$ sudo su

  [email protected]:/home/tc# mount -t ext2 /dev/sda2 /mnt

  [email protected]:/home/tc# mkdir /mnt/install

  [email protected]:/home/tc# cp -R /slack/mirrors.slackware.com/slackware/slackware-1.01/* /mnt/install

  [email protected]:/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:) 

Comments

Sign In or Register to comment.