Grub not working
dave boland
dboland9 at fastmail.fm
Fri May 6 12:51:10 UTC 2011
> > I have to confess -- I don't quite get what I have to do. Do I need to
> > put all of this in a file?
>
> No. Sorry, I must not have been clear.
>
> I was just showing you with the first "root at nattykdebox:~# cat
> /etc/grub.d/40_custom" that you should have that in your 40_custom and
> with the second "root at nattykdebox:~# cat /etc/grub.d/40_custom" what I
> have on my box to boot FreeBSD.
>
> The structure of 40_custom should be as follows without the lines
> starting and ending with parentheses as they are comments for the sake
> of this email (I'm assuming that you install grub2 to sda9 and reset
> the MBR with "fdisk /mbr"; if "set root=(hd0,1)" after that, try "set
> root=(hd0)").
>
> #!/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)
>
Oops! What a moroon (in a Bugs Bunny voice) am I! I will try this.
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