Linux is in the 5th Partition! and Mint uses Grub2

#1
hd0

sda1 GPT Protective
sda2 Empty Data Partition

hd1

sdb1 GPT Protective
sdb2 Windows 7 Professional x64
sdb3 Windows 7 Ultimate x64
sdb4 OS X x32/x64
sdb5 Linux (also the \boot is here, and the GRUB2 bootloader) x64
sdb6 Swap

Windows sees the Linux partition as unallocated in Disk Management.

When I use the Linux Option and choose GRUB2, when I boot into it, it gets to GRUB4DOS and shows me a prompt as Grub>.

I am using OS X option in EasyBCD too, and it boots to OS X (PC EFI 10.6). And PC EFI 10.6 sees Linux and I can boot into Linux from there.

When I use NeoGrub, and set root is (1,5), it shows it in a menu of GRUB4DOS, but when I choose it, it tells me no such partition.

Here is what I have entered in NeoGrub:

default 0
timeout 3

title Linux Mint 9 Isadora
root (hd1,5)
kernel /boot/vmlinuz-2.6.32-21-generic root=UUID=db70e7a8-1e2c-41a3-9\b2a-e919d3f901d9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

Here is my Linux boot entry from Linux Boot Menu:

recordfail
insmod ext2
set root='(1,5)'
search --no-floppy --fs-uuid --set d670e7a8-1e2c-41a3-9b2a-e919d3f90\1d9
linux /boot/vmlinuz-2.6.32-21-generic
root=UUID=d670e7a8-1e2c-41a3-9\b2a-e919d3f901d9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

Is there any way that I can boot this Linux from EasyBCD Linux option?
If not, is there any way to boot it from NeoGrub?

P.S.: I play with hd0 a lot, that is why I do not want to involve hd0 in the boot.
 
Last edited:

mqudsi

Mostly Harmless
Staff member
#2
That won't work.

GRUB2 uses partition numbers starting from 1 and NeoGrub/GRUB1 use partition numbers starting from 0.

So you don't want 1,5 - you want 1,4
 
#4
I am too new to all of this to offer any specifics for your situation, but I do have Mint and Puppy and Arch all booting alongside my Windows systems. Here is the portion of my "menu.lst" booting Linux via GRUB4DOS (grldr & grldr.mbr in my system's first partition):

######
# (0) Arch Linux
title Arch Linux
root (hd2,8)
chainloader +1
# kernel /vmlinuz26 root=/dev/disk/by-uuid/9858224f-7c09-4042-842c-bbe0e1e336a1 rootflags=rw vga=773
# rootfstype=ext2 ro
# initrd /kernel26.img
######

That definitely works for booting, but I have yet to address the matter of how to update that "menu.lst" as well as Arch's own "menu.lst" and whatever else in its own "/boot" partition (similar to your setup). What I had done was to simply copy from there to make my own "menu.lst" for booting.
 
Last edited:
#5
I am too new to all of this to offer any specifics for your situation, but I do have Mint and Puppy and Arch all booting alongside my Windows systems. Here is the portion of my "menu.lst" booting Linux via GRUB4DOS (grldr & grldr.mbr in my system's first partition):

######
# (0) Arch Linux
title Arch Linux
root (hd2,8)
chainloader +1
# kernel /vmlinuz26 root=/dev/disk/by-uuid/9858224f-7c09-4042-842c-bbe0e1e336a1 rootflags=rw vga=773
# rootfstype=ext2 ro
# initrd /kernel26.img
######

That definitely works for booting, but I have yet to address the matter of how to update that "menu.lst" as well as Arch's own "menu.lst" and whatever else in its own "/boot" partition (similar to your setup). What I had done was to simply copy from there to make my own "menu.lst" for booting.
NeoGrub or Grub4Dos does not see the fifth partition.

Here is my Linux entry.

"

recordfail
insmod ext2
set root='(gd1,5)'
search --no-floppy --fs -uuid -set d670e7a8-1e2c-41a3-9b2a-e919d3f90\1d9
linux /boot/vmlinuz-2.6.32-21 generic root=UUID=d670e7a8-1e2c-41a3-9\b2a-e919d3f9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

"

So, depending on this configuration, how can I write a Neogrub entry?
 
#6
I wish I could help, but all of this is still very new to me and I know nothing about NeoGrub.

Question: Are you sure " set root='(gd1,5)' " should not instead look like " set root=(gd1,5) "?
 
Last edited:

mqudsi

Mostly Harmless
Staff member
#7
IMayNeed, there's something weird about your entry:

title Linux Mint 9 Isadora
root (hd1,5)
kernel /boot/vmlinuz-2.6.32-21-generic root=UUID=db70e7a8-1e2c-41a3-9\b2a-e919d3f901d9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

What's that second part? What's the `\` before it?
 
#8
IMayNeed, there's something weird about your entry:

title Linux Mint 9 Isadora
root (hd1,5)
kernel /boot/vmlinuz-2.6.32-21-generic root=UUID=db70e7a8-1e2c-41a3-9\b2a-e919d3f901d9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic

What's that second part? What's the `\` before it?
Sorry about the late reply, I wasn't online lately.

I believe that is the endline in linux, maybe it shouldn't be typed unless there is a endline.

In Linux entry it is like:

recordfail
insmod ext2
set root='(1,5)'
search --no-floppy --fs-uuid --set d670e7a8-1e2c-41a3-9b2a-e919d3f90\
1d9
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=d670e7a8-1e2c-41a3-9\
b2a-e919d3f901d9 ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic


So, it must be endl I guess.

Do you have a suggestion now even after "no such partition errors"?