Help to boot windows from a extended partition

Breno Batista Machado breno at brenomachado.org
Thu Mar 6 21:10:22 UTC 2008


Awww, i wrote wrong... sorry for this..
It was (hd0,4), i already tryed do a lot of things ( because, in last
modification in menu.lst i removed this section)...

I was with Windows Vista (sda1), XP (sda5) and Linux (sda9)... Then i
removed windows vista e changed the ubuntu to sda1..
After this I cant boot in windows anymore.. I read somethings about and i
think it's because windows need to be in a primary partition for get boot..
But i read something about how to boot windows in a extended partition, but
nothing worked..

(sorry again for my bad english)

ty

On Thu, Mar 6, 2008 at 4:22 PM, Alexandra Zaharia <f0rg3r at gmail.com> wrote:

> On Thu, Mar 6, 2008 at 8:45 PM, Breno Batista Machado
> <breno at brenomachado.org> wrote:
> >
> >
> > fsI have installed ubuntu hardy heron in my primary partition (sda1) and
> > windows in a extended partition (sda5) and i cant boot from grub in my
> > windows.
> > can anyone help me?
> >
> > In sda1 was installed windows vista, so i formatted it and installed
> ubuntu,
> > after this i cant login anymore in windows.
> >
> > thank's
> >
> > (sorry my bad english)
> > my partitions:
> >    + sda1 - reiserfs     (ubuntu)
> >    + sda2 - extended
> >    +--+ sda5 - ntfs        (Windows XP)
> >    +--+ sda6 - ntfs        (Files)
> >    +--+ sda7 - ntfs        (Files)
> >    +--+ sda8 - ntfs        (Files)
> >    +--+ sda9 - reiserfs   (/home)>
> >    +--+ sda10 - linux-swap
> >
> > follow my menu.lst:
> >
> >
> > default 0
> > timeout 10
> >
> > title Ubuntu hardy (development branch), kernel 2.6.24-11-generic
> > root (hd0,0)
> > kernel /boot/vmlinuz-2.6.24-11-generic
> > root=UUID=c9d8dc9d-7daf-400b-b163-c96411e8b515 ro quiet splash
> > initrd /boot/initrd.img-2.6.24-11-generic
> >  quiet
> >
> > title Ubuntu hardy (development branch), kernel 2.6.24-11-generic(recovery
> > mode)
> > root (hd0,0)
> > kernel /boot/vmlinuz-2.6.24-11-generic
> > root=UUID=c9d8dc9d-7daf-400b-b163-c96411e8b515 ro single
> > initrd /boot/initrd.img-2.6.24-11-generic
> >
> > title Ubuntu hardy (development branch), kernel 2.6.24-11-386
> > root (hd0,0)
> > kernel /boot/vmlinuz-2.6.24-11-386
> > root=UUID=c9d8dc9d-7daf-400b-b163-c96411e8b515 ro quiet splash
> > initrd /boot/initrd.img-2.6.24-11-386
> >  quiet
> >
> > title Ubuntu hardy (development branch), kernel 2.6.24-11-386 (recovery
> > mode)
> > root (hd0,0)
> > kernel /boot/vmlinuz-2.6.24-11-386
> > root=UUID=c9d8dc9d-7daf-400b-b163-c96411e8b515 ro single
> > initrd /boot/initrd.img-2.6.24-11-386
> >
> > title Ubuntu hardy (development branch), memtest86+
> > root (hd0,0)
> > kernel /boot/memtest86+.bin
> > quiet
> >
> > title Windows XP
> > root (hd0,5)
> > chainloader +1
> > makeactive
> >
>
> Hello Breno,
>
> If indeed your Windows XP partition is on /dev/sda5, then you should
> modify the section:
>
> title Windows XP
> root (hd0,5)
> chainloader +1
> makeactive
>
> into
>
> title Windows XP
> root (hd0,4)
> chainloader +1
> makeactive
>
> This is because your first HDD (be it sda) is known as hd0. If you
> have a 2nd HDD (be it sdb) it will be known as hd1 and so on. The same
> (the counting from 0 stuff) applies to partitions: sda1=(hd0,0),
> sda99=(hd0,98) etc.
>
> So edit as root /boot/grub/menu.lst with the modification I listed
> above, save, reboot and pray :-)
>
> HTH,
>
> Alex.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
 Att.
 Breno Batista Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080306/579f5c49/attachment.html>


More information about the ubuntu-users mailing list