OT: Windows partition copy

Klaus-Peter Schrage kpschrage
Sat Aug 28 07:14:39 PDT 2004


Roger Oberholtzer wrote:
> I will answer all replies here together. The partition is on the primary
> hard disk. It is also the first (I know that does not matter). And it is
> active. Here is the disk layout:
> 
> Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80000000000 bytes
> 255 heads, 63 sectors/track, 9726 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Device Boot      Start         End      Blocks   Id  System
> part1   *           1         512     4112608+   c  W95 FAT32 (LBA)
> part2             513         575      506047+  82  Linux swap
> part3             576        2302    13872127+  83  Linux
> part4            2303        9726    59633280   83  Linux
> 
> I want to boot from partition 1.

Does that mean that you want to boot into win98 on that partition?

If so, as a first step, you should restore the partition boot sector 
(not MBR!) of part1. I don't think that dd'ing it from another win98 
install would be a good idea, there might be some disk specific stuff 
stored in there.

To get the PBR fixed I'd try a repair install of win98, I think there is 
an option like that in the installation procedure, but there might be 
other tricks ... google

Next you should get into Linux (rescue disk or Knoppix) and install grub 
into the MBR. From a grub console, this should do it:

grub> root (hd0,2)	# i. e. your part3
grub> setup (hd0)	# that's your MBR

with /boot/grub/menu.lst set up properly,
see 'info grub' (or ##grub from konqueror) for that step.

At least, that's what I'd try ...
Klaus




More information about the Linux-users mailing list