Use QEMU to create a hardware dual-boot without rebooting

sudo qemu-system-x86_64 -bios /usr/share/ovmf/x64/OVMF.fd -accel kvm -boot d -cdrom ubuntu-21.10-desktop-amd64.iso -drive format=raw,file=/dev/sdb -m 4096
After downloading an ISO image, assuming you have QEMU installed, it’s possible to boot an ISO image in a virtual machine and then install that ISO from within the virtual machine directly to a physical drive, bypassing the need to reboot. Simply pass the ISO image as the -cdrom parameter, followed by “format=raw,file=/dev/sdb” (replace /dev/sdb with the drive you want to install to) as the hard drive parameter (making absolutely certain to specify the raw format, of course). Once you boot into the ISO image with QEMU, just run the installer as if it were a virtual machine — it’ll just use the physical device as an install target. After that, you’ll be able to seamlessly boot multiple distros (or even other operating systems) at once.

1
2021-11-04 22:50:57

What Others Think

Thank you so much for sharing this with us. It was a new and helpful thought that I can see from here. I got a lot of useful piece of information from here and was helpful for me in many ways. cheap real diamond rings online
zaiyamariya · 3 weeks and 1 day ago
your desired topic we compose your writing task in a professional way. assignment services in pakistan
theconceptwriter · 3 weeks and 1 day ago
??????, ???????????, ??????????, ??????????????, ????????????, ????????, ??????????????, ????????????. ???????, ?????????????????, EssayMin???????????????????, ?EssayMin?????????????????, ??, EssayMin???????????????, ????, ??????, 100%????. ?????????? ??https://essaymin.com/cn/
danielkoike · 2 weeks and 6 days ago
??????, ???????????, ??????????, ??????????????, ????????????, ????????, ??????????????, ????????????. ???????, ?????????????????, EssayMin???????????????????, ?EssayMin?????????????????, ??, EssayMin???????????????, ????, ??????, 100%????. ?????????? ??https://essaymin.com/cn/
danielkoike · 2 weeks and 6 days ago
A pretty effective article, have you ever joined an io game? Here I will introduce to you the most entertaining game io games with countless different attractive online games lol beans.
howardellis4 · 2 weeks and 4 days ago
Empire Business Brokers, LLC is one of two sister companies that serve businesses in every stage of their development from start up, to business growth, to high performance organizations, and then to the transfer of the business to the next owners. Empire Business Brokers, LLC is focused on exit planning and business acquisitions. Small Business Coach Associates assist business owners to make more, work less and enjoy their business. We use an award-winning process to assist our clients. business brokers, greenville sc business brokers, greenville sc
empirecarol · 2 weeks and 3 days ago
You know your projects stand out of the herd. There is something special about them. ole777 app
McauleyHanna · 2 weeks and 2 days ago
A pretty effective article, have you ever joined an io game? Here I will introduce to you the most entertaining game io games with countless different attractive online games [URL=https://snowrider3d.com]snow rider 3d[/URL]
hanamark · 2 weeks and 2 days ago
A pretty effective article, have you ever joined an io game? Here I will introduce to you the most entertaining game io games with countless different attractive online games snow rider 3d
hanamark · 2 weeks and 2 days ago
It's not easy to find such encodings, I like this site. basketball legends 2020
rudolphssmith · 2 weeks and 2 days ago
This command has been helpful Modesto Tree service experts
mark21 · 2 weeks and 2 days ago
Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. [url=http://202.95.10.77/]judi qiu qiu online[/url]
puce · 2 weeks ago
This command has been helpful Modesto Tree service experts
davidson02 · 1 week and 5 days ago
[https://www.google.com / nice]
davidson02 · 1 week and 5 days ago
Modesto Tree service experts
davidson02 · 1 week and 5 days ago
Therefore, if you plan to use QEMU only to create a Windows virtual ... without having to repartition your drive or set up new hardware. [url=https://buyinstasingapore.com/] instagram followers singapoar[/url]
likessingapore · 1 week and 5 days ago
nice article keep it up and I want more articles from you. auto accessories coupon
alexhales · 1 week and 4 days ago
EssayMin is the number one brand of UK essay writing, established in 2006 in London, UK, with over 1800+ UK local essay tutors, using the big data order allocation system, so that each essay is assigned to the essay tutor with the highest score in the subject, so that each essay is guaranteed to be of high quality! So far EssayMin has helped 30,000+ international students to graduate successfully! https://essaymin.com/cn/
danielkoike · 1 week and 2 days ago
[url=https://gbapps.one/]gbwhatsapp[/url] [url=https://gbapps.one/]https://gbapps.one/[/url]
chepkobeer · 1 week ago
gbwhatsapp
chepkobeer · 1 week ago
Great article! microneedling new york
da32 · 6 days ago
Nice article. All the sections of your site covered with great functions. I really like the content and discussions on your site. Thanks a lot for allowing me to join. I love to see more about https://gbplus.net/. Keep sharing and updating. Also share more posts with us. Thank you.
kol909 · 5 days ago
The interest for the Golang designer has moreover increased.You may hear a Golang engineer say that Golang is one of the tongues that they have advanced an endeavor to have some ability in. It is to some degree easy to do. The request is, the explanation do designers and coders set forth an endeavor to get to know this programming language?This has gotten more recognizable all through the long haul. It is depended upon to end up being fundamentally more prominent later on. A few changes that are being done to it so it can remain mindful of the changing times.People have gone through years with more standard programming lingos. All through the long haul, there is an interest for speedier applications and ventures. This is the avocation for why Golang has started to end up being more popular.You understand that there are different capacities that Golang fashioners should have. Permit us to say that you want to enroll GO fashioner. How should you understand who is meriting being utilized? Guarantee that you are furthermore familiar with the cost to utilize Go architect. Rates may change dependent upon where they are from and what their capacities are.The designer will work with different individuals.Distinctive programming tongues can be used in the cloud, read more details here https://www.gcertificationcourse.com/6-things-to-know-about-golang-programming-language/. Computer programmers and website specialists will reliably have tendencies. They generally favor Golang in any case called Go.It has gone a long way from the time that it was made in 2007. This used to be something made particularly to make coding more clear for Google website specialists. Right when it opened up in 2012 to various fashioners, people favored it. Right now, certain people have some ability in Golang alone.
JimmFrost1 · 5 days ago
Would an exciting person like you enjoy playing games? I want to give you a healthy and helpful match. Slope 2 unblocked is the most loved one by young people. If you spend time playing, your reflexes will increase there.
RobertFlores · 3 days ago
nice information. Always get something new through your writing. http://saudicoaches.com/vip-Buses-buses.html">saudi VIP limo
saudicoaches · 2 days ago
I think this is definitely an amazing project here. So much good will be coming from this project. The ideas and the work behind this will pay off so much.research paper writing service
Geekstation · 2 days ago
Online Marketing Bureau | SEO-SNEL: Digital Experts Online Marketing Bureau SEO-SNEL helpt bedrijven met het verbeteren van hun online zichtbaarheid door ? SEO ? Google Ads ? E-mail en ? Social in te zetten. SEO Specialist hypotheekrente Hypotheekrente overzicht | Rentevast | Hypotheekrentevast.nl Actuele hypotheekrentes van alle aanbieders. Rentevaste periode: hypotheekrente 10 jaar vast - 20 jaar vast - 30 jaar vast - Rentetarieven.
onlinemarketing · 2 days ago
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately. Buy driver's license
Geekstation · 2 days ago
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately.click here
Geekstation · 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: