From: John Diamond (diamondj at domain indigo.ie)
Date: Tue 15 Feb 2000 - 23:20:18 GMT
Is hda1 marked active?? anyway another method using nt boot loader
The general idea is that one copies the first sector of your native root
Linux partition into a file in the DOS/NT partition. Assuming one names that
file something like c:\bootsect.lnx (inspired by c:\bootsect.dos) one can
then edit the c:\boot.ini file to come up with something like this:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT"
C:\BOOTSECT.LNX="Linux"
C:\="DOS"
This procedure assumes that DOS, NT, Linux, or whatever have been installed
into their respective fdisk partitions on the same disk. In my case DOS & NT
are in the first fdisk partition, Linux in the second. I also installed
Linux to boot from its native partition, not the disk MBR, and without
delay.
Mount a DOS-formatted floppy (if you've converted to NTFS) or the FAT
partition, under, say, /mnt.
In Linux:
dd if=/dev/hda6 of=/mnt/bootsect.lnx bs=512 count=1
Reboot into DOS or NT. NTFS users copy the bootsect.lnx file from the floppy
to C:\. Modify the attributes
(permissions) on boot.ini with:
attrib -s -r c:\boot.ini
Edit to add the appropriate entries from the example boot.ini above, and
restore the attributes:
attrib -r -s c:\boot.ini
hth
jd
----- Original Message -----
From: Niall <niall at domain mailtest.inpho.ie>
Cc: <ilug at domain linux.ie>
Sent: 15 February 2000 22:52
Subject: Re: [ILUG] lilo problems
> On Tue, 15 Feb 2000, Gerard Gorman wrote:
>
> > I'm putting rh6.1 on a laptop (armada m700). I have the partition table
> > and lilo.conf appended to the mail. The problem I ran into is that when
I
> > reboot, the laptop complains about Non-system disk or disk error.
>
>
> > and I have lilo.conf as follows:
> >
> > boot=/dev/hda6
>
>
> There's your problem. You're installing LILO in the boot sector of the
> linux partition. If you do that, something else (which will be loaded from
> the hard disk's MBR or Master Boot Record) has to control the initial boot
> and pass control to the LILO boot sector e.g. the Make Partition Active
> option in DOS/NT FDISK. I don't know if they (i.e. other boot sector
> managers) will allow you to make the extended partition active although a
> program called activate ships with Linux should enable you to do that. If
> OTOH you change that line to
>
> boot=/dev/hda
>
> and re-run lilo, the LILO boot sector will be installed in the MBR and
> Linux should then boot. However, I'm not sure if NT will be happy at this
> stage. It's like a dream to me that some extra special magic is needed for
> happy co-operation of NT and Linux - or was that OS/2 and Linux ?
>
> Anyway, the above should get linux running for you. Ask the NT people
> about NT :-)
>
>
> Regards,
>
>
> Niall O Broin
>
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
information.
> List maintainer: listmaster at domain linux.ie
>
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:25 GMT