Grub not working
Tony Pursell
ajp at princeswalk.fsnet.co.uk
Fri May 6 15:28:23 UTC 2011
On Fri, 2011-05-06 at 11:17 -0400, dave boland wrote:
> > Forget all that. (Bangs head on wall!). We really should read what it
> > says 'Simply type the menu entries you want to add after this comment'
> >
> > So all you need is to add
> >
> > menuentry "WinME" {
> > insmod part_msdos
> > insmod fat
> > set root=(hd0,1)
> > chainloader +1
> >
> > after the line
> >
> > # the 'exec tail' line above.
> >
> > then the
> >
> > exec tail -n +3 $0
> >
> > does the rest by outputting everything after the 3rd line.
> >
> > Sorry if I sent you down a blind alley before.
> >
> > Tony
>
> Tony,
>
> So if I understand, it should look like this when done?
>
> #!/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.
> # cat /etc/grub.d/40_custom
> #!/bin/sh
> menuentry "WinME" {
> > insmod part_msdos
> > insmod fat
> > set root=(hd0,1)
> > chainloader +1
> }
> EOF
> --
Sort of, but I think the mail has garbled it. See
http://pastebin.com/UrdHRpcS
Now all we need to do is to get the correct commands to put in the file!
Tony
More information about the ubuntu-users
mailing list