Re: lilo - booting from a device
Thanks ! This even worked for a bootable partition on hdd =:¬) (except that
my bios was not then able to load from hdd |:¬( ).
On Wed, Oct 14, 1998 at 12:16:00AM -0400, Richardson,Anthony wrote:
> I don't know the answer to your question, but I've got an alternative
> Mount the boot partition of the new distribution:
> mount /dev/hda1 /mnt
> Then add the following stanza (it's based on your entry below)
> to lilo.conf:
> Then lilo will figure out the sector to file mapping for you.
> On Tuesday, October 13, 1998 1:32 AM, G. Crimp
> [SMTP:firstname.lastname@example.org] wrote:
> > Does anyone know how to determine what sectors on a partition a
> > given file is occupying ? The lilo docs state that when specifying a
> > name, one also has to say what sectors to map (either by giving a
> > and an end, or a beginning and an offset).
> > Here is what I am trying to do. I want to play with different
> > distributions just to see what they are like, but boot them from the
> > harddrive. I currently have Deb installed to hda3. hda1 and hda2 are
> > partitions, on which I install /boot from another distro, so that the
> > images within fall well below the 1024 cyl. limit.
> > I am not at the machine I am doing this on, nor are they networked,
> > so the following details may not be 100% accurate (syntax wise). This
> > has no DOS. Lilo is installed directly to the MBR. So, the lilo.conf
> > something like
> > ---------------
> > boot=/dev/hda
> > [prompt, delay, timeout, etc.]
> > image=/vmlinuz
> > label=olddistro
> > root=/dev/hda3
> > --------------
> > to which I want to add something like
> > -------------
> > image=/dev/hda1 # this is the partition /w kernel of new distro
> > label=newdistro
> > root=/dev/hda12 #this is / of new distro
> > sectors[or whatever the variable name is]=
> > ----------------
> > For floppies I've seen that it is something like 1+512, so I guess the
> > must start on the second sector of the floppy. there must be someway
> > determine the sector info for any file.
> > Any ideas ? TIA.
> > Gerald
> > --
> > Unsubscribe? mail -s unsubscribe email@example.com
> > /dev/null