From: Tuxedo on
I screwed up my MBR via a non-Slackware distro GRUB restore tool residing
on a separate partition, but thereafter managed to boot from the original
Slackware installation DVD by the 'pinch' tip, like this:
boot: hugesmp.s root=/dev/hda5 rd1 rdinit= ro
I could then easily run 'liloconfig' to restore the original MBR set up.

The same thing can of course be done via USB and UNetbootin formatted
Slackware iso for example. But is there a way to create a smaller bootable
USB that works like a floppy, which runs straight into the LILO manager?

Otherwise I can see this happening again in a desert without any DVD or
floppy drive in sight...

Many thanks for any tips!

Tuxedo

From: Joe on
Tuxedo wrote on 02/16/10 17:52:

> I screwed up my MBR via a non-Slackware distro GRUB restore tool residing
> on a separate partition, but thereafter managed to boot from the original
> Slackware installation DVD by the 'pinch' tip, like this:
> boot: hugesmp.s root=/dev/hda5 rd1 rdinit= ro
> I could then easily run 'liloconfig' to restore the original MBR set up.
>
> The same thing can of course be done via USB and UNetbootin formatted
> Slackware iso for example. But is there a way to create a smaller bootable
> USB that works like a floppy, which runs straight into the LILO manager?


You could probably use the floppy emulation of the El Torito bootable CD format,
and then just write that to a USB stick.
mkisofs can create such an iso, with a floppy boot image.
Haven't done that in ages myself, though.

-Joe

--- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Chick Tower on
On 2010-02-17, Tuxedo <tuxedo(a)mailinator.com> wrote:
> The same thing can of course be done via USB and UNetbootin formatted
> Slackware iso for example. But is there a way to create a smaller bootable
> USB that works like a floppy, which runs straight into the LILO manager?

Do you mean like you can make during installation? If so, run pkgtool,
select Setup, and create a Linux USB boot stick. Then test it, to be
sure it works.
--
Chick Tower

For e-mail: aols2 DOT sent DOT towerboy AT xoxy DOT net
From: Tuxedo on
Chick Tower wrote:

> On 2010-02-17, Tuxedo <tuxedo(a)mailinator.com> wrote:
> > The same thing can of course be done via USB and UNetbootin formatted
> > Slackware iso for example. But is there a way to create a smaller
> > bootable USB that works like a floppy, which runs straight into the LILO
> > manager?
>
> Do you mean like you can make during installation? If so, run pkgtool,
> select Setup, and create a Linux USB boot stick. Then test it, to be
> sure it works.

Yes. I just placed the first CD version of a Slackware 12.2 iso on a USB
(created with UNetbootin in Windows) and added a boot parameter to include
root=/dev/hda5.

There probably exists a more minimalist way, but I tested this and it works.

Tuxedo

From: Jerry Peters on
Tuxedo <tuxedo(a)mailinator.com> wrote:
> I screwed up my MBR via a non-Slackware distro GRUB restore tool residing
> on a separate partition, but thereafter managed to boot from the original
> Slackware installation DVD by the 'pinch' tip, like this:
> boot: hugesmp.s root=/dev/hda5 rd1 rdinit= ro
> I could then easily run 'liloconfig' to restore the original MBR set up.
>
> The same thing can of course be done via USB and UNetbootin formatted
> Slackware iso for example. But is there a way to create a smaller bootable
> USB that works like a floppy, which runs straight into the LILO manager?
>
> Otherwise I can see this happening again in a desert without any DVD or
> floppy drive in sight...
>
> Many thanks for any tips!
>
> Tuxedo
>
I've got a couple of old, small usb sticks that I use (one is custom
for the Aspire 1).
I made an ext2 partition, installed grub by copying /boot/grub over,
then used the grub shell to install grub into the mbr. The kernel
loads an initrd which is the recovery system. Note that modern kernels
will merge an initramfs and an initrd to form the root FS if both are
in cpio format.
One of these day I plan to build a bootable usb stick that actually
runs off the usb stick, using it like a disk.

Jerry