How to boot sda from hda LILO
I have a nuked linux install (distro=DSL? / "Kernel Panic") on hda1, which is about 8 gigs. The hard drive has LILO on it, which is the most useful thing at the moment.
I am trying to either chainload to sda or boot directly to sda1/boot/vmlinuz with root=sda1. The problems: There is no CD drive, only floppy, and the BIOS will not boot to a thumb drive. I know that there is a way to do this from the lilo boot.time prompt, but I don't know how. Thank you, The Mallegonian |
I'm pretty sure you can fix this. But first, what OS is on /dev/sda1? Slackware? if its slackware, just add this to lilo.conf:
Code:
image = /boot/vmlinuz |
If you can't edit the lilo.conf file , there is pretty much nothing you can do afaik.
If you had grub then maybe you could have done something. You are better off booting sda1 directly by selecting it as main boot device in BIOS. |
A linux boot floppy always works. then you can 'chroot' in and fix it up.
|
Quote:
Not with Slackware 12, or for that matter a 2.6 kernel. The image is too big. You could use tomsrtbt floppy as a means to boot a floppy recovery method. You could also possibly use sbootmgr to see if a usb is recognized via sbootmgr. You could also reference 'Slackware-Links' which was compiled from 'Slackware LQ Suggestions Links!' for other recovery methods. |
Quote:
|
Quote:
I didn't say anything about using a Slackware 12 boot floppy other than you cannot use one. I gave a link to tomsrtbt as a rescue floppy. Sure you can use any boot floppy, I never said you couldn't. And yes the the OP said that floppy was all he had but a usb was available but would not boot from BIOS. That is why I suggest the 'sbootmgr'. If you read the README_USB.TXT; Quote:
Quote:
I would suggest that you read the thread again! I have. |
Thank you for your replies.
I could not get any of the floppy distros I tried ('E', tomsrtbt, small, ...) to mount the drive because of FS errors. I tried to repartition and reformat it, but none of the disks have mkfs.ext3 or 2. I cannot even mount the thumb drive (sda1) because they all said that their kernels did not support vfat or fat32. In sbootmgr there is an option for 'Quit to BIOS', 'Power Off', 'Reboot', 'Floppy', and 'Harddisk'. The flash drive is in. Is there any way to get it formatted from a floppy?? If there is, I could copy the needed files to it over the network... I might end up having to go and buy an adapter to plug the laptop(this computer's) HD in to a desktop to install something. Thanks, The Mallegonian |
All times are GMT -5. The time now is 04:00 PM. |