Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Here's the problem. Beeing the idiot I am, I managed to screw up my boot/grub/menu.list so now I cant boot my debian. This happened after a kernel upgrade. Now I'm quite sure I've found the right thing to place there, but I have no permission to write to files using knoppix . How can I undo this stupidity?
Then you need to edit the file via an terminal. Open xterm and then do
It'll ask your password. Then you can change the text file with vi.
Some basic vi commands are:
i = insert. if you hit i you'll be able to start editing the text file.
esc = to stop editing and give you the colon after which you can write commands
shift-q = exit menu
wq = save and exit
So use i then change the text. Then hit esc, shift-q, wq to save and exit
Can you perhaps try with the debian CD. I'm not really familiair with knoppix and I know the debian rescue cd just works. If the CD starts don't hit enter but use F3 to check the options. Now you have to type the code for the rescue. Since you'll only need to edit a text file I think it's fine to just do it with a plain rescue command (no different kernels and stuff) IIRC the code was something like this:
You have to say what your root partition is and then a debian session will start.
IIRC, Knoppix shows your hard disks on the desktop. If you right click them, there is gui interface that has the option like "allow write to this drive" or something in that neighborhood. That is not checked by default, but would have to be to edit a file on your debian drive. After clicking the write checkbox, you'll still have to be root and go through all the steps people ahve given here.