PDA

View Full Version : [ubuntu] Windows essential in grub



oyankee
June 14th, 2008, 04:09 PM
Hi everybody,
I just installed Win Essential and repaired grub. But now I can't load Wins from grub.
fdisk -l

Disk /dev/hda: 40,0 GB, 40*007*761*920 bajtů
hlav: 255, sektorů na stopu: 63, cylindrů: 4*864
Jednotky = cylindry po*16065 * 512 = 8*225*280 bajtech
Identifikátor disku: 0x000abe09

Zařízení Zavádět Začátek Konec Bloky Id Systém
/dev/hda1 1 4023 32314716 83 Linux
/dev/hda2 * 4024 4788 6144862+ c W95 FAT32 (LBA)
/dev/hda3 4789 4864 610470 f W95 Rozš. (LBA)
/dev/hda5 4789 4864 610438+ 82 Linux swap/Solaris


menu.lst

## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-18-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=48829db4-84de-4cef-8ac9-f283c6acf222 ro quiet splash rootflags=data=writeback
initrd /boot/initrd.img-2.6.24-18-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-18-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=48829db4-84de-4cef-8ac9-f283c6acf222 ro single rootflags=data=writeback
initrd /boot/initrd.img-2.6.24-18-generic

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=48829db4-84de-4cef-8ac9-f283c6acf222 ro quiet splash rootflags=data=writeback
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=48829db4-84de-4cef-8ac9-f283c6acf222 ro single rootflags=data=writeback
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

title Microsoft Windows ;
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1


Can anyone help, please? thank you

ChameleonDave
June 14th, 2008, 04:29 PM
What is Win Essential?

What happens when you try to boot?

dacorr
June 14th, 2008, 04:34 PM
which partition is windows on?

Dac

zvacet
June 14th, 2008, 04:48 PM
Chanfe your win entries and the they should look like this

title Microsoft Windows ;
rootnoverify (hd0,1)
chainloader +1

save an close the file.After rweboot you should be able to boot in windows.

oyankee
June 14th, 2008, 05:59 PM
Thanks, it didn't help. They are XP Pro on hda2, ubuntu is on hda1. So it's good with hd0,1, isn't it? When I try to boot nothing happens. Just blinks and stay at grub.

meierfra.
June 14th, 2008, 06:42 PM
So it's good with hd0,1,
Yes.


Boot from your Windows CD. At the first screen press "r" to enter the repair console and type


fixboot

Hopefully this fixes your problem (but I'm not sure).
(In case that you boot directly into Windows, you have to reinstall Grub again).


If this did not cure your problem:

Are you able to access your Windows partition from Ubuntu? (Go to Places->Computer. One of those icons should be for Windows).

meierfra.
June 14th, 2008, 06:44 PM
Did you ever try "root (hd0,1)" in place of "rootnoverify (hd0,1)"

oyankee
June 14th, 2008, 10:23 PM
Did you ever try "root (hd0,1)" in place of "rootnoverify (hd0,1)"

Yes, no results. I'll try fixboot as you advise. Now I am able to get to the partition from ubuntu. It was shutted down corectly.

VMC
June 14th, 2008, 11:51 PM
It appears your Start & End overlap between W95 and Swap:

/dev/hda3 4789 4864 610470 f W95 Rozš. (LBA)
/dev/hda5 4789 4864 610438+ 82 Linux swap/Solaris

meierfra.
June 15th, 2008, 12:54 AM
it appears your Start & End overlap between W95 and Swap:

/dev/hda3 4789 4864 610470 f W95 Rozš. (LBA)
/dev/hda5 4789 4864 610438+ 82 Linux swap/Solaris

hda3 is just an extended partition containing hda5. So this is normal.

oyankee
June 15th, 2008, 09:40 AM
Hm, fixboot didn't help.

meierfra.
June 15th, 2008, 04:41 PM
Are you getting any error messages, when trying to boot XP?

You might try to run "chkdsk" from the recovery console of the Windows CD.

oyankee
June 15th, 2008, 07:34 PM
No,I already tried that. And I wish I got any messages. But nothing happens. It just blinks. Is it possible that ntloader is broken?