From: Otto Hammersmith (otto@ipass.net)
Date: 04/23/00-05:00:46 PM Z
Hey all,
Figured it out, if anyone is interested. I'm did this to my laptop, so
there would be a few differences for an IO (see the note at the bottom).
Mounted the boot image file (what you normally dd onto a floppy) as a
loopback device:
# mount /tmp/pcmcia.img /mnt/loop -o loop=/dev/loop,blocksize=1024
I find these files:
boot.msg*
expert.msg*
general.msg*
initrd.img*
ldlinux.sys*
param.msg*
rescue.msg*
snake.msg*
syslinux.cfg*
vmlinuz*
All the *.msg files and syslinux.cfg are for syslinux, so I can safely
ignore these. I copied vmlinuz to /boot/vmlinuz-rh-6.2-install and
initrd.img to /boot/initrd-rh-6.2-install.img.
Add this to lilo.conf (checking syslinux.cfg to see what the install
code expects as arguments at the lilo/syslinux prompt):
image=/boot/vmlinuz-rh-6.2-install
label=linux-install
initrd=/boot/initrd-rh-6.2-install.img
append="pcmcia text"
(I hate the new GUI install, so I added 'text', it's not necessary.)
Run lilo, reboot and boot from the linux-install image. Viola!
Things that would be different for an IO:
You'd need to use bootnet.img, not pcmica.img. You'd need a kernel that
supported the network adapter you're using... I'm going to do this to my
IO with a Linksys 10/100 USB (pegasus) as soon as I get the drive
installed. The append line in lilo.conf would be 'network text' for the
network version.
One bridge I'll cross if I come to it... If I boot my laptop with
bootnet.img it asks you for a network driver to try. It may only do
this if it probe one, I'll find out if it does for the IO. I intend to
build a kernel with the pegasus driver static, so I don't have to mess
with the initrd image. If it does prompt, I'll have to figure out what
I need to change in the initrd image to make the install know about the
pegasus driver, if anything.
Otto Hammersmith wrote:
>
> Hello,
>
> So, I have my IO, but I haven't put the drive in yet because I wanted to
> upgrade to RH 6.2 before I did it. Unfortunately, the RH upgrade
> requires you to reboot the system from a floppy or CD.
>
> So, I got to thinking, is it possible to use a lilo hack or loadlin (or
> some other boot loader) to load the image from the hard disk? A trick
> like that would be very useful for future upgrades?
>
> Any ideas?
> --
> -Otto.
>
> _______________________________________________
> iopener mailing list iopener@scsiboy.com
> To change your mailing options, please go to http://snoopy.net/mailman/listinfo/iopener
> Read the FAQ, please! http://fastolfe.net/misc/i-opener-faq.html
-- -Otto._______________________________________________ iopener mailing list iopener@scsiboy.com To change your mailing options, please go to http://snoopy.net/mailman/listinfo/iopener Read the FAQ, please! http://fastolfe.net/misc/i-opener-faq.html