[SOLVED] installing linux from disk on key usb disk
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to ask regarding how can I install a full linux distribution from an .iso file on a laptop that does not have dvd writer, offcourse it has usb, so after saving the distro .iso file on the usb disk how can I install it on the new laptop ??
Don't just save the iso file to the usb stick — all you'll have then is the iso file on the usb as well as on your hard drive. You need to create an iso image on the usb stick so that it is bootable and looks like a DVD.
1. Insert the usb stick and use the mount command to see what it's mounted as — like /dev/sdb
2. Unmount it with umount.
3. Run as root
It depends, did you download the ISO file on the new laptop and do we assume it runs Windows? If so you can create the USB flash drive using win32diskimager or other utility like Etcher as recommended by the distribution's documentation.
If you downloaded the ISO file to a linux PC you can create a bootable USB drive using the dd command. Be sure you use the correct device ID for your USB drive or you could potentially overwrite your operating system.
I have debian 10 on the old laptop and want to create bootable usb drive, but I will not install it on the same laptop but on a new one that does not have dvd writer, never installed a os on a laptop with no dvd writer.
You mount it to discover the device name so that you write to the USB stick and not your hard drive by accident. But you have to unmount it because of the way dd works: it doesn't copy files, but just moves data from one place to another without bothering about the nature of the target. If you do that to a mounted device, the system probably couldn't work out what had happened when it tries to unmount it.
Last edited by DavidMcCann; 05-11-2021 at 11:51 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.