LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Boot disk will not work after LILO uninstalled... (https://www.linuxquestions.org/questions/slackware-14/boot-disk-will-not-work-after-lilo-uninstalled-133191/)

arobinson74 01-09-2004 04:39 PM

Boot disk will not work after LILO uninstalled...
 
Have uninstalled LILO and installed GRUB. Setup the GRUB (incorrectly - getting a kernel panic in load as the hard drives to boot are not correct). So am trying my boot disk which was made by the install of slack (9.1), and am getting a :
Could not find kernel image: linux

How can I get back to being able to edit my grub config file if the boot disk is not happy?

ac1980 01-09-2004 06:17 PM

Lilo, unlike grub, does not understand filesystems, so it hard-codes kernel position as a lba block number... thus if you change or move your kernel you'll have to reinstall lilo on mbr AND on floppy.
However with grub you can edit your config at boot time, pressing the 'e' key, or giving interactive commands with 'c'.
You should have a look at grub documentation from www.gnu.org/software/grub first. However remember you can use 'help command' from grub command prompt to get a short help on command, or press tab to have a list of possibilities.

PS: I'm not sure, but I think changes made at boot time are not persistent, so once in your system, edit grub.conf (used to be named menu.lst)

jailbait 01-09-2004 06:19 PM

"How can I get back to being able to edit my grub config file if the boot disk is not happy?"

Most install CDs include a rescue option. Boot an install CD into rescue mode and then choose to boot an existing Linux system (usually you have to tell it what hard drive / is on).

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 07:26 PM.