I try boot Debian 6.0.5 ISO on MS VPC 2007 from HDD NTFS partition. ISO file is on first partition on HDD:
menu.lst
title My linux (boot from ISO) set ISO=debian-moje.iso # check and make an empty table entry in 4th position in ptn table parttype (hd0,3) | set check= set check=%check:~-5,4% if "%check%"=="0x00" partnew (hd0,3) 0 0 0 if not "%check%"=="0x00" echo WARNING: PTN TABLE 4 IS ALREADY IN USE! && pause && configfile /menu.lst ls (hd0,0)/%ISO% && partnew (hd0,3) 0x00 /%ISO% map /%ISO% (0xff) echo -e \r\n map --hook root (0xff) chainloader (0xff)
It works but if now boot e.g. Debian Live from real CD (VPC) I have my ISO in two places:
- one on first partition (hd0,0) as file debian-moje.iso
- second as partition (hd0,3) on HDD (I can mount the partition /dev/sda4 and have access to files)
Is this normal? Is GRUB4DOS wrote ISO image on hard drive?