Jump to content

Software remastering

From Wikipedia, the free encyclopedia

Software remastering is the creation of a customized software distribution or installation image from an existing release. In operating-system projects, the process commonly begins with a vendor or distribution image, changes its package selection, files, defaults, language, drivers, or artwork, and then builds a new bootable or installable image.[1][2]

Introduction

[edit]

A typical live-system remaster starts by extracting an existing image and its compressed root file system. The builder changes packages and configuration inside a working copy, then regenerates the file system and bootable image. Ubuntu's customization guide describes this process using a chroot environment, package-management tools, SquashFS, and ISO-building utilities.[1]

Build systems can also generate a customized image from configuration rather than modifying a finished ISO directly. Debian's live-build supports custom package lists, files, artwork, build-time hooks, and boot-time hooks.[2][3] Remastered images are used for localized distributions, recovery media, appliances, and repeatable deployment images.

Linux

[edit]

Mklivecd runs on a Linux machine to make a bootable, portable media, image of that Linux system. It works for any Linux distribution, but probably needs to be installed first.

PCLinuxOS

[edit]
Family tree showing PCLinuxOS in green near the end

A remaster[4] is a personalized version of PCLinuxOS created according to the needs of an individual. It is created using the mklivecd script applied to its installation, which can be of any of the official flavors of PCLinuxOS. An official remaster can only include software and components from the official repository (version control).

A community remaster may contain software and components from outside but if so, then it should not have any reference to PCLinuxOS other than "derived from PCLinuxOS" or "based on PCLinuxOS" if intended for distribution. There have been several of these third-party distributions over the years, though they may only mention that connection if they follow strict guidelines concerning the quality, maintainability and distribution channels, all subject to approval from officiating members of the forum.

PCLinuxOS Gnome Edition is an example of a community remaster.

Unity Linux

[edit]

Unity Linux is intended as a base platform that acts as a distribution "template" that ensures interoperability between packages, and upon which one is encouraged to remaster any "all new" Linux OS distributions.

Linux Mint

[edit]

Linux Mint has its own remastering tool called mintConstructor for creating distributions based on Linux Mint, and for creating ISO files. Also, the package manager uses .mint files.[5]

Linux Mint is based on Ubuntu, which is itself based on Debian. Because Linux Mint also offers a Debian Edition, the project illustrates the challenges of remastering a branch of two distributions.

Others

[edit]

Gentoo Linux uses Catalyst.[6] The user installs it and configures it, and after it runs, gets one big archive-formatted file under /var/tmp/catalyst/builds. Configuration options are the target machine architecture, development version stamp, a differentiation stamp (for example the same version but "hardened" for extra security). The user must provide Catalyst its own snapshot of his portage tree and point it to a target "profile" branch of the portage tree. (A portage tree is a hierarchy of directories, oriented by the names and categories of packages, that some package managers use for the normal everyday maintenance of software.)

Fedora Linux uses Revisor to enable the user to compose his own customized installation or live media.

Arch Linux uses Archiso to remaster an Arch installation to target a machine which has rare hardware or no Internet connection, or for cases where a modified deployment will occur multiple times. The remastered ISOs are bootable, so they can also be used for system rescue, demonstrations of the Arch setup, as a task for testing some new software installed on it, a rollout of a custom installation onto many machines, etc. The Arch Linux wiki also gives the procedure to do manually[7] what Archiso does automatically. (It involves copying portions of the installation ISO, and using the Linux commands mount, mkdir, chroot, mksquashfs, and the Arch package manager pacman.)

MX Linux uses MX-snapshot, a GUI tool, to remaster a live installation into a single .ISO file. This quickly and conveniently "cloned" image is bootable from disk or USB-thumbdrive while maintaining all settings. This way, an installation can conveniently migrated or distributed to a new hard-disk or USB-thumbdrive requiring next to no administrative effort, since an advanced method of copying the file system (developed by antiX-linux) utilizing bind-mounts performs the "heavy lifting". The snapshot also serves as an essentially complete and convenient backup of the installation.

Microsoft Windows

[edit]

The examples in this section show some historical and operational aspects of the software remastering as it has occurred with Microsoft Windows.

Windows 9x

