Grub not working

chris chevhq at gmail.com
Thu May 5 18:39:32 UTC 2011


On Thu, 2011-05-05 at 17:53 +0100, Tony Pursell wrote:
> On Thu, 2011-05-05 at 11:58 -0400, dave boland wrote:
> > 
> > 
> > On Thu, 05 May 2011 16:41 +0100, "Tony Pursell"
> > <ajp at princeswalk.fsnet.co.uk> wrote:
> > > On Thu, 2011-05-05 at 10:21 -0400, dave boland wrote:
> > > > On Thu, 05 May 2011 21:01 +0800, "Goh Lip" <g.lip at gmx.com> wrote:
> > > > > On 05/05/2011 08:56 PM, Goh Lip wrote:
> > > > > > Take out the # and it should look like this:
> > > > > > #GRUB_HIDDEN_TIMEOUT=0
> > > > > 
> > > > > I mean "put in", not "take out"
> > > > > As someone recently said, my english not so good.   :)
> > > > > 
> > > > > To make sure your Windows is there, try (do? might do?) this in terminal
> > > > > 
> > > > > sudo grub-install /dev/sda
> > > > > 
> > > > > Regards - Goh Lip heh heh heh
> > > > > 
> > > > > 
> > > > > 
> > > > > -- 
> > > > > ubuntu-users mailing list
> > > > > ubuntu-users at lists.ubuntu.com
> > > > > Modify settings or unsubscribe at:
> > > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > > > > 
> > > > Goh,
> > > > 
> > > > Won't this cause Grub to be reinstalled and send me back to square 1? 
> > > > After all, the Ubuntu/Grub installer didn't detect Windows ME the first
> > > > two times.  Perhaps my head is still stuck in Grub 1, but I would think
> > > > that adding a line to the config file would be the way to go.  Of course
> > > > I have no idea what to add, but...
> > > 
> > > Is ME on the first disk (if you have more than 1) and on the first
> > > partition on that disk?  
> > 
> > Yes to all.
> > 
> > > If it's not, then you need some special
> > > commands to do virtual disk swaps. There is a bit about how to boot
> > > windows in the Grub Legacy manual
> > > 
> > > http://www.gnu.org/software/grub/manual/legacy/
> > > 
> > > If you are sticking with Grub Legacy it is the menu.lst file that you
> > > have to edit. 
> > 
> > I'm using Grub 2 (1.99 actually).  I wish it was Grub 1 -- I would have
> > menu.lst fixed and be happy.  Grub 2 is better than Grub 1 why again
> > (rhetorical question)?
> > 
> 
> OK. Wasn't sure which you were on.  Here is the Grub 2 manual (actually
> 1.99~rc1)
> 
> Looking at 4.1.2 Chain-loading an OS, it gives us
> 
> menuentry "Windows" {
> 	insmod chain
> 	insmod ntfs
> 	set root=(hd0,1)
> 	chainloader +1
> }
> 
> but that's not exactly what is in my /boot/grub/grub.cfg built by
> update-grub.
> 
> You will see in '5.1 Simple configuration handling', that it doesn't
> guarantee the grub-mkconfig program (which is run by update-grub) will
> do everything you want and even suggests (horror of horrors) that you
> might need to create your own /boot/grub/grub.cfg.
> 
> The non linux systems are found by a program called os-prober.  When I
> run it (with sudo), it gives 
> 
> /dev/sda1:Microsoft Windows XP Home Edition:Windows:chain
> /dev/sda4:Windows NT/2000/XP:Windows1:chain
> 
> See if it will detect ME for you.  That may be the problem.
> 
> Tony
> 
> 
> 
> 

I have never known the os-prober detect any version of windows prior to
xp.  personal experience only. This experience applies from 5.10
onwards.

-- 
Cheers the kiwi





More information about the ubuntu-users mailing list