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 · 4 weeks and 4 days ago
your desired topic we compose your writing task in a professional way. assignment services in pakistan
theconceptwriter · 4 weeks and 3 days ago
??????, ???????????, ??????????, ??????????????, ????????????, ????????, ??????????????, ????????????. ???????, ?????????????????, EssayMin???????????????????, ?EssayMin?????????????????, ??, EssayMin???????????????, ????, ??????, 100%????. ?????????? ??https://essaymin.com/cn/
danielkoike · 4 weeks and 1 day ago
??????, ???????????, ??????????, ??????????????, ????????????, ????????, ??????????????, ????????????. ???????, ?????????????????, EssayMin???????????????????, ?EssayMin?????????????????, ??, EssayMin???????????????, ????, ??????, 100%????. ?????????? ??https://essaymin.com/cn/
danielkoike · 4 weeks and 1 day 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 · 4 weeks 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 · 3 weeks and 5 days ago
You know your projects stand out of the herd. There is something special about them. ole777 app
McauleyHanna · 3 weeks and 5 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 · 3 weeks and 5 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 · 3 weeks and 5 days ago
It's not easy to find such encodings, I like this site. basketball legends 2020
rudolphssmith · 3 weeks and 4 days ago
This command has been helpful Modesto Tree service experts
mark21 · 3 weeks and 4 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 · 3 weeks and 2 days ago
This command has been helpful Modesto Tree service experts
davidson02 · 3 weeks and 1 day ago
[https://www.google.com / nice]
davidson02 · 3 weeks and 1 day ago
Modesto Tree service experts
davidson02 · 3 weeks and 1 day 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 · 3 weeks ago
nice article keep it up and I want more articles from you. auto accessories coupon
alexhales · 2 weeks and 6 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 · 2 weeks and 5 days ago
[url=https://gbapps.one/]gbwhatsapp[/url] [url=https://gbapps.one/]https://gbapps.one/[/url]
chepkobeer · 2 weeks and 3 days ago
gbwhatsapp
chepkobeer · 2 weeks and 3 days ago
Great article! microneedling new york
da32 · 2 weeks and 2 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 · 2 weeks and 1 day 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 · 2 weeks 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 · 1 week and 5 days ago
nice information. Always get something new through your writing. http://saudicoaches.com/vip-Buses-buses.html">saudi VIP limo
saudicoaches · 1 week and 4 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 · 1 week and 4 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 · 1 week and 4 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 · 1 week and 4 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 · 1 week and 4 days ago
Thank you so much for sharing this with us. I learned a lot of good knowledge from this site, and it was quite beneficial to me in a variety of ways. Thanks, SMM PANEL
SMMPANEL · 1 week and 2 days ago
• [url=https://google.com/]google.com[/url] [url="https://google.com/"]google[/url] [url:google|https://google.com/] [url label="google"]https://google.com/"]google[/url] [link:https://google.com/ | google] [link:https://google.com/ google] [link url=https://google.com/]google[/link] [https://google.com/ google] [google.com](https://google.com/) [[https://google.com/ google]] [URL="https://google.com/"]google[/URL] [L=https://google.com/]google[/L] google "google":https://google.com/
DavidMapes · 1 week and 1 day ago
Man's lives, such as uncontrolled huge amounts, definitely not while countries furthermore reefs, challenging to seismic disturbance upward perfect apply.read here
Geekstation · 1 week ago
[Nice Post](https://www.google.com/) Nice post
amyjetson · 6 days ago
https://www.vipblogweb.com Osmanthus fragrans tea is a kind of precious flower tea made from exquisite te
ymen090 · 6 days ago
Great article, Thanks for writing about that. It’s really helpful for me. Keep it up your writing. water and fire damage services
jen1998 · 5 days ago
i like this post, thank you for sharing with us
nukapop92 · 4 days ago
At first, i was having issues with it I'm glad I was able to figure it out. Thanks to this guide that helped me turn on my MSI laptop. I was about to get a new one.
Nomozine · 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: