OneHD: Win7/Ubuntu9.10/Kubuntu9.10

Booting

Member
Hi all,

I've been searching forum and docs but was not able to find answers for my problem. I started using EasyBCD last week and works great for dual booting win7 and Ubuntu 9.10 from one harddisk.

However now I added another partition with Kubuntu 9.10 x64.

But how can I add Kubuntu to EasyBCD? (Is it posible at all ?!)
Just adding another Linux > Grub2 will start Ubuntu instead of Kubuntu
As I understand from other threads EasyBCD finds the Grub2 install automatically, but in my case it finds the first installation/partition only..

One harddisk:
sda1 Win7, ntfs, with EasyBCD 2.0.0.76, added Linux > Grub2 (EasyBCD settings, I did not install Linux on Win)
sda5 Ubuntu 9.10 x32, ext4, no swap, bootloader on same partition
sda6 Kubuntu 9.10 x64, ext4,no swap bootloader on same partition


Current settings:

Default: Windows 7
Timeout: 5 seconds.
Boot Drive: C:\

Entry #1
Name: Windows 7
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.exe

Entry #2
Name: Ubuntu 9.10 x32
BCD ID: {457955ca-cd67-11de-9e3c-cf7c76ceafb2}
Drive: C:\
Bootloader Path: \NST\AutoNeoGrub0.mbr

Thanks in advance for any help.
 
Last edited:
Hi Booting, welcome to NST.
To get your setup working right, you'll need to EasybCD | Add/Remove Entries | NeoGrub tab | Install NeoGrub | Configure, and change your /NST/menu.lst on your Windows partition to hold 2 entries, one explicitly pointed at your Ubuntu partition, the other explicitly pointed at Kubuntu. As it is now, its searching all partitions for the Linux kernel, and loading the first one it finds (Ubuntu).
 
Thnx Coolname007!

So far deleted Grub2 entry,installed NeoGrub, but have some trouble finding the right/confirmed information for windows 7 and Ubuntu 9.10 ext4.

Would appreciate some pointers on minimal info how to start windows 7 on 1st partition, Ubuntu 9.10 x32 ext4 on 2nd partition and Kubuntu 9.10 x64 ext4 on 3th partition..

I didn't get far..

# NeoSmart NeoGrub Bootloader Configuration File
# Installed version EasyBCD 2.0.0.76 (Beta)
# This NeoGrub menu.lst file should be located at \NST\menu.lst of the boot drive.

default 0 #Pick the task to be run if the user doesn't pick one within the time limit.
timeout 10 #Give the user 10 seconds to choose a task.

# All partitions on one harddisk:

# 1st boot option, partition /dev/sda1, ntfs:
title Windows 7 Home Premium x64 #This is our first entry - it's number 0
find --set-root /NTLDR #Search for NTLDR on all partitions. Once found, use that partition as root.
makeactive #Make this the active partition
chainloader /NTLDR #Run NTLDR, the Windows XP bootloader

# 2nd boot option, partition /dev/sda5, ext4:
title Ubuntu 9.10 x32
root(hd1,2) #Load Ubuntu from the 1st harddrive 2nd partition.
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda5
initrd /boot/initrd.img-2.6.31-14-generic

# 3th boot option, partition /dev/sda6, ext4:
title Kubuntu 9.10 x64
root(hd1,3) #Load Ubuntu from the 1st harddrive 2nd partition.
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda6
initrd /boot/initrd.img-2.6.31-14-generic

Would this be correct... I don't have sandbox to do some testing.
 
Last edited:
Thnx Coolname007!

So far deleted Grub2 entry,installed NeoGrub, but have some trouble finding the right/confirmed information for windows 7 and Ubuntu 9.10 ext4.

Would appreciate some pointers on minimal info how to start windows 7 on 1st partition, Ubuntu 9.10 x32 ext4 on 2nd partition and Kubuntu 9.10 x64 ext4 on 3th partition..

I didn't get far..

# NeoSmart NeoGrub Bootloader Configuration File
# Installed version EasyBCD 2.0.0.76 (Beta)
# This NeoGrub menu.lst file should be located at \NST\menu.lst of the boot drive.

default 0 #Pick the task to be run if the user doesn't pick one within the time limit.
timeout 10 #Give the user 10 seconds to choose a task.

# All partitions on one harddisk:

# 1st boot option, partition /dev/sda1, ntfs:
title Windows 7 Home Premium x64 #This is our first entry - it's number 0
find --set-root /NTLDR #Search for NTLDR on all partitions. Once found, use that partition as root.
makeactive #Make this the active partition
chainloader /NTLDR #Run NTLDR, the Windows XP bootloader
Delete all of the bolded text above. You can not boot Win 7 through the XP NTLDR (because its not forward compatible). Win 7 uses the bootmgr and BCD files to boot. You don't need NeoGrub for that.
# 2nd boot option, partition /dev/sda5, ext4:
title Ubuntu 9.10 x32
root(hd1,2) #Load Ubuntu from the 1st harddrive 2nd partition.
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda5
initrd /boot/initrd.img-2.6.31-14-generic
Umm...
root(hd1,2) is NOT the 1st hard drive, 2nd partition. It is the 2nd hard drive in the boot sequence of the BIOS, and the 3rd partition of that HDD (counting starts at 0 using that syntax, for both HDDs and partitions). Furthermore, you would need to match /dev/sda5 to the same value (if that's even correct). /dev/sda5 is the first HDD in the boot sequence, 5th partition of that HDD (though actually, depending on how many primaries you have, it could be just the first logical partition on that HDD, not necessarily the fifth partition).
Run
Code:
sudo fdisk -l
from the Applications->Accessories>Terminal on Ubuntu's LiveCD, while booted into a Live session ("Try Ubuntu with No Change to My Computer"), to find the correct location of your Linux partition. sda1 translates to (hd0,0).
# 3th boot option, partition /dev/sda6, ext4:
title Kubuntu 9.10 x64
root(hd1,3) #Load Ubuntu from the 1st harddrive 2nd partition.
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/sda6
initrd /boot/initrd.img-2.6.31-14-generic


Would this be correct... I don't have sandbox to do some testing.
I don't think that's right for Grub2. The Linux kernel for Grub2 is boot/grub/core.img.
 
Last edited:
Oeps, you're right it should be hd(0,0) = disk1, partition1. etc.
Here is my sudo fdisk -l

fdisk.png


using the standard dual boot setup with Grub2 I booted Ubuntu 9.10

hd_1.jpg


hd_2.jpg


hd_3.jpg


hd_4.jpg


Ubuntu 9.10 x32 /boot/

grub_dir_list.jpg
 
Last edited:
So you're booting through Grub installed to the MBR now?
Try this code in your Neosmart menu.lst:
# NeoSmart NeoGrub Bootloader Configuration File
# Installed version EasyBCD 2.0.0.76 (Beta)
# This NeoGrub menu.lst file should be located at \NST\menu.lst of the boot drive.

default 0 #Pick the task to be run if the user doesn't pick one within the time limit.
timeout 10 #Give the user 10 seconds to choose a task.

# All partitions on one harddisk:

# 1st boot option, partition /dev/sda5, ext4:
title Ubuntu 9.10 x32
root(hd0,4) #the 1st harddrive, 1st logical partition.
kernel /boot/grub/core.img
initrd /boot/initrd.img-2.6.31-14-generic

# 2nd boot option, partition /dev/sda6, ext4:
title Kubuntu 9.10 x64
root(hd0,5) #the 1st harddrive, 2nd logical partition.
kernel /boot/grub/core.img
initrd /boot/initrd.img-2.6.31-14-generic
 
Last edited:
So you're booting through Grub installed to the MBR now?
Try this code in your Neosmart menu.lst:

I just followed the instructions: installed Ubuntu with advanced option to place Grub on same partition.. for both Ubuntu and Kubuntu.

Anyway using this menu.lst I get the Grub4DOS bash instead of a menu.. looks exactly like the screen in this thread http://neosmart.net/forums/showthread.php?t=5050

I already deleted all entries in EasyBCD2 B76 and recreated the NeoGrub entry..
 
Damn...
I really thought that menu.lst would work.

So you select Neogrub in the boot menu, then you get that Grub-bash screen?

What happens if you type at that Grub prompt:
Code:
root (hd0,4)
kernel /boot/grub/core.img
boot
 
Mmmm, computers
Well let's see what happened:

>root (hd(0,4)
Filesystem type is ext2fs, partition type 0x83​
>kernel /boot/grub/core.img
[Multiboot-kludge, badaddr=0x100000, text-and-data=0x6211, bss=0x0, entry=0x10027c]​
>boot
GNU GRUB version 1.97~beta4 (Grub bootloader menu shows up)​


Strange to see filesystem type ext2fs, while it should be ext4 see pictures above...
 
So I'm assuming you were able to boot Ubuntu that way?

Yes I can boot Ubuntu this way. Although it starts with tty1 and then switches to graphics.

Using the initial Grub2 entry is more simple, it automatically boots into Grub..

I thought it was possible (using EasyBCD) to have one bootmenu with all options during computer startup:

1 Windows 7
2 Ubuntu 9.10
3 Kubuntu 9.10

Anyway I will replace the Neogrub with a Grub2 entry, and use it that way for now!

Thanks for all help so far.
 
Back
Top