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!
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'm trying to add a modification to Linux for my Master's thesis. My Prof suggested running Linux as a program to facilitate debugging.
I need some suggestions as to how to do this. I am working in Ubuntu 10.4.1. I can get Linux 2.6.36.2 to compile. I can't figure out how to run it - as a standalone or as an OS.
Also, I'd appreciate suggestions for a development environment. I looked into Eclipse, KDevelop, Code::Blocks, and Anjuta. Reports on various forums list problems with all of these. I am not eager to spend the time to evaluate all these IDEs only to conclude that none are workable. I am most familiar with Visual Studio but need to find the appropriate include files specific to a Windows installation.
How that is done depends on what you mean by that. debugging what? There are plenty of debugging tools for Linux, e.g. valgrind, so surely he wouldn't mean making a new tool like this. Maybe he means, i don't know, some sort of appliance to connect to some other equipment, e.g. an engine computer for diagnostic analysis??
Why are you trying to rebuild a linux kernel? If you don't know how to use what you've got, I'd suggest you shouldn't be doing it. Not least becuase it doesn't make sense (as I read it) to ask how to run it "standalone".
IDE's.... vi is nice. works for me. Do you know Red Dwarf? In the book / TV Series, Rimmer would spend ages drawing out the perfect study timetable for his space exams. It would be so perfect, and he'd spend so long making it, that by the time it was finished, his schedule was already half way through. So he'd have to do another timetable to account for this, and so on... Do you even need a full on sexy IDE? I'd doubt it. vi is nice.
I guess I wasn't clear. My Prof suggested "running Linux as a program" or "standalone" would be the same as running a new shell. Not a shell forked from Ubuntu, but my modified Linux as a shell or standalone program. I would like to be able to run and evaluate my modification without risking disabling or breaking the OS I am using.
You are right, I don't know what I am doing - yet. That is why I joined the Newbie group. The thesis concept is simple and straight forward. It's the tools I need to research and learn that are holding me back at the moment.
An IDE is an integrated suite of applications including at least an editor, compiler, assembler, linker, and debugger. By integrating such programs, productivity is improved. An IDE is a tool I am familiar with when writing software. Vi is only one part of an IDE. Yes, vi is nice but not all that I am looking for. I'll check out Valgrind. Thanks.
I agree with Catkin : Linux != shell and Linux != program. Your Prof's terminology is erroneous/unclear.
Possibly(!) he meant run Linux in a VM type env on top of (inside) MS-Win?
I thought he meant he downloaded the kernel and wants to build his own OS. If this is true then OP needs to know that the linux kernel is just the heart of the OS. Its takes more apps to run the Kernel. Good start as already said http://linuxfromscratch.org . Its so easy a newbie can do it. Well almost anyways.
Hey try to be more clear and maybe we can help you further.
Yes, I came across User Mode Linux. This looks like what Prof referred to.
I had to try a couple sets of instructions until I got UML to compile. After working through several problems I still can't get it to run.
The root file system is mounted, virtual consoles 1 through 12 are assigned, then I get this:
init: console-setup main process (235) terminated with status 1
udevd[244]: failed to create queue file: No such file or directory
udevd[244]: error creating queue file
But, this seems a problem for another forum.
Thanks for all the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.