Grub not working
dave boland
dboland9 at fastmail.fm
Fri May 6 13:16:07 UTC 2011
> > #!/bin/sh
> > (because this is a script)
> > cat << EOF
> > (for the script to start writing to grub.cfg when it's called)
> > menuentry "Chainload WinME" {
> > insmod part_msdos
> > insmod fat
> > set root=(hd0,1)
> > chainloader +1
> > }
> > (the above's the actual menu title and the stuff that picking'll do)
> > EOF
> > (for the script to stop writing to grub.cfg when it's called)
> >
I updated my 40_custom as explained above (see below). The menu
appears, and I get a blinking under score cursor that is non-functional.
#!/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
echo 'Windows ME'
#cat<<EOF
menuentry "WinME" {
insmod part_msdos
insmod fat
set root=(hd0,1)
chainloader +1
}
EOF
Dave,
--
dave boland
dboland9 at fastmail.fm
--
http://www.fastmail.fm - A no graphics, no pop-ups email service
More information about the ubuntu-users
mailing list