Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 would not advice installing Ubuntu on a flash drive. It will want to install its boot loader, and that will make it impossible to boot Windows without that particular USB drive in the system.
It sounds like you need to do a lot of reading first. There are several things to consider:
1. Is secure boot enabled in your BIOS/UEFI?
2. Is the hard drive partitioned MBR or GPT? (I suspect the later, but...)
3. Will you be OK with the boot loader that Ubuntu uses?
4. Do you have enough hard disk space to do what you want with both OS on one drive?
5. Most important: have you a good backup of your Windows drive that you have tested to make sure you can restore successfully if the installation of Linux screws up your Windows installation?
6. Possibly other things that do not come to my aging feeble mind...
BTW, setting up multi-booting is not as easy as it may sound.
I would not advice installing Ubuntu on a flash drive. It will want to install its boot loader, and that will make it impossible to boot Windows without that particular USB drive in the system.
It sounds like you need to do a lot of reading first. There are several things to consider:
1. Is secure boot enabled in your BIOS/UEFI?
2. Is the hard drive partitioned MBR or GPT? (I suspect the later, but...)
3. Will you be OK with the boot loader that Ubuntu uses?
4. Do you have enough hard disk space to do what you want with both OS on one drive?
5. Most important: have you a good backup of your Windows drive that you have tested to make sure you can restore successfully if the installation of Linux screws up your Windows installation?
6. Possibly other things that do not come to my aging feeble mind...
BTW, setting up multi-booting is not as easy as it may sound.
thanks reply ,
All above things you said are ready , you don't need to worry , what I would like to know is the step to setup the dual boot , for example , do I need to install app ? create a new partition is must or not ?
Put Ubuntu iso onto usb with rufus or balenaetcher, shrink windows partition with windows disk manager, disable secure boot in bios and fast boot in bios and windows advance power management settings, boot usb, select along side of, when asked
Last edited by colorpurple21859; 08-30-2021 at 05:12 AM.
The Ubuntu developers have a site which explains in detail how to dual boot UEFI with Ubuntu/windows and this has been online for years. You can read it at the link below.
All above things you said are ready , you don't need to worry , what I would like to know is the step to setup the dual boot , for example , do I need to install app ? create a new partition is must or not ?
thanks
This is still applicable and a good tutorial. It applies even though labeled for fedora. https://www.tecmint.com/install-fedo...ows-dual-boot/
A quick web search for installing ubuntu in dual boot with windows will turn up similar instructions.
Like others have said, dual-booting is not as simple as it sounds. Remember to take backups. The tutorials mentioned are good to get you going too.
Answering your specific questions:
- You don't need an app in windows nor Linux to dual boot, the boot loader deals with it. There are apps that will help you deal with the boot loader, but these are optional.
- You absolutely need to have each OS on its own partition. Often they need separate types of formatting, for instance: windows only works on NTFS, but Linux can be run on EXT3.
- You can install Linux on a USB stick, but unless there is a pressing need to, I advise against it.
- Much of the preparation for dual booting can be done during the installation of linux. So long as you've done your research and have a backup of windows you don't need to do anything specific before starting to install.
It's been a long time since I tried dual booting with windows, but the Ubuntu Installer, run from the Live CD should be able to gently walk you through the process. When selecting the location for the new Unbuntu installation, there should be an option labelled "Install Ubuntu alongside Windows" choosing any other option at this stage will definitely remove windows.
I can't stress this enough though Make backups of windows it is ridiculously simple to break a windows installation while installing another operating system
One time I installed ubuntu on the same drive with Win7. Never again. When the place is getting tight, no possibility to extend partitions and all was messed-up.
My recommendation: put a second drive in your PC and install ubuntu on it. It will recognize Win during the install. Then you will boot into grub from the second drive and in the grub menu you will see Win+Ubuntu. Then you can choose.
However.. When you get more confident on your config win and ubuntu, then perhaps you can try to use only one drive.
For a first shot, just install a second drive (a few 100GB drive is not so expensive; not necessary for immediatly using an SSD; an HDD would suffice).
Playing around with and external USB and ubuntu on it is ok. Should not be the mid-term solution.
Last edited by floppy_stuttgart; 08-31-2021 at 05:07 PM.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi raymondwong19999,
Post #4 by colorpurple21859 has a list of the most recommended steps. I emphasize the preference for using Windows' own Disk Manager to shrink its partition - I have found this more reliable than doing so with linux installation programs or even with GParted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.