[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating partitions

From: Tim Eberhardt
Subject: Re: Creating partitions
Date: Mon, 12 Apr 2010 09:57:27 +0200
User-agent: KMail/1.13.2 (Linux/2.6.33-gentoo; KDE/4.4.2; x86_64; ; )

Hello Helge!

First you should flag the NTFS partition as bootable. Next try to reinstall 
grub to the mbr using the grub shell.

# grub --no-floppy
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

If grub is starting correctly and you get an error after selecting your linux 
to boot, there is something wrong with your menu.lst.

Best regards

Am Sonntag 11 April 2010 22:23:29 schrieb Helge Fredriksen:
> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]