Any grub experts here?

Matthias Benkmann matthias at winterdrache.de
Thu Nov 8 06:33:37 PST 2001


On 8 Nov 2001, at 12:04, Christian Lyra wrote:

> On Thursday 08 November 2001 11:45, you wrote:
> > O
> >
> > > I've tried using
> > > chainloader (hd1,2)+1
> >
> > try this:
> >
> > title = Are_you_sure_you_want_Winblows
> > root (hd1,2)
> > chainloader +1
> >
> > Make sure you are looking at the right hd/partition
> >
> > > But that doesn't work.
> > >
> > >   Any ideas?
> 
> Just to the sake of curiosity: you can do tricky things with grub, like,
> have two windows on the same disks (one to games, and another to the
> general work). You just have to Hide/Unhide the partitions:

Actually you can have 2 Windows copies or even 2 different versions of 
Windows (such as 95 and 98) on the same partition without doing any hiding 
and unhiding. The location of the "Program Files" folder is in the 
registry and can be changed by export full registry to text, search and 
replace, rebuild registry from scratch (of course you may choose to have 
both Wins share Program Files).
Now the only thing you have to do is to put a few rename statements into 
autoexec.bat that will rename c:\windows.2 or c:\windows.1  to c:\windows 
on startup (unless the correct one is already active).
Of course you need to have 2 different autoexec.bat and config.sys (and to 
achieve this command.com and io.sys, too) for both Windows versions but a 
little hex editing of io.sys and command.com to replace the names achieves 
this easily. Of course you need a patched boot sector that uses the 
patched io.sys. But that is all child's play for someone who can use a hex 
editor. So it's all just a dull search and replace job in the proper 
files.

MSB

----
In allen Kulturen haben Muetter ihre Babys mit Vorgekautem
von Mund zu Mund gefuettert.
Bis vor kurzem sogar noch in Schleswig-Holstein.

Irenaeus Eibl-Eibesfeldt im SZ Magazin, No.28

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list