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
--- 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
--- 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-----
|
|