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.
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173
Rep:
Major problem (LILO)
Hello,
I have been having trouble recently with my computer and I had to install Windows (noooooooo). Anyway, Windows overwrited my MBR and now I need to install it again to access Linux (if I still can). I formated my Swap partition and installed windows onto that. Does anyone know how I could boot into Linux?
Thank you
I have some very important data there, please help.
I assume your using slackware cos thats what it says your distribution is.
Load up your slackware install cd and login
create a folder to mount your linux installation to then mount your linux installation to it e.g.
mkdir /mnt/linux
mount /dev/hda2 /mnt/linux
then chroot to /mnt/linux
chroot /mnt/linux
and type lilo
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173
Original Poster
Rep:
Unfortuantly I don't have a my Slackware install CD but I think I have a Debain CD, a College Linux CD and a Knoppix CD ... I'm not sure I'll have to look, is there anyway I could do it from one of them?
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173
Original Poster
Rep:
Damn! I can't find my knoppix CD. I do however have a College Linux CD, what could I do with this? When I use it, is says "boot:" what should I type here?
linux root=/dev/hda3
if that's your linux root partition anyway. that will boot into linux for you. /sbin/lilo will reinstall your lilo on the mbr if that's where you had it before. you might want to look at your /etc/lilo.conf to make sure that you have a windows boot prompt in it. if not add-
other=/dev/hda1
label="windows"
that's pretty much off of memory, since i dont' have any windows i really can't specify it perfectly. someone else should be able to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.