On Wed, 25 Dec 2002, Jason Straight wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 25 December 2002 01:58 pm, Narfi Stefansson wrote:
> > Hi everybody,
> > I need a little advice before I install cooker on a separate partition on
> > my home computer.
> > I already have all of cooker mirrored on a reiserfs partition on my hard
> > drive, so I am all set for a hard drive install using hd.img.
> > Except I don't have a floppy drive.
> > Since the installation may or may not be successful, I don't particularly
> > feel like using MakeCD to create a complete set of install CDs.
> > What would you recommend? Can I burn a bootable CD with hd.img on it? Such
> > a CD would be valid for a lot longer than a standard install CD.
> > Can I put the contents of hd.img on my hard drive, and use lilo to boot
> > from it?
> > Thanks,
> > and merry Christmas to all of you,
> >
> > Narfi.
>
> Don't know if there's any way to get lilo to do it - but yes you should be
> able to just put the boot image on a CD as you normally would any bootable
> CD.
>

Loop mount the hd.img, and copy the files in the image to /boot, and then
make a lilo entry something like this:

image=/boot/vmlinuz-2.4.19-16mdkBOOT
        label=install
        root=/dev/ram3
        initrd=/boot/hd.rdz
        append="rmadisk_size=32000
automatic=method:disk,par:hda6,dir:path/to/mandrake/cooker/i586,disk:hda"
        vga=791
        read-only

This is what I used for a live installation demo
(http://www.lua.org.za/event)

Adjust as necessary. I probably renamed the kernel from what was in the
image, but I think you should be able to figure it out ...

path/to/mandrake/cooker/i586 would be relative on hda6 in my case.

Regards,
Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to