Hi, if you reply to this mail, then please also o bug-grub@gnu.org, not only to me in private. (A private Cc to me is unnecessary but would be ok.)
Vijay Kirpalani wrote: > I built a bootable ISO and have appended an ext2 disk partition in it. How exactly did you do it ? (Really the strange step1-step2 way which you show in your previous mail ? That would make an ISO which would boot only via Legacy BIOS and only from CD-ROM. Your disk.img would be in the ISO image as partition 2.) What do the following commands report ? path_to_iso=...path.to.your.ISO.image... xorriso -indev "$path_to_iso" -report_el_torito plain -report_system_area plain (Please send the output as text - not as screenshot - to this list: bug-grub@gnu.org ) > I booted the ISO in Virtual Box. As what kind of device did you submit the ISO image to Virtual Box ? CD-ROM ? Hard disk ? > 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. I am quite sure that GRUB would not mistake an ext2 for an ISO 9660 filesystem. With the answers to above questions it should be possible to find out whether partition 1 is indeed the ISO 9660 filesystem or an ext2. (Or to propose runs of "dd | file" which then tells what is in the partitions.) > also, i was expecting my ext2 partition to be detected as part of hd0. Are you sure that (hd0) has anything to do with the ISO image ? Did you inquire its filesystem type and look at the files in it ? Have a nice day :) Thomas