clanlaw at googlemail.com
Wed Mar 2 11:31:10 UTC 2011
On 2 March 2011 10:18, Tom H <tomh0665 at gmail.com> wrote:
> On Wed, Mar 2, 2011 at 4:41 AM, Colin Law <clanlaw at googlemail.com> wrote:
>> So the conclusion:
>> 1. Install tools to allow access to Ubuntu partition from XP
>> 2. In Ubuntu edit /etc/default/grub so that the default is XP.
>> 3. Write a windows script that edits /boot/grub/grub.cfg so that the
>> next boot will be into Ubuntu.
>> 4. When running Ubuntu, to set next boot to XP simply run sudo
>> update-grub to restore /etc/default/grub to boot into XP
> For (3), you can just edit "/boot/grub/grub.cfg" directly if you have
> r/w access and don't want to script changing X in "set default=X".
> But there are a couple pf problems: (1) AFAIK, you can't access an
> ext4 partition from Windows. (2) AFAIK, (should XP be upgraded or for
> a future googler) you can't access ext partitions with Win7 except r/o
> - until either ext2 ifs or ext2read are developed further...
I like your suggestion of using GRUB_DEFAULT=saved much better anyway,
and it seems it should suit the OP well as I think he normally uses
Ubuntu but occasionally has to use XP.
More information about the ubuntu-users