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 Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4
-
Fedora Unleashes Atomic Desktops
Fedora has combined its solid distribution with rpm-ostree system to make it possible to deliver a new family of Fedora spins, called Fedora Atomic Desktops.
-
Bootloader Vulnerability Affects Nearly All Linux Distributions
The developers of shim have released a version to fix numerous security flaws, including one that could enable remote control execution of malicious code under certain circumstances.