"Alaric Ravenhall" <[EMAIL PROTECTED]> wrote:
> Here's what you need to do, in general for this kind of thing.
> Now, learning is what Linux is all about.
> boot off the install cd for LM 7.2.
> Press F1 for more options.
> type rescue and press enter.
> The system will boot off a ramdisk.
> then put a blank floppy in the floppy drive.
> then:
> mount -t auto /dev/hda1 /mnt/disk
> (if /mnt/disk doesn't exist, then mkdir /mnt/disk first.)
> now, cd /mnt/disk/boot
> then cp vmlinuz /dev/fd0
> it will prolly say 'cp: overwrite '/dev/fd0'?
> just press y and enter.
> then, set the kernel's root device. like this:
> rdev /dev/fd0 /dev/hda1
> then mark it as read-only:
> rdev -R /dev/fd0 1
> 
> now, if you use reiserfs and/or have a SCSI (pronounced 'SUCK-ZI' ;P)
> then you need to do some more research to set initrd (the initial ramdisk) 
> yourself. I'll getcha started, but I can't hold your hand.
> 
> The above sequence makes a bootable disk that SHOULD get you back into your

> system. Now, it has no lilo or anything like that, just boots up and it's 
> kinda slow, but hell it's better than you can get with micro$lop.
> Later,
> Ravenhall
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 

If you only forgot to create the mkinitrd because Chmou's kernel install
scripts can't deal correctly with grub, you don't even need to create a
special boot disk.

1. Boot with the img file you would use to access the cooker distrib, but type
F1 instead of enter.

2. At the prompt type rescue (I add vga=extended, gives a more readable
screen).

3. As said above, you will end up with a ramdisk system.

4. you need to include at least loop and reiserfs modules:
modprobe reiserfs
modprobe loop

5. Now mount your root and boot partitions. If you can't remember, have a look
at the partition table with fdisk and p (q to exit).
 Example: mount -t reiserfs /dev/hda6 /mnt/disk

6. And that's where it is different: Change root to /mnt/disk
chroot /mnt/disk

7. Make your initrd:
cd /boot
mkinitrd initrd-2.4.0-12mdk.img 2.4.0-12mdk

8. cd grub and edit menu.lst with the correct files:
title linux
kernel (hd0,5)/boot/vmlinuz-2.4.0-12mdk root=/dev/hda1 vga=794
initrd initrd-2.4.0-12mdk.img

9. Reboot ( I actually never found the way to cleanly unmount the disk, but
reiserfs should be able to handle a bit of rudeness ).

That's it. Hope you'll get back in easily.

=-=
kk1

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

Reply via email to