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.
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.
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 =(
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.
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.