From: Liam Bedford (lbedford at domain wbtsystems.com)
Date: Wed 16 Feb 2000 - 11:30:20 GMT
Ahah.. a question I can answer :)
The answer is:
yes, you can boot from an extended partition. Linux fdisk will mark the
partition bootable, and the bios will happily boot from it.
(Note, only the extended, not one of the logical partitions, so /dev/hda6
won't
work).
Yes, you can boot from a primary partition, which is a nice easy solution.
You can put LILO in the MBR if you want, but be aware that any MS product
will clobber it.
The last, and neatest if you're not going to change the LILO boot sector
much,
and you want to boot NT more, is to write it to a partition, and
then do:
dd if=/dev/hda<blah> of=/tmp/boot.lnx bs=512 count=1
and copy boot.lnx to the NT partition. Then edit /boot.ini under NT to have
c:\boot.lnx=Linux
And reboot :)
L.
--- Liam Bedford 01-4170153 System Administrator WBT Systems, Block 2, Harcourt Ctr., Harcourt St., Dublin 2 > -----Original Message----- > From: Gerard Gorman [mailto:gormo at domain itc.nuigalway.ie] > Sent: 16 February 2000 10:32 > To: ilug at domain linux.ie > Subject: Re: [ILUG] lilo problems > > > Niall wrote: > > > >> 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 > > > > Well I had that working on another machine before with the following > lilo.confboot=/dev/hda2 > map=/boot/map > install=/boot/boot.b > prompt > timeout=50 > root=/dev/hda2 > > image=/boot/kernel2.0.35 > label=linux > read-only > other=/dev/hda1 > label=Hell > table=/dev/hda > > Hell being NT > > I had the hda6 toggled as the bootable partition (Is that > what you mean by > active?) Though I havn't been able to find out if there is a > problem with it > being an expended partition. NT "has" to get the MBR or it > simply won't work > (I'm open to correction on this though I doubt if there's any > forthcoming). > > I think I'll spend a small bit longer seeing if I can get > lilo to do it and > then I think I'll have to go with the NT-bootloader > suggestion. (Thanks for the > recipe John) > > later > g > > > > -- > 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:26 GMT