You are not logged in.

#1 2008-12-11 04:29:17

shanyal
Member
Registered: 2008-11-03
Posts: 2

how to load floppy img with GRUB

hi ! boys:
    i have  installed  two OS in my computer,Archlinux and windows xp.
grub installed on MBR.now i want load floppy img.
   can someone told me how to edit menu.lst
here are my menu.lst:

title boot  from floppy img
map --mem (hd0,0)/dos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2

but is not working....
i need help......

Last edited by shanyal (2008-12-11 04:30:58)

Offline

#2 2008-12-12 20:16:12

gorn
Member
Registered: 2008-02-01
Posts: 56

Re: how to load floppy img with GRUB

I have two possible answers for you. First, if you just want to boot XP you shouldn't need a floppy image, just something like this:

title Windows
rootnoverify (hd0, 1)
makeactive
chainloader +1


But if you have reasons for using the floppy image I can help too. I'm afraid it's been a long time since I set this up. But originally I had Linux/Vista/XP triple boot and used floppy images to get XP and Vista to play nice with each other/grub. Here is my config:

title WindowsFloppy
kernel /memdisk
initrd /xp_floppy.img

memdisk is part of syslinux and can be found at /usr/lib/syslinux/memdisk
xp_floppy.img I made by formatting a floppy disk (Actually it was a virtual floppy drive) and checking the "Make Bootable" option from Windows XP. I think for Vista I may have had to do it from the command line, or download someone's already made vista bootable image.

Offline

Board footer

Powered by FluxBB