OK: fixed reinstalling grub in rescure mode --- I should have installed to /dev/sda.
But the windows eating uo grub remains.
On doing fdisk -l, I get
Code:
/dev/sda1 (Boot flag on) NTFS
/dev/sda2 NTFS
/dev/sda3 Extended
/dev/sda5 NTFS
/dev/sda6 NTFS
/dev/sda7 Linux Sawp
/dev/sda8 Linux
/dev/sda9 Linux
My HDD is
1 primary rescure partition
1 primary XP
1 logical win 7
1 logical NTFS data
1 logical ext4 linux /
1 logical ext4 /home
1 logical swap
When grub in installed in rescue mode, it again says vista and Xp detected, but they dont get incorparated into grub.cfg.
However, when I do update-grub2, they are detected and incroporated into grub.cfg
Here are the (abbreviated) windows entries:
Code:
menuentry "Win7 (loader) on /dev/sda1"{
insmod ntfs
set root = (hd0,1)
search --no-floppy --fs-uuid --set 3b519a6xxxxxxxx
chainloader +1
}
menuentry "Win XP on /dev/sda2"{
insmod ntfs
set root = (hd0,2)
search --no-floppy --fs-uuid --set fafc53xxxxxxxx
chainloader +1
}
The XP option actually takes me to the laptop recovery mode.
The win 7 option takes me to the win 7 loader where I can choose both win 7 and XP