Grub not working
dave boland
dboland9 at fastmail.fm
Fri May 6 15:17:34 UTC 2011
> 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
--
dave boland
dboland9 at fastmail.fm
--
http://www.fastmail.fm - Does exactly what it says on the tin
More information about the ubuntu-users
mailing list