LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   GRUB help needed to boot to windows (https://www.linuxquestions.org/questions/linux-general-1/grub-help-needed-to-boot-to-windows-296033/)

search66 02-28-2005 06:30 PM

GRUB help needed to boot to windows
 
Ok here is my info maybe someone can se my problem

REALLY appreciate any help!!

Mount info for windows:

/dev/hdb1 on windows/C type NTFS


Device Map:

(hd0). /dev/hda
(hd1). /dev/hdb
(hd2). /dev/hdb1


menu.lst:

title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1


I have two hard drives and Windows is on the primary drive... LBA is set on, btw.


Again, Im stuck not getting into Windows. THANKS!!!

homey 02-28-2005 08:04 PM

Hi,

While you are booted into linux, type the command: /sbin/fdisk -l
Post the results back here please.

Brian1 02-28-2005 08:23 PM

If your Windows partition is /dev/hda1 then change your line to rootnoverify (hd0,0). If hda2 then (hd0,1). 1st drive is always 0, 2nd is 1, and so on.

Brian1
" Google the Linux way @ http://www.google.com/linux "

search66 02-28-2005 08:41 PM

/dev/hda1 W95 ext'd (LBA) <- boot
/dev/hda5 HPFS/NTFS
/dev/hda6 Linux Swap
/dev/hda7 Linux

/dev/hdb1 HPFS/NTFS

homey 02-28-2005 08:59 PM

Quote:

/dev/hda1 W95 ext'd (LBA) <- boot
/dev/hda5 HPFS/NTFS
/dev/hda6 Linux Swap
/dev/hda7 Linux

/dev/hdb1 HPFS/NTFS
You might have success using the map command in the menu.lst. This is used to fool windows into thinking it is on the first drive where it always wants to assume it is located.
Code:

menu.lst:

title Windows
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1


Brian1 02-28-2005 09:03 PM

If you say Windows is on the master the master drive is it the /dev/hda5 partition. If it is actually the /dev/hdb1 then to me it means the Windows drive is the slave. Windows does not like to boot unless it is C. We need to trick grub to make windoes happy.

Try this.

title Windows
root = (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1

Brian1
" Google the Linux way @ http://www.google.com/linux "

search66 03-01-2005 05:12 AM

Homey! Yer truly a champ! That map trick worked great. Thanks a ton...

homey 03-01-2005 07:01 AM

Cool! I'm glad ya got it working. :)


All times are GMT -5. The time now is 11:45 PM.