[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting into DOS [SOLVED]



On Fri, Dec 2, 2011 at 2:32 PM, Ethan Rosenberg <ethros@earthlink.net> wrote:
At 04:19 AM 12/2/2011, Brian wrote:
On Thu 01 Dec 2011 at 23:32:42 -0500, Ethan Rosenberg wrote:

> I'm obviously doing something incorrect, since I cannot get a DOS boot.
> I'm sure I misunderstood you.  What are all the files that should be
> edited, and what should they contain?

There is only one file to edit - /etc/grub.d/40_custom. I think Tom H is
suggesting you have

  menuentry "DOS (loader) (on /dev/sda1)" {
          insmod part_msdos
          insmod fat
          set root='(hd0,1)'
          chainloader +1
  }

You can check DOS is on /dev/sda1 using 'cfdisk /dev/sda'.

file -s /dev/sda (as root) will also show you what the partition/drive is,
but that's trivial, as long as it works for you.

> --
> Chris Brennan
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------

Reply to: