Re: [mu TECH] A new installer for DOS

From: Michele Andreoli (m.andreoli@tin.it)
Date: Wed May 03 2000 - 14:47:19 CEST


On Wed, May 03, 2000 at 09:32:25AM +0200, Sabino Maggi nicely wrote:
> >
> > I've win98 in /dev/hda1, the first partition, but NT-Setup do not installed
> > its loader.
>
> /dev/hda1 is formatted as a FAT32 partition, isn't it? This explains why
> NT cannot install its loader there. NT does know ANYTHING about FAT32.
> Probably even Microsoft doesn't... ;-))

Freud call this kind of symptoms "sdoppiamento della personalita'",
how to translate? Schizophrenia?

> >
> > Not Linux? False: there is a trick (using dd and other) for that.
> > NT loader can boot Linux.
>
> This I didn't know. Could you be more detailed?

This work also for win98? This is covered in a nice mini-howto.
(mauby Linux-NT-loader).
Let me call /dev/hda6 the Linux partition and /dev/hda1 the NT
partition:

1) from Linux (get mbr for hda6)

                dd if=/dev/hda6 of=linux.mbr bs=1c count=521

I installed mbr in /dev/hda6 using LILO:

                boot=/dev/hda6
                install=/boot/boot.b
                image=/boot/zImage
                label=linux
                root=/dev/hda6

2) boot your NT and point the file boot.ini

        C:\attrib -s -r c:\boot.ini

Put the file linux.mbr in the directory boot/ in your NT (transport
it with a dos floppy, from Linux).

Open the file boot.ini with notepad and change it to reflect something
like:

==========================================================
       [boot loader]
       timeout=30
       default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
       [operating systems]
       multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
       multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
       C:\BOOT\linux.mbr="Debian GNU/Linux"
==========================================================

Restore file permissions:
C:\attrib +s +r c:\boot.ini

Done!
At boot, i wish between NT, Linux and win98 in the same machine.
Ok, a this moment, I removed NT for space raisons ...

> > Norton Ghost? It is some camouflage of "dd" command, because I can
> > put all my partitions in a set of CD-ROM, using only "dd", mkisofs and
> > cdrecord :-)
>
> Yes, more or less. The nice thing for me is that, if thing get completely
> screwed up on your partions, you can always boot from a floppy and
> use ghost, without losing time trying to fix things up. I have everything
> on just 1 floppy and it does its job well, with a very simple interface.
>

This is not wizard's matter: you can save MBR with:

                dd if=/dev/hda1 of=MBR bs=1c count=512

and restore it when you wish.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:14 CET