[Gllug] installing grub on the Mbr

Stephen Harker steve at pauken.co.uk
Tue Jan 16 18:17:57 UTC 2007


john gennard wrote:
> On 16 Jan 2007, Stephen Harker wrote:-
> 
>  >>john gennard wrote:
> 
>  >> However, I think my problem may be elsewhere. I put Grub on
>  >> a floppy and got a Grub prompt. Asking to boot Hd0,0 or Hd0,1
>  >> (that's W2000 or Debian) puts me into the installed O/S. But,
>  >> Hd0,4 or Hd0,5 do nothing. So, it seems the installations
> 
> 
>  >The Grub naming is not the same as the Linux kernel. I think you'll 
>  >find in your system that...
> 
>  >/dev/hda1 -> (hd0,0) Windows
>  >/dev/hda2 -> (hd0,1) Debian
>  >/dev/hda3 -> (hd0,2) Swap
>  >/dev/hda5 -> (hd0,3) Ubuntu
> 
>  >etc.
> 
>  >Can you boot in to Knoppix from a CD and then run
> 
>  >fdisk -l /dev/hda
> 
>  >and let us know what it says please
> 
>  >Stephen
> 
> This is very interesting. You have correctly assumed what
> fdisk shows as most of my partitions, and /dev/hda6 is the
> Mepis installation. What I find interesting is that Ubuntu
> decided that /dev/hda5 was Hd0,4 and Mepis gave /dev/hda6
> as Hd0,5. At least, they offered me those for the Grub
> config to go on the Mbr. Why, I wonder, should two distros
> make a similar error.

Hi Jon,

I think I made an error above. I've just tested this on my machine here 
and even though /dev/hda4 is an extended partition, it is still given a 
number by grub. So my list should have read...

/dev/hda1 -> (hd0,0) Windows
/dev/hda2 -> (hd0,1) Debian
/dev/hda3 -> (hd0,2) Swap
/dev/hda4 -> (hd0,3) Extended Partition
/dev/hda5 -> (hd0,4) Ubuntu

So the distros weren't wrong, I was. Sorry about that.

Stephen
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list