[edit]
Desktop of Windows Me with 98lite

98lite

[edit]

98lite is a remastering tool for Windows 95, Windows 98 and Windows Me without Internet Explorer, written by Shane Brooks.[8] It was written in response to Microsoft's claim, in antitrust proceedings, that IE is integrated into Windows and cannot be removed without breaking other features.

98lite was created in 1998 after the original release of Windows 98, out of necessity, since at the time Brooks had a slower laptop computer that ran the Windows 95 operating system fine but Windows 98 was simply too slow. Brooks liked the stability Windows 98 offered as well as some of the new features but had no need for the Internet Explorer browser. The original 98lite was a simple DOS based installer that ran before the Windows 98 installation, this installer made modifications to a fresh installation of Windows preventing the installation of Internet Explorer and the Active Desktop.

Installation of the first release of 98lite required the user to extract certain files from a Windows 95 disk as 98lite uses the Windows 95 shell. A second program called Shell Swap swapped the Explorer shell with the Windows 95 Explorer, which does not contain the web features of Me's and 98's Explorer and is therefore considerably faster and more lightweight, this was designed for existing installations of Windows 98 where the original 98lite was designed for a new installation of Windows. A third program converted "required" components into addable and removable options.[citation needed]

With version 2.0 of 98lite, the three programs were merged and combined into a single program. The IE remover was combined with the components converter, making IE uninstallable and reinstallable with the Add/Remove Programs control panel applet as with the other components; the user could also choose the Windows 95 shell and keep Internet Explorer installed. The user now had three installation options. The "sleek" option allowed the user to install 98lite with the Windows 95 shell like in the original release, or the user could choose "chubby", which used the Windows 98 shell with some Active Desktop features disabled. The final option was "overweight", which installed 98lite with the Windows 98 shell and nothing disabled but Internet Explorer still removed. Version 3.0 added support for Windows 98 Second Edition, an upgraded version of Windows 98 with Internet Explorer 5.0 which made 98lite 1.0 through 2.0 obsolete. The current 4.x line has many improvements, including bugfixes and support for Windows Me.

Installing any version of DirectX under 98lited Windows requires at least temporary presence of PC Health. Otherwise DirectX refuses to install, finishing installation attempt with error message "DirectX did not copy a required file".[citation needed]

Embedded

[edit]

There is also a company spun off from Lite-PC that produces Windows 98 and Me installations which are small enough to easily fit on embedded microchips, as small as 8MB,[9] using 98EOS. There are also many free alternatives to this, such as Mindows[10] and Nano98,[11] which can provide either smaller file sizes, or more broad functionality.

Windows 2000 and later

[edit]

2000-XPLite

[edit]

The creator of 98lite also built a similar tool for Windows 2000 and Windows XP, called 2000-XPLite, which removes Windows components that are not intended to be removable. This includes Out-Of-Box Experience, Internet Explorer, Outlook Express, Windows Media Player, and others. 2000-XPLite also allows tweaks to the Operating System to enhance its performance.

2000-XPLite does not use a text interface as did 98lite. Like 98lite, 2000-XPlite installs Windows with all components, and then removes unwanted components after installation.

nLite

[edit]

nLite is designed to remove unwanted Windows 2000, Windows XP (32 and 64 bit) and Windows Server 2003 system components, and create cut-down customized installation CDs. nLite was built by Dino Nuhagić and is free for personal use with purchase options available. In September 2014, a beta-version for Windows 7 and later was publicly released.[12]

After the user chooses the wanted 'functionality' options, nLite attempts to warn the user against removing dependent components during the creation of a custom installer. It also lets users add device drivers, integrate Service Packs and other Windows Updates as well as remove drivers for obsolete or unwanted hardware and remove unwanted language and keyboard options and unwanted applications.

It allows customization of the installation process, including Product Key entry, administrator's password, regional settings and creating user account names and other options normally set in Control Panel after installation, as well as numerous 'tweaks'. Various degrees of 'unattended installation' are also possible. At the end of the installer creation process, nLite can burn the installation direct to CD, or create an .iso image for later use. It also has the option of saving and loading previous session choices, (in .txt format) to speed up checking or further modification of the custom installation, should that be required.[13]

