LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] lilo problems

[ILUG] lilo problems

John Diamond diamondj at indigo.ie
Tue Feb 15 23:20:18 GMT 2000


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 mailtest.inpho.ie>
Cc: <ilug at 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 linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
information.
> List maintainer: listmaster at linux.ie
>





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell