Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Iīve searched this forum for answer but didnīt find any so now iīm asking you guys.
I installed my slackware to my disk that also had windows on it. Now I reinstalled windows on the disk and my lilo is gone. Lilo was installed to the masterdisk and Im sure that I didnīt do anything wrong in the windows installation.
So my question is: How do I create a new lilo? Im using a laptop without a floppy drive and I cant get into linux just windows. Im considering on trying with knoppix if thats possible otherwise I hope someone can tell me how to do this from windows. Note that I cant reinstall just the lilo with my slackware dvd the only option is to reinstall the whole thing again =(
Boot from your slack CD and proceed to the command prompt.
mount the existing slack partition and then 'chroot' to the mount point.
Make sure the /etc/lilo.conf is correct and rerun /sbin/lilo
Why not just use the CD to boot into the current system ???.
Being a new Slack user, this question piqued my interest, so just tried it. Works fine - currently posting from my system booted this way. Bypassed my boot-loader altogether.
I'm at work now but iīll try as soon as I get home!
So when a boot from my slack dvd I could just login to my regular user account and then startx? If thats the case it is awesome but I still would like to know how to create a new lilo so I don't need the disc every time.
Boot (install) CD 1, and read the text on the screen - do as it says to boot your system.
It will be your disk-based build, merely bypassing the boot-loader.
Use the instruction above from crabboy to re-install lilo. Couldn't be easier.
Iīve mounted my slack partition (only have one) opend lilo.conf with vi but itīs empty? Thats wierd huh? Btw I dont know how to " 'chroot' to the mount point.
Make sure the /etc/lilo.conf is correct and rerun /sbin/lilo"
Sorry for all the questions but I guess far to new to linux to be able to do this without help.
- boot from CD. Use the CDs root filesystem.
- # mount /dev/hda1 /mnt ( this is specific to your machine, it's the linux paritiion)
- # choot /mnt
- # cd /etc
- verify that lilo.conf is correct.
- # /sbin/lilo
As sysg00 suggests:
- Boot from CD and specify current root partition at lilo prompt.
- lilo: root=/dev/hda1
- # /sbin/lilo
You can see that mounting your root makes it much easier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.