LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install LILO from Slack Bootable CD ? How ? (https://www.linuxquestions.org/questions/linux-newbie-8/install-lilo-from-slack-bootable-cd-how-104970/)

saffron 10-16-2003 11:17 PM

Install LILO from Slack Bootable CD ? How ?
 
My english is bad ... sorry ...

How i make install LILO in MBR with SlackWare 9.0 bootable CD ?

I make error and delete my LILO from MBR :((

rakriege 10-16-2003 11:21 PM

/sbin/mkfs -t ext1 /dev/hda1

then

/sbin/fsck -t ext2 /dev/hda1

saffron 10-16-2003 11:34 PM

but...
 
i dont have file mkfs ?!
i have mkfs.ext2 , mkfs.jfs , mkfs.xfs
in /sbin
:(

rakriege 10-16-2003 11:54 PM

hmmmmmmmm...

you basically need to rebuild your file system, thoses commands should have worked?

i would say try the others but MKFS is "DANGER WIL ROBINSON DANGER" it could erase your entire HDD.... try ext2 or the other ones you listed

but no guarantees

lord_Belial 10-17-2003 12:35 AM

Boot your system with the Slackware Booteable CD

when the boot : appears type these extra parameters

boot: bare.i root=/dev/hda[2 noinitrd ro

where bare.i is the kernel to boot your system, /dev/hda2 is where your linux partition is installed (I am assuming this values) You'll have to put the correct ones according your installation

Next, login as root

mkdir /temp
mount /dev/hda2 /temp
cd /temp
liloconfig

with liloconfig you will be able to reinstall LILO

cd /
umount /temp
rmdir /temp
reboot

That's all


All times are GMT -5. The time now is 10:38 AM.