I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5 and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso with initrd file there too. Then I created grub menu entry with this:
menuentry "Debian Jessie (stable)" {
set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/iso/debian-8.0.0-hdd.initrd.gz'
loopback loop (hd0,5)$isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd (hd0,5)$initrdfile
}
Booting is successful. But, when come to searching debian CD it fails. The iso file cannot be found by installer. If I use USB drive, every thing goes fine. In USB, I put debian DVD iso in `/boot/iso/debian-8.0.0-amd64-DVD-1.iso'. And the menuentry look like this:
menuentry 'Debian Jessie (stable)' {
set isofile='/boot/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/boot/iso/debian-8.0.0-amd64-DVD-1.hdd.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd $initrdfile
}
My /dev/sda5 is formatted in NTFS and my USB drive is formatted in FAT32. So, I guess the problem is because of filesystem format. And if it is, how can I boot debian iso file properly from NTFS partition?
Update
The NTFS partiton is logical partition. Is it causeing problem too?
insmod ntfs.