On Thu, 25 Sep 2003 cpace@tampabay.rr.com wrote:
> My problem is that I am trying to figure out how to make the USB Pen
> drive bootable?
I'm unsure what the problem is. It might be, you can get Linux installed
on there, but the BIOS won't boot from it. In that case, I have heard
that you need an initrd, but I don't know the mechanics of that. You may
need to put a partition table on the pen drive (so Linux is on sda1 not
sda). Then, somehow make the initial ramdisk with all appropriate modules
(USB, SCSI, the filesystem in question). If the modules are built into
the kernel, you shouldn't need an initrd, and things are much easier.
With LILO, add this to /mnt/pendrive/etc/lilo.conf:
image=/boot/vmlinuz-xx.yy.zz
initrd=/boot/initrd-xx.yy.zz
Make sure /mnt/pendrive/boot/{vmlinux,initrc}-xx.yy.zz exist. Then, "lilo
-r /mnt/pendrive". With grub, you're on your own.
> I believe I could mount it with my main linux box and then switch the
> root fs to the pen drive but the damnsmall linux distro has a compressed
> image and I am unsure as to how they get the bootloader to decompress
> it??
Some rescue floppies do that. Maybe you can divine the mechanics of the
process by example.
-- -eben ebQenW1@EtaRmpTabYayU.rIr.OcoPm home.tampabay.rr.com/hactar PISCES: Try to avoid any Virgos or Leos with the Ebola virus. You are the Lord of the Dance, no matter what those idiots at work say. -- Weird Al, _Your Horoscope for Today_
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:30:25 EDT