Klaus Knopper answers your Linux questions
Ask Klaus
Migrating a Linux OS from DVD to flash.
Klaus: I am a newbie, and I have an XPS Dell laptop in excellent condition (still rather new, about a year old) except for ONE THING – it has "buggy" Windows 8 on it. I'd like to wipe the laptop's hard drive and do a full, non-partition installation of Linux using a CD supplied by Linux Pro Magazine. However, my laptop does not have a CD/DVD drive but rather has two USB 3.0 ports.
I do have a Dell XPS Studio 9100 desktop running Windows 7 Professional, and it does have a CD drive. That having been said, can I simply insert the CD, open a My Computer window, click and drag the contents to an empty flash drive, then transfer the flash drive to my laptop where I can do a clean install of Linux?
There must be a good reason that Linux OS installations in magazines are on CDs rather than on flash drives, but I'd like to know why.
Thanks for any advice you can offer.
Sincerely, Terrell
First, a word about CDs and DVDs as add-ons to magazines: It is true that a more modern way would be to include USB flash disks rather than DVDs. However, a DVD does not add significant cost to the production, and the process of gluing the DVD holder into the print medium is technically well supported. Inserting a USB flash disk would increase the price of the magazine so that readers who buy the magazine for the written content, and not especially for the included software, would face a price challenge that might not be acceptable.
Apart from the significantly higher production cost, mass-flashing USB drives is a more time-intensive task. CDs and DVDs are printed in a production line within a day, but "bulk flashing" requires manual insertion and removal, as well as verification of the content, which further increases the time and cost needed for production. So, it looks like we will have DVDs around as the primary "physical software container" for a while, even though drives are getting rare.
An obvious solution to your problem could be to attach a USB DVD drive or burner to the computer's USB port. The BIOS and even UEFI firmware of most computers will detect the drive and allow booting from it using the standard "El Torito" method [1].
Please note that booting from DVD differs from booting a disk or flash disk. A DVD does not have a "master boot record" but uses a special structure that tells the computer's BIOS where the bootloader is located. Therefore, just copying over the CD's content to a USB flash disk is not going to make it a bootable device. The flash drive needs its own version of a bootloader. Luckily, some tools provide an easy migration from DVD or CD to the flash medium or allow you to download Linux installation software directly to USB:
- UNetbootin – This tool creates bootable installation USB drives for various Linux distributions. UNetbootin is also open source software, and it runs on Windows, Linux, and Mac OS [3] (see Figure 2).
- Pen Drive Linux offers a collection of USB installation tools online [4].
- Knoppix provides its own USB flash installer, flash-knoppix [5], which also allows you to encrypt personal data in the Live system or run updates on the flash drive, but it's strictly Knoppix-specific (Figure 3).
If your computer gives you the choice, switching from UEFI mode to CSM (Compatibility Support Module, or the "normal" BIOS boot) will make installation of Linux distributions and booting from Live media easier.
Infos
- El Torito bootable CD specification: http://en.wikipedia.org/wiki/El_Torito_(CD-ROM_standard)<
- Rufus: http://rufus.akeo.ie/
- UNetbootin: http://unetbootin.sourceforge.net/
- USB tools: http://www.pendrivelinux.com/
- flash-knoppix: http://www.knopper.net/knoppix/knoppix742-en.html#nodvd
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.