grub detecting ext2 partition as ISO9660 file system type

Vijay Kirpalani <[email protected]> Thu, 1 Aug 2024 12:42:27 +0530
Newsgroups gmane.comp.boot-loaders.grub.bugs
Message-ID <CAMJAS+iXbWgyWo7+PMO70ygxfAkkEyeC34zuHJ7Bw_uB3-M1Ug@mail.gmail.com>
Hi,

I built a bootable ISO and have appended an ext2 disk partition in it. I
booted the ISO in Virtual Box.

During boot, i see grub is detecting the ext2 partition as part of cd drive
and as type Iso9660. To elaborate. on the grub command line when i do an ls
i get

(hd0), (cd), (cd,msdos2), (cd,msdos1).

when i do an ls on (cd,msdos1) it is showing as Iso9660 filesystem type.

How do I fix this, and get grub to detect my ext2 partition correctly ?

also, i was expecting my ext2 partition to be detected as part of hd0.

Please advise.

Thank you,
VIjay