Re: Booting into DOS
On Thu, Dec 1, 2011 at 6:17 PM, Ethan Rosenberg <ethros@earthlink.net> wrote:
>
> Tom -
>
> Thanks.
>
> Here is the changed file.
>
> #!/bin/sh
> exec tail -n +3 $0
> # This file provides an easy way to add custom menu entries. Simply type
> the
> # menu entries you want to add after this comment. Be careful not to change
> # the 'exec tail' line above.
> menuentry "DOS (loader) (on /dev/sda1)" {
> insmod part_msdos
> insmod fat
> # set root='(hd0,0)'
> set=root
> search --no-floppy --fs-uuid --set 351B-1CE1
> chainloader +1
> }
>
> I probably did not understand what you said, becuase it will not boot into
> DOS.
You're welcome.
My fault:
Change
set root='(hd0,0)'
to
set root='(hd0,1)'
because in grub2 sda1 corresponds to (hd0,1) whereas in grub1 sda1
corresponds to (hd0,0).
Reply to: