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

Mutant21

New member
Local time
9:17 PM
Messages
13
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 :picnic:
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 Computer

Computer type
Laptop
OS
Windows 7 Ultimate x64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
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 Computer

Computer type
Laptop
OS
Windows 7 Ultimate x64
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
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 Computer

Computer type
Laptop
OS
Windows 7 Ultimate x64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
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.:thumbsup:
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 :party:
 

My Computer

Computer type
Laptop
OS
Windows 7 Ultimate x64
You're welcome and glad to hear you got this issue sorted out.
Thanks for replying with your comments and solution.:thumbsup:
And, Welcome to Seven Forums.
:D

You now are the SF Win7/Linux/Dual-Boot/BCDEdit guru :p
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Back
Top