| Hack: | Hack the Windows NT/2000/XP Boot Loader | |
| Subject: | Grub booting XP on one disk, Linux on another | |
| Date: | 2005-09-17 20:51:40 | |
| From: | Greenstreet | |
|
I was able to get Grub to work on my system but I needed a trick to do it. I ran into a problem on my first attempt: On my system XP is already on hda. I loaded Linux on hdb and created the /boot partition as the first partition on hdb (hdb1). (This is a small partition entirely within the 1024 cylinder limit.) I loaded Grub on this partition, then did the dd trick to copy the boot sector of hdb1 to a file that I placed on c:\ (on hda2) and set up my boot.ini accordingly. It didn't work - it just types "GRUB" in the upper-left corner.
|
||
Showing messages 1 through 1 of 1.
-
Grub booting XP on one disk, Linux on another
2005-10-23 06:47:58 keithglos [Reply | View]
I recently copied a disk image to a stand alone hard disk. Used for the first time a boot live Linux. I found the dd command would only write from head 0 track 1 sector 1, this should have been head 0 track 0 sector 1 for the PC bios to find it. If this is normal (OK for writing to floppy) it would explain some of the difficulties here. I added bs=32256 (512x63) and skip=1, and hand copied the mbr from the file to the correct location, which then worked.
| Showing messages 1 through 1 of 1. |



