Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to use BCDEDIT to create a new entry for Linux?

29 Mar 2014   #1
Mutant21

Windows 7 Ultimate x64
 
 
How to use BCDEDIT to create a new entry for Linux?

Hello all!

Recently I installed Linux (Kali) as a dual boot with my Windows 7 Ultimate X64. Though I was messing with EasyBCD and as a result now whenever I boot my Laptop I dont enter Grub2 to select what OS to boot, but Windows start automatically
My total aim is to use Windows boot menu instead of Grub2 and I want to create an entry there for my Linux which is installed in the 2nd partition of my HDD (around 100GB). And I know that I can use EasyBCD for that, but I am against using softwares to deal with such important things. I prefer to use the original, safe Windows' BCDEDIT tool, even if it is more difficult to make it work.
So I want to use bcdedit to create an entry for the Kali Linux. I have read the How to use BCDEDIT tutorial but unfortunately it does not offer much info about the bcdedit /create command
I have searched so much to make it work but no results...So I would like you to explain me what should I do!

Thanks


My System SpecsSystem Spec
.
29 Mar 2014   #2
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Please see if Step 1,2 and 3 in Part D here, helps you:
Dual Boot - Windows 7 and Linux
My System SpecsSystem Spec
29 Mar 2014   #3
Mutant21

Windows 7 Ultimate x64
 
 

Thanks for your reply

Though as I said in my thread I don't want to use EasyBCD or any relative software. Instead I prefer to use the BCDedit tool.
My System SpecsSystem Spec
.

29 Mar 2014   #4
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

Hi there
If your Machine boots from an EXTERNAL device why don't you create your Linux system on the external HDD and also write GRUB to the external HDD so you can boot TOTALLY from the external HDD without TOUCHING your windows partition.

Any old laptop HDD with a SATA==>USB2 cable will boot and run Linux just fine -- I'm running a DEBIAN WHEEZY and an OPEN SUSE 13.1 system from external HDD's -- and then I start VMWARE and load up a Win 7/ Win 8 / XP Virtual machine at choice.

Response time is fine, especially if you use an SSD -- and the whole kybosh runs TOTALLY FROM THE EXTERNAL HDD making it a nice portable system. It works even if there's no HDD in the main computer or if the HDD is broken.

Read my thread here


How to make Portable Windows system (any version)

IMO much better than messing about with BCDEDIT / screwing up MBR or whatever.

The Linux systems these days can mount / read write windows files without any problem too.

Cheers
jimbo
My System SpecsSystem Spec
29 Mar 2014   #5
Mutant21

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
Hi there
If your Machine boots from an EXTERNAL device why don't you create your Linux system on the external HDD and also write GRUB to the external HDD so you can boot TOTALLY from the external HDD without TOUCHING your windows partition.

Any old laptop HDD with a SATA==>USB2 cable will boot and run Linux just fine -- I'm running a DEBIAN WHEEZY and an OPEN SUSE 13.1 system from external HDD's -- and then I start VMWARE and load up a Win 7/ Win 8 / XP Virtual machine at choice.

Response time is fine, especially if you use an SSD -- and the whole kybosh runs TOTALLY FROM THE EXTERNAL HDD making it a nice portable system. It works even if there's no HDD in the main computer or if the HDD is broken.

Read my thread here


How to make Portable Windows system (any version)

IMO much better than messing about with BCDEDIT / screwing up MBR or whatever.

The Linux systems these days can mount / read write windows files without any problem too.

Cheers
jimbo
Hello there,

Thanks for your reply. Very useful and informative. Unfortunately though I don't use any external HDD or SSD. I use my internal HDD and I have "shrank" it. So a part of it is used for Windows 7 and the second part is used for Kali Linux. I want to use only the bcdedit. I know that my thread is very difficult to solve, but if someone knows very well the Bcdedit commands I think he/she can help me.
Thanks again.
My System SpecsSystem Spec
29 Mar 2014   #6
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

My System SpecsSystem Spec
29 Mar 2014   #7
Golden
Microsoft MVP

Windows 7 Ult. x64
 
 

Quote   Quote: Originally Posted by Mutant21 View Post
Thanks for your reply

Though as I said in my thread I don't want to use EasyBCD or any relative software. Instead I prefer to use the BCDedit tool.
Ah, I missed that. My apologies. Please see if David's link helps.
My System SpecsSystem Spec
30 Mar 2014   #8
Mutant21

Windows 7 Ultimate x64
 
 
Solved

Hello all,

Excuse me for not replying earlier.

I followed the article which DavidW7ncus linked and it worked! Though I had to do some changes, as for example in a bcdedit command I had to use the partition in which Grub2 was installed and not the primary Linux partition. So it took me a while to get it work but yea it worked!

Of course I believe that many people will probably have the same problem. So I think this thread might be useful. And if you want a quick answer, then go here ===> How to Dual Boot Windows 7 and Linux using BCDEdit | iceflatline

Thanks all of you who replied to this enough difficult thread and ofc special thanks to DavidW7ncus.
Congratz to sevenforums and its members for their work.Now I have no doubt that this Site is the best for Windows 7 problems and info.Ofc I will try to help too in other threads
My System SpecsSystem Spec
30 Mar 2014   #9
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

You're welcome and glad to hear you got this issue sorted out.
Thanks for replying with your comments and solution.
And, Welcome to Seven Forums.


You now are the SF Win7/Linux/Dual-Boot/BCDEdit guru
My System SpecsSystem Spec
Reply

 How to use BCDEDIT to create a new entry for Linux?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How can i create this registry entry? (regarding sdelete)
And run the following reg-file. Code: Windows Registry Editor Version 5.00 @="\"C:\\Program files\\sdelete.exe\" \"%1\"" This will create a right click menu for all files. ______________ I have placed the sdelete folder in C program files but im not sure what to do after that. Thanks...
General Discussion
Outlook automatically goes to Journal Entry when I create a new email
Hi, When I try to create a new email, as soon as I type in the to: field, a "journal entry window pops up. How can I get back to regular email? Thanks.
Microsoft Office
create BCD with BCDedit
hello fren... I have a C: partition with the contents of windows xp and I have a D: partition with the contents of windows 7 then I accidentally delete the C: partition in order to remove XP then I made ​​the drive D: set of active primaries for the purpose of my laptop can boot into windows...
Installation & Setup
Context Menu entry to create shortcut in folder
Hi there, I have no idea if this is possible although I'm sure it must be - it doesn't seem to be too big an ask. And if this isn't the right place to ask, hopefully, someone can redirect me to somewhere that is. I want to create a context or sendto menu entry where I can right-click a...
Customization
UNetbootin - Create Bootable Live Linux USB
How to Create a Bootable Live Linux USB Using UNetbootin In this tutorial you'll learn how to create a bootable Live USB drive for Ubuntu, Fedora, and other Linux distributions without burning a CD. This article may helps you to choose best Linux distro for you. Choosing the Best Linux Distro...
Tutorials
Can't Connect to Remote Linux Server to Create Network Share
I have a hosted Linux server running CentOS 5 with Samba 3.4. Everything is setup and it is accessible via Linux machines by typing smb://ip.address/ in a Firefox address bar. I am trying to set up a local network share on a Windows 7 Home Premium x64 SP1 computer. I am trying to map the shared...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App