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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
alright, i recently reinstalled windows on my machinedon't kill me, i want windows.
*ditto ducks the incoming fruit...
anyhows, when i use the mdk rescue utility to reinstall lilo, it complains about an image not existing for a kernel, i hate to say no longer exists (so i was lazy and never removed it from the list). now it won't restore lilo into the MBR.
so is there an easy way to use the rescue disk, to go into the directory where the lilo configuration file and use vim (which exists on this rescue disk BTW) to edit it?
all i really need to know is where the lilo configuration files are located in mandrake.
i'm not sure why, but the "dir" command is missing in the rescue disk, so i can't just start snooping on my own for the lilo file...
i made a floppy rescue disk for linux before installing windows, but i never tested it, and low and behold, it doesn't work!!
Boot from your Mandy rescue CD.
Select 'mount your partitions under /mnt', when that's done, 'go to console'.
chroot /mnt (this changed your current / to what was just mounted as /mnt)
lilo (this should run lilo and put your config back into your mbr, if that's where it was before your decided to dance with the devil )
Ok, are you happy editing your lilo.conf file by hand (emacs or vi should both work in rescue mode, especially after you've chrooted)? If so, then do the necessary and rerun lilo, if not, then try and post the contents of your lilo.conf file here.
Oh, and if you're lucky, after you've chrooted, you might be able to type init 3 (or even 5) and get to a working Linux system. If you'd be more comfortable editing/reconfiguring from there, then give it a go.
Oh, and you might want to put in a default image. If you want to make it so that you must select an OS to boot, then remove the 'timeout=xx' line, but make sure you still have the 'prompt' line.
when i tell the rescue disk to mount everything to /mnt it says that my /home and /usr partitions won't because i either have too many mount points, or because that the fs type is wrong. they are both ext3.
So long as those are the only two, you should still be fine.
Rescue menu --> mount partitions under /mnt
Rescue menu --> goto console
Console --> chroot /mnt
Console --> emacs /etc/lilo.conf
Console --> lilo
Console --> reboot
This should work absolutely fine - I had to do it myself earlier (I added something to my append section that would completely lock things up, hey ho).