On Wed, 27 Feb 2002, Christoph Bugel wrote:

> On Wed 2002-02-27, Tzafrir Cohen wrote:
> > Hi
> >
> > I'm in an urgent need for a rescue floppy with the following features:
> >
> > size: 1.44 (tried Tomsrtbt, but it failed to boot, seems like a problem
> > with the larger format)
> >
> > Kernel supports ext2
> >
> > includes either /dev/hda2 or mknod
>
> Just yesterday I played with grub and found it very impressive.
> I don't know if it is of help to you, but creating a grub floppy is a snap:
> just need two commands (IIRC, these:)
>
> dd if=stage1 of=/dev/fd0 bs=512 count=1
> dd if=stage2 of=/dev/fd0 seek=1
> (I can send you those files if you need)
>
> Then, you can boot from floppy, and boot into *anything* you like.
> the floppy drops you into a simple commandline, where you can tell it:
> - from which disk toboot (hard drive 1, hard drive 1, which partition, etc)
> - in case of linux: which kernel to boot. (It can read ext2, reiserfs, etc!!!)

And the instructions from a message in private mail:

OK, I tested the file I sent you and it works :-)
I did dd if=both of=/dev/fd0 bs=512
and then I rbooted with that floppy, and I dropped into the grub shell.
I hope it works for you too.
in grub you need the folowing commands:

root (hdb0,3)  -- tell grub you are looking at disk 1, partition 4
kernel /boot/youkernel boot=/dev/hda4 ro  -- tells grub your kernel
boot  -- tells grub to go ahead

(I managed to load it, but didn't feel like learning something new after I
managed to load my system from the slackware floppy, see below).

Actuaklly in the end I used a slackware boot image, and used 'mount
root=/dev/hda2'

This was basically what I needed: a floppy image that allows me to load my
existing partitions.

As for the CD: I'm not sure if it is a hardware problem or not (it was set
to load from the CD, and it worked in the past. I tried various CDs, at
least one of which I tried quite recently). My guess is that this is a
hardware problem, maybe with the IDE controller connections. However if I
touch it there is a reasonable risk that it will escalate into a
situation where all the IDE disks are not accessible (in other words: I
hate hardware, and don't like touching it when I don't have to).

Thanks for all the people that helped

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to