help-grub
[Top][All Lists]
Advanced

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

Re: Can Grub start Windows XP from "other" partition


From: Ulf Zibis
Subject: Re: Can Grub start Windows XP from "other" partition
Date: Tue, 20 Nov 2012 13:03:55 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hi Hugo,

thanks for your additional feedback, even it if doesn't solve my question ;-)

BTW, why you all answer only privately, without CC: to the list? I think, this discussion could be helpful for others.

Cheers,

Ulf

Am 20.11.2012 05:13, schrieb Hugo Bodewig:
Hi Ulf,

I understand your concern since I tried something similar some years back with LILO and some MS versions but cannot remember what the result was.

However, I have one piece of advice. When I play around with the setup I do it first on an old desktop. It is slow, cumbersome and only suitable for trying out; but it will save you some potential nightmares.

Kind regards / Mit freundlichen Grüßen /
Meilleures salutations/ Cordiali Saluti / 此致敬意
Sinceramente seu / تفضلوا بقبول فائق الاحترام

 

Dr. H. Bodewig
Project Control
PO Box 610
0043 Faerieglen - Pretoria, RSA
Tel: +27 (0)12 3612477
Mobile: +27 (0)78 7629586
E-mail: address@hidden

Links: http://bodewig.tel




On 20 November 2012 04:11, Ulf Zibis <address@hidden> wrote:
Hi Leslie again,

thanks for your effort to describe your configuration.

I'm afraid, my problem is very different from yours.

You have only 1 Windows in your configuration, but I have 2.
I guess, you have installed Windows in some fix partition and have never changed it. So the Windows inside will see this partition as e.g. C: and that never changed.

In my case the "old" Windows-installation was originally installed in partition sda1 as C:
Now I have copied that partition to sda5 with GParted and did a new Windows-installation in sda1.
Grub 2 now shows 2 Windows operating systems in it's start menu after update-grub from Ubuntu in sda3. (sda2 is occupied by the ThinkPad recovery partition)
When booting with Grub 2 into sda5, I'm afraid, the "old" Windows installation will see the sda1 partition as C: and sda5 as D: so it would use and probably change files in sda1 while referring to path C:\....
Before I try this, I would be happy if someone could insure me, that Grub 2 will hide partition sda1 when booting Windows from partition sda5 to prevent a corruption of the data in sda1 while first booting.

Can somebody give me information about that risk and hopefully some hints how to prevent from?

-Ulf


Am 19.11.2012 20:55, schrieb Leslie S Satenstein:
This is my process.

1) My disk has Debian, Fedora16, Ubuntu, Windows and Fedora 18 (test).  If I boot without doing anything, it is the Debian grub.cfg file that takes control.

2)  When an update comes for either of the distributions (Fedoras, or Ubuntu),  it is their own grub.cfg that gets updated. I need to transfer that update to the Debian grub.cfg 

3) When I see this happening I boot into my Debian system

4) I log onto that Debian system as root and do a grub.mkconfig >/tmp/grub.cfg

5) I review that grub.cfg to reset the default to 7 (it is a field near the beginning of the file) (Menus are Counted beginning with zero). I also remove more than two generations of linux entries in this grub.cfg and save the file.
I change to the /boot/grub directory and do a cp grub.cfg to grub.bak
I then copy the /tmp/grub.cfg to /boot/grub.  (replacing the Debian grub.cfg)

I reboot, and see all my updates. in the initial menu selection screen.

grub.mkconfig will also recognize all windows operating systems


Regards

 Leslie
Mr. Leslie Satenstein
50 years in Information Technology and going strong.
Yesterday was a good day, today is a better day,
and tomorrow will be even better.
 

mailto:address@hidden
alternative: address@hidden
www.itbms.biz  www.eclipseguard.com


--- On Mon, 11/19/12, Ulf Zibis <address@hidden> wrote:

From: Ulf Zibis <address@hidden>
Subject: Re: Can Grub start Windows XP from "other" partition
To: "Leslie S Satenstein" <address@hidden>, address@hidden
Date: Monday, November 19, 2012, 12:31 PM

Hi Leslie,

that sounds good, thanks for your quick answer.

Just to avoid some bad experience on my existing installation, are you really sure, that Windows will see the other not 1. partition, from which it is started, as C:, even from a logical partition?

Again thanks,

Ulf


Am 17.11.2012 02:23, schrieb Leslie S Satenstein:
YES.

When you execute grub2, it surveys all the disks and all the partitions and lists all the operating systems in a list. You may set the default to the operating system of choice.

The command is grub.mkconfig  (or grub-mkconfig)  put the output of mkconfig to /tmp ans use an editor to review it



Regards

 Leslie
Mr. Leslie Satenstein
50 years in Information Technology and going strong.
Yesterday was a good day, today is a better day,
and tomorrow will be even better.
 

mailto:address@hidden
alternative: address@hidden
www.itbms.biz  www.eclipseguard.com


--- On Fri, 11/16/12, Ulf Zibis <address@hidden> wrote:

From: Ulf Zibis <address@hidden>
Subject: Can Grub start Windows XP from "other" partition
To: address@hidden
Date: Friday, November 16, 2012, 7:10 PM

Hi,

I have an old bad running WinXP installation, which was installed on partition 1 as C:.
Now I want to move this installation to another partition and make a fresh WinXP installation on partition 1.
For some reasons, I want to have the possibility to run the old installation later. I believe, that I can run it, if I manually "hide" the 1. partition and mark the 2. as active/boot, so Windows will guess the 2. partition as C:.
I Grub smart enough to do that for me when booting the old Windows partition from the 2. partition?

Ideally I would like to move the old WinXP installation to a "logical" partition. Would that also work?
So my preferred partitioning would be like:
Primary partition 1: new Windows XP installation
Primary partition 2: Thinkpad Recovery (physically at the end of the of the harddrive)
Primary partition 3: Ubuntu
Extended partition 4:
Logical partition 5: Ubuntu swap
Logical partition 6: Data
Logical partition 7: Backup
Logical partition 8: old bad Windows XP installation (Copy from originally C:)

Thanks for hints,

-Ulf


_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub


-----Inline Attachment Follows-----

_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub


_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

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