Installing linux along with Windows 10

Hello all,

I am using currently windows 10 on my dell 3000 series laptop with Intel M3 processor, 4GB RAM and 500GB HD. I want to install Linux along with windows 10 without formatting my hard disk, and then installing again everything. I tried but every time I stuck with boot manager as it does not shows entry of windows. So I want someone to help me in clean installation of Linux without loosing my data.
Thank you & Regards
Shubham

2 Likes

can you provide some more information about what you have tried previously so we don’t end up repeating something that hasn’t worked?

Here are the steps I followed.

  1. Format the 100gb space from my windows and unallocated it.
  2. After that I disable the secure boot option from my Dell laptop and connected my bootable pendrive.
  3. Booted my laptop and follow the steps to install the Linux creating partitions and all.
  4. After the complete installation I restarted the laptop and found there is no entry for windows in boot manager.

There is one more issue I cant access the windows partition from Linux after following these steps.
Thank you

1 Like

it has been a while since i have dual booted myself, but have read several times that this is due to a windows fastboot setting in bios/uefi. having that running shuts windows down in a “dirty” state that won’t let linux access it. if you disable that setting, i believe you will be able to deal with this particular issue. hopefully :slight_smile:

1 Like

apologies for taking these out of order. i missed this when i read through too quickly. have you tried sudo update grub to see if that will list windows for you? i remember when i added a second ubuntu partition (and eventually a 3rd with debian) that they weren’t always properly listed until after i did the grub update.

1 Like

Okay I will try with that and will get back to you.

Thank You cordx

1 Like

Try posting a question on a support site
I recommend
Www.protonic.com
Fast free service…

I tried but every time I stuck with boot manager as it does not shows entry of windows.

The 3000 series is still a current model, I’m assuming that this lappie was installed in esp and used GPT partition tables…?

Look in the BIOS, turn on your lappie and press F2 key repeatedly to enter.

Look for “General” and then the third item on this list is “Boot Sequence”.

There should be TWO entries Windows first and the Linux entry underneath. If not the esp entry has been removed or corrupted.

Can you access your Linux OS…?

Open a terminal and run the following commands as root

  • parted

  • type “print” after (parted) prompt (copy the print out from the terminal to a text file)

Parted will also show Windows partitions if they are present.

I’m unable make an opinion, until you answer these rudimentary questions and other once you supplied the print out of parted and efibootmgr -v.

:thinking:

I’m not sure, but maybe this me help you, last post:

If you start from scratch do this:

  • Disable secure boot
  • From Linux live dvd prepare partitions using GParted, let say:
    200 GB NTFS for Windows
  • Install Windows to that partition, it will create boot-efi partition too
  • You can install Linux now (it automatically detect boot partition, being UEFI environment GRUB2 will go there), just create swap partition (2 GB more than your RAM, if RAM=4GB, Swap=6GB) and one partition for Linux. If you want more than one distro prepare some partitions instead of only one, let say not less than 50 GB each. Every time you install Linux choose the partition manually.
    Done.
    GRUB2 will find Windows automatically, if for some reasons it is not on the list, pressing the button at boot (F9 or ESC or another one, not always the same depends on the machine) you will get Windows bootloader: selecting Windows start it, selecting Ubuntu (or whatever) GRUB2 comes out.
    You can’t access Linux from Windows, can access Windows from Linux if Windows closes properly, sometime it does’nt close properly and can’t do nothing for what I know.
    The most common workaround is to make a NTFS partiton and keeping the data that you want secure access from Windows and Linux there.
    Some Windows software allow access to Linux but apparently is not a safe way.
    Suggested distro: Linux Mint Cinnamon Edition, it is the best for Linux noobs.
    Cheers!

Edit
You can also install Linux before Windows, in this case better to prepare boot/efi partition (fat32) manually too. If Linux is the first installed you will need to work on the boot loader after installing Windows because Windows boot loader overwrites GRUB2

If already Linux installed and GRUB2 does’nt show Windows you can try with the command

sudo update grub

assuming you are on Debian based distro.
If that does’nt solve the issue, reinstall GRUB2 following this procedure (UEFI environment):
https://wiki.ubuntu-it.org/AmministrazioneSistema/Grub/Ripristino/Uefi
(Sorry, Italian page that one)
Alternately, you can add Windows to the GRUB2’s file 40_custom, something like this one:

menuentry “Windows 10” --class windows --class os {
insmod ntfs
search --no-floppy --set=root --fs-uuid 1D584C40586B2873 # uuid, set yours here
ntldr /bootmgr
}

Source: DualBoot/Windows10 - Debian Wiki

1 Like

Well, the best form is unfortunatelly delete Win 10.Make backup before
in a pendrive ( 32 or 64 Gib ).Buy a second pendrive ( 8 Gib ) is sufficient.
Use Gparted and delete Windows partition, make a partition for Win 10
but NO USE all space available.Now make a second partition for the Linux
and choice EXT4 for she.( the first for Windows choice filesystem NTFS )
Now install FIRST Windows 10, after install your preferred Linux distribuition
The Linux go detect Win 10, and go put in grub.When start PC, you choice
what OS go be used.This is couple complex, but is the best manner ( form ).

1 Like

What seems to be the problem? Just use a separate hard drive or partition the one you have to make room for Linux. I recommend Ubuntu 18.04 not 18.10. Install Windows 10 first and then install Ubuntu, telling it what partition to use. I have installed Windows and Ubuntu with various versions of these on the same physical drive with two partitions without any problems. Hope this helps.

1 Like

If Secure Boot is an issue and you want it on, BOTH OSes have to have it on, SO, Install Windows with UEFI enabled (I had to wait 5 minutes before the Windows Install disk would boot to UEFI so that I could do the install of Windows) and then boot to UEFI enabled DVD of Ubuntu (Or any Linux OS) and it will install UEFI AKA Secure Boot on the Linux Partition. The thing is, IF you have only one turned on with UEFI, the Linux partition’s Grub Loader will not see the Windows Partition/Disk

So if you don’t want to use Secure Boot AKA UEFI, BOTH Windows AND Linux need to have UEFI turned off for Linux to see the Windows Partition/Disk.

UEFI should be the default any way. Thanks.

1 Like

Have you tried change to change the settings from secure boot? If this is on then it will only boot to the OS you have on. You can also change the bios to legacy if you need to do so. You can also use the repair windows option in windows to install. In the recovery option choose the media USB whatever you are using and boot into that - it is very easy to do it that way - I had a guide written somewhere - if I find again I’ll post it

It worked.
Thank you :slight_smile:

1 Like

Hi mack,
After doing sudo update grub.
I was able to see entry of windows and linux.

Thank you :slight_smile:

1 Like

that’s great to hear :slight_smile:

1 Like

Sudo update grub worked :slight_smile:

2 Likes

My BIOS mode is legacy and not UEFI so i am not able to see UEFI firmware settings option.
How should i disable secureboot then?