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
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.