[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting a floppy disk image?
From: |
Bean |
Subject: |
Re: Booting a floppy disk image? |
Date: |
Mon, 5 May 2008 00:00:14 +0800 |
On Sun, May 4, 2008 at 10:16 PM, walt <address@hidden> wrote:
> I'm now using grub4dos to boot a floppy DOS image like this:
>
> map --mem (hd0,0)/floppy.img (fd0)
> map --hook
> chainloader (fd0)+1
> rootnoverify (fd0)
>
> I'd like to switch to grub2 but so far I can't get it to
> boot the same image. I've tried two methods:
>
> loopback fd1 (hd0,1)/floppy.img
> set root=fd1
> chainloader (fd1)+1
>
> or:
>
> chainloader (hd0,1)/floppy.img
>
> Both methods give the same result: a typical DOS
> "missing system, hit any key to reboot" error, but
> hitting any key does nothing and I have to do a hard
> reset to reboot. (BTW, I see the floppy disk drive
> light come on during the boot. Should this happen
> when trying to boot a floppy image?)
>
> What am I doing wrong?
GRUB2 doesn't support int 13 emulation yet. However, you can use
memdisk from the syslinux package to archive similar result:
linux (hd0,1)/memdisk
initrd (hd0,1)/floppy.img
--
Bean