Jump to content

grub2 booting floppy images


m0u53

Recommended Posts

so with grub4dos i could map my floppy image(dos6.22.img) and chainload it...however

in grub2 this gives an invalid system disk error meaning it chainloads to the floppy but then fails

my grub.cfg is :

menuentry "Dos 6" {
loopback lo (hd0)/Dos6.22.img
chainloader (lo)+1
}

also

set splashimage = /b79t3ud2pf2w9nwt6.xpm.gz
set menu_color_normal    = green/black
set menu_color_highlight = red/black
set timeout = 60

this code has no effect at all..am i doing it wrong?

or is this not supported yet?

any and all help would be awesome

note: im editing the grub.cfg file located in /dev/sdb/boot/grub/grub.cfg

it was my understanding this was what the new grub config used instead of menu.lst

Link to comment
Share on other sites

Try using memdisk as the kernel (linux /memdisk), and initrd the image (initrd /myimage.img) like in Grub4DOS. I haven't tried it, but logically it should work.

i just did it and yes it works perfectly

menuentry "Dos 6" {
    linux /memdisk
        initrd /Dos6.22.img

}

however any tips on getting the menucolors working or maybe the background image?

Link to comment
Share on other sites

not sure about colors, but you can use PNGs, JPEGs and TGAs if you load the correct module.

eg:

insmod png
background_image /myimg.png

do you know what the image specifications have to be?

like legth and width and color count?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...