[Top][All Lists]

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

Re: Creating partitions

From: Helge Fredriksen
Subject: Re: Creating partitions
Date: Fri, 23 Apr 2010 12:28:37 +0200

Hmm, which live cd has grub installed as a command?

I cannot seem to find it on the gparted live CD.


2010/4/12 Tim Eberhardt <address@hidden>
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

bug-parted mailing list

reply via email to

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