uml-install-suse(1)

NAME

uml-install-suse - setup a root filesystem for user mode
linux

SYNOPSIS

uml-install-suse [ options ]

DESCRIPTION

uml-install-suse is a shell script which can setup a root filesystem for you. It needs a SuSE Linux install medium,
i.e. the DVD or the install tree somewhere on the harddisk
or reachable via NFS. It requires SuSE 8.1 or newer.

By default the script creates the two files "root.img" and
"swap.img" in the current directory and installs SuSE with
the Minimal package selection into the root image. Most
important command line switch for your first steps is
--media <path> to point the script to the install media. Anything else has sensible defaults which should work asis.

The /etc/fstab file in the root filesystem created by the
script expects to have /dev/ubd0 as root filesystem and
/dev/ubd1 as swap device. Thus you should boot the system
this way:

$ linux ubd0=root.img ubd1=swap.img [other options]

OPTIONS

--help print a short summary, list the command line
options and also the default values for the various
options.
--list-selections
list available software selections.
--root-file <file>
file for root filesystem. This can be either a
regular file (which will be created if it doesn't
exist) or a block device here.
--root-fs <type>
root filesystem type. Default is ext2, the script
knows how to handle ext2, ext3, reiserfs and xfs.
--root-size <size>
rootfs size in megabytes
--swap-file <file>
swapfile
--swap-size <size>
swapfile size
--dest <dir>
Destination directory, i.e. the mount point for the
loop-mounted root filesystem image.
--media <dir>
where to install from. This should point to the
toplevel directory of a suse install media. The
script does also accept http and ftp urls.
--selections <list>
which package selections to install. You can spec
ify multiple selections here, separated by whites
pace. But you have to quote the Argument, other
wise the shell will split than into two, i.e. use
it this way:
uml-install-suse --selections "Minimal Kde-Desktop"
--languages <list>
which languages to install. That usually just
installs the packages with the translations where
they are separate (kde and yast2 for example). For
some languages it also installs additional language
support stuff like fonts and input servers for
kanji.
--extra-rpms <list>
which extra rpms to install. You can also prefix
packages with a dash to not install them. For
example you can install sendmail instead of postfix
this way:
uml-install-suse --extra-rpms "-postfix sendmail"
--hostname <name>
set hostname
--copy-etc <dir>
copy config files from <dir> into the /etc direc
tory. You can use that to reduce the configuration
work for your virtual machines by setting up a
directory with adapted config files. An
resolv.conf file with the correct name server for
example, or some /etc/sysconfig files.
--services <list>
enable services (i.e. /etc/init.d start scripts).

SEE ALSO

uml_mconsole(1), uml_switch(1)
http://user-mode-linux.sourceforge.net/

AUTHOR

Gerd Knorr <kraxel@suse.de>
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout