> Hello!
>
> I have this project where i want to create a dual boot system between
> Windows and Linux where a script using parted creates partitions for this.
> Furthermore, I have a template installation where I copy the Linux
> partition including grub with dd to a file. This file I want to copy into
> the target installation, again using dd.
>
> I have tried making a partition after the windows NTFS partition with
> parted (also tried manually using fdisk) and then copying the partition
> image into this partition with dd if="image-file" of=/dev/sda2, but this
> do not work! I get "Unable to boot operating system" on that bootable
> partition.
>
> Any ideas on what I do wrong?
>
> Here's the output from parted -s /dev/sda u s p free
>
> Model: ATA Hitachi HTS72108 (scsi)
> Disk /dev/sda: 156301488s
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number Start End Size Type File system Flags
> 1 63s 8610839s 8610777s primary ntfs
> 2 8610840s 156296384s 147685545s primary ext3 boot
>
>
> Here's
> Regards,
> Helge Fredriksen
_______________________________________________