title.. grub doesnt show windows xp in dual boot menu
title.. grub doesnt show windows xp in dual boot menu
please post the output of:
Code:sudo fdisk -l
Code:Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x04d304d2 Device Boot Start End Blocks Id System /dev/sda2 * 1 38912 312560608+ f W95 Ext'd (LBA) /dev/sda5 9139 35246 209712478+ 82 Linux swap / Solaris /dev/sda6 35247 38912 29447113+ 7 HPFS/NTFS /dev/sda7 1 9138 73400890+ 83 Linux Partition table entries are not in disk order
http://ubuntuguide.org/wiki/Ubuntu:F...into_GRUB_menu
except for root use (hd0,1) or (hd0,5).
but it may not work
are you sure sda6 is windows system partition (c:\) ? If so, how did it end up on logical partition?
I dont realy know how to check the number of the windows hd i mean like what is the hd(x, x) of windows.. (i am new to linux).. how do i check this?
grub starts counting from 0
linux designation - grub designation
sda2 --> hd0,1 (i.e. first drive, second partition) this is the extended partition containing the others, with boot flag (*)
sda5 --> hd0,4 (first drive, fifth partiiton)
sda6 --> hd0,5 ( " " sixth " ) windows/NTFS
sda7 --> hd0,6 ubuntu root
Last edited by logos34; June 24th, 2008 at 09:23 PM.
so what i need to add in GRUB configuration is:
title Microsoft Windows
rootnoverify (hd0,5)
savedefault
makeactive
chainloader +1
let me understand: title means the title it get in the grub menu, root.. means the HardDrive that the operation system is there (where to boot from)
and the others i dont realy understand can you tell me what they are for? i assume that the "savedefault" means that this will be the default boot command.. (windows will boot by default) am i correct?
sorry for the delayed response...I was troubleshooting my k3b app
yes to all the above...savedefault means grub will boot the last used OS if the 'default' line near top is set to 'saved'
more here
try hd0,1 or hd0,5
*if hd0,5 gives error, take out line 'makeactive'
when i try hd0,1 or hd0,5 it tells me error 12: Invalid device requested.
what should i do?
Last edited by dinbrca; June 24th, 2008 at 10:21 PM.
give me some more details...like in what order ubuntu and windows were installed (or rather in the case of windows, copied), why on a logical partition, etc. Can you mount windows in ubuntu and access files there?
Bookmarks