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
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
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.