Since the custom installer does not contain unwanted components, this can lead to a smaller installation package and faster installation, which is of considerable benefit to IT Staff still using a manual 'roll out' approach (without the benefit of Microsoft Sysprep). Such software-minimized CDs can also allow a Windows system to be installed on hard disks below 512 MB in size.

Autostreamer

[edit]

Autostreamer is a free slipstreaming tool for Windows XP,[14] which can integrate a service pack into a Windows XP installation CD-ROM image.

The main interface of Autostreamer is a wizard which guides the user through the slipstreaming process. According to PC World, it "simplifies the once-intimidating chore of slipstreaming your Windows XP CD—producing an XP SP2 CD from your SP1 or even vintage original XP CD".[15]

DriverPacks

[edit]

The DriverPacks project is an open source project started by Wim Leers and Jeff Herre. Leers released the first Pack in 2005.[16]

Collections of device drivers are called DriverPacks. These exist for CPU Chipsets, CPU, Graphics/Video, Ethernet, Mass Storage/Removable/USB, Audio/Sound and Wireless (Wi-Fi/WLAN) hardware. DriverPacks BASE is a tool that integrates all DriverPacks into one, "uniform" Windows installation CD, which works on every piece of hardware, and needs no additional device drivers after the installation.

It is compatible with all Windows versions based on the NT 5.x 32-bit kernel (Windows 2000, Windows XP, Windows Server 2003.

Windows Vista

[edit]

vLite

[edit]

vLite is the Windows Vista (32 and 64 bit) version of nLite, that can create a cut-down customized installation CD (or bootable USB stick).[17]

Some people have reported success using vLite with Windows 7;[18][dubious – discuss] vLite is not fully compatible with Windows 7 and was not intended to support Windows 7.[19] In Sept. 2014, ntLite was released to support Windows 7 and later.

Windows 7 and later

[edit]

ntLite

[edit]

ntLite is a software tool from the creator of nLite to support Windows 7, Windows 8, Windows 8.1, and Windows 10.[17]

ntLite also prevents components from being installed and can remove them from an already-installed system when using a paid version.

See also

[edit]

References

[edit]
  1. 1 2 "LiveCDCustomization". Ubuntu Community Help Wiki. Retrieved 30 October 2026.
  2. 1 2 "Customization overview". Debian Live Manual. Debian Live Project. Retrieved 30 October 2026.
  3. ↑ "Customizing contents". Debian Live Manual. Debian Live Project. Retrieved 30 October 2026.
  4. ↑ "PCLOS Remasters - PCLinuxOSHelp Knowledge Base".
  5. ↑ Cite mintInstall documentation.
  6. ↑ "Catalyst - Gentoo Wiki". wiki.gentoo.org.
  7. ↑ "Archiso - ArchWiki". wiki.archlinux.org.
  8. ↑ LitePC, Website of 98lite and 2000-XPlite
  9. ↑ "Screenshots of Embedded Windows 98, 98SE, ME". Archived from the original on 2012-10-19. Retrieved 2012-10-19.
  10. ↑ "NEWS \\ Winimize.com". February 8, 2011. Archived from the original on 2011-02-08.
  11. ↑ Nano98
  12. ↑ "nLite home page". Retrieved 1 November 2014.
  13. ↑ "nLite guide". Retrieved 11 June 2014.
  14. ↑ Autostreamer, Slipstreaming SP1a or SP2 to XP
  15. ↑ "Autostreamer". Utilities Download. PC World. 19 September 2007. Archived from the original on 26 January 2010. Retrieved 18 February 2010.
  16. ↑ "About | DriverPacks.net". driverpacks.net.
  17. 1 2 "NTLite".
  18. ↑ "How to vLite Windows 7 Beta 1 and install it on a 901 using an SD card". 13 January 2009. Archived from the original on 1 February 2009. Retrieved 17 July 2023.
  19. ↑ Flynn, David (29 April 2009). "No plans for '7Lite' reveals vLite creator". APC Magazine. Retrieved 3 March 2010. And although vLite does work with Windows 7 beta and the RC candidate builds, there's obvious interest in an updated program tailored for Windows 7.
[edit]