Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:add_a_windows_partition_to_the_grub_boot_loader [2020/06/01 22:53]
linux:add_a_windows_partition_to_the_grub_boot_loader [2020/06/01 22:53] (current)
Line 1: Line 1:
 +====== Add a Windows Partition to the Grub Boot Loader ======
 +
 +If you have a Windows partition already and you need to put it into the Grub boot list, just add the following to your /​boot/​grub/​menu.lst file.
 +
 +<​code>​
 +title WindowsXP Pro
 +rootnoverify (hd0,1)
 +map (hd0) (hd1)
 +map (hd1) (hd0)
 +makeactive
 +chainloader +1
 +</​code>​
 +
 +Notice that hd0,1 means the 2nd partition (1) on the first hard drive (0).  Also the two map lines are optional and will switch the drives around so that Window sets up on drive C.
  
comments powered by Disqus
linux/add_a_windows_partition_to_the_grub_boot_loader.txt · Last modified: 2020/06/01 22:53 (external edit)