[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (hd0,0) != first partition?
From: |
Jochen Hoenicke |
Subject: |
Re: (hd0,0) != first partition? |
Date: |
Mon, 16 Oct 2000 11:26:47 +0200 (MET DST) |
On Oct 15, Jan Hilberath wrote:
> Hello!
>
> I am using the grub 0.5.96 ext2fs disk image.
>
> Curently i only have one primary partition on my harddisk. So i thought
> it would be the right way to boot my DOS with this commands:
>
> rootnoverify (hd0,0)
> makeactive
> chainloader +1
>
> But this gave me the following error message:
>
> Error 22: no such partition
>
> Instead the partition is identified as (hd0,3). Linux
> recognizes it as /dev/hda4 too. Is this right?
Using (hd0,3) is correct. Your partition is at the forth entry in the
mbr, and grub doesn't skip empty entries when counting.
> (booting with rootnoverify (hd0,3) works fine)
>
> Maybe a geometry problem?
> grub: CHS: 1024/255/63
> linux: CHS: 1655/255/63
This is no problem. You can't access more than 1024 cylinders with
the CHS method and a PC BIOS.
> grub> geometry (hd0)
>
> drive 0x80: CHS = 1024/255/63, The number of sectors = 26587575, LBA
> Partition num 3, Filesystem type is fat, partition type 0x6
Grub uses LBA, so it can access all 1655 * 255 * 63 = 26587575
sectors.
Jochen