Site Home Page
The UML Wiki
UML Community Site
The UML roadmap
What it's good for
Case Studies
Kernel Capabilities
Downloading it
Running it
Skas Mode
Incremental Patches
Test Suite
Host memory use
Building filesystems
User Contributions
Related Links
The HOWTO (html)
The HOWTO (text)
Host file access
Device inputs
Sharing filesystems
Creating filesystems
Resizing filesystems
Virtual Networking
Management Console
Kernel Debugging
UML Honeypots
gprof and gcov
Running X
Diagnosing problems
Installing Slackware
Porting UML
IO memory emulation
UML on 2G/2G hosts
Adding a UML system call
Running nested UMLs
How you can help
Kernel projects
A virtual network
An X session
A login session
A debugging session
Slackware installation
Kernel switches
Slackware README
ALS 2000 paper (html)
ALS 2000 paper (TeX)
ALS 2000 slides
LCA 2001 slides
OLS 2001 paper (html)
OLS 2001 paper (TeX)
ALS 2001 paper (html)
ALS 2001 paper (TeX)
UML security (html)
LCA 2002 (html)
WVU 2002 (html)
Security Roundtable (html)
OLS 2002 slides
LWE 2005 slides
Fun and Games
Kernel Hangman
Disaster of the Month

The Slackware installation README

This is the README from the uml Slackware installation kit. The kit contains a root filesystem which will run the installation and this README. You can see a transcript of an installation here.

inst_fs_slackware_7.0 contains a filesystem that the user-mode kernel can use to generate a Slackware root filesystem, given access to a Slackware distribution. This has been tested for Slackware 7.0. If the Slackware install procedure is reasonably stable, it might work for other releases, as well. If you try it on a different release, let me know whether it worked or not, and what, if anything, needed to be done different from the instructions below.

To run the installation procedure, do the following:

  1. Get a user-mode kernel. Any kernel from the user-mode linux download page will do.
  2. Make a file to contain the Slackware installation:
    host% dd if=/dev/zero of=root_fs_slackware bs=$((1024*1024)) count=100
    The "100" is the size in megabytes of the filesystem - Choose that number according to what you want to install. These are the approximate installation sizes of the various series:
    See README7.TXT at the top level of the distribution for more details.
  3. Make a filesystem in that file:
    host% mke2fs root_fs_slackware
  4. Run the kernel as follows:
    host% linux ubd0=inst_fs_slackware_7_0 ubd1=root_fs_slackware ubd2r=/dev/cdrom devfs=nomount rw
    Replace "/dev/cdrom" with the path to the Slackware distribution CD on your system. It can be the CD-ROM device file or a file that contains the ISO image of the CD. It cannot be a directory containing the CD-ROM directory tree. I.e. if your CD-ROM device is /dev/cdrom and it's mounted on /mnt/cdrom, pass /dev/cdrom on the linux command line, not /mnt/cdrom.
  5. You will get four xterms popping up, one of which contains the system log, and the other three of which contain login prompts.
  6. Log in as 'root' with no password.
  7. Run fdisk on /dev/ubd1 to put a partition table on the new filesystem:
    host% # fdisk /dev/ubd1
    o [return]
    to make a new partition table
    n [return]
    p [return]
    1 [return]
    to create a single partition spanning the whole device
    w [return]
    to write it out
  8. Run 'setup'.
  9. Answer the questions. The following answers work for me. Others may work as well.
    	Remap your keyboard :  2
    	Continue without a swapfile :  y
    	[a]dd more software, or [i]nstall from scratch :  i
    	Install fresh, or add software to your current system :  i
    	format this partition :  n
    	From which source will you be installing Linux :  5
    	CD-ROM type :  1
    	Enter device name :  /dev/ubd2
    	Which type of installation do you want :  slakware
    	Which software sets do you want to install :  [ up to you... ]
    	Do you want to use (slow) PROMPT mode :  [ up to you... ]
    Setup will now install everything you asked for. If you selected prompt mode, it will ask you whether you want each optional package.
    	It is recommended that you make a boot disk :  n
    	Modem Setup :  n
    	Mouse Setup :  n
    	Do you have a CD-ROM :  n
    	Would you like to try out some custom screen fonts :  n
    	Configuration of 'gpm' :  n
    	Would you like to configure your timezone :  [ up to you... ]
    	Would you like to set a root password :  y
  10. Untar /initfiles.tar:
    UML# cd /mnt
    UML# tar xpf /initfiles.tar
    This is needed so that the filesystem will boot a kernel that has devfs turned on.
  11. UML# halt
    This will hang after "INIT: no more processes left in this runlevel". Do a ps and kill all the "linux" processes, plus the leftover xterm.
  12. Boot the newly installed filesystem:
    host% linux ubd0=root_fs_slackware
Hosted at SourceForge Logo