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.
I have used Linux over the past 10 years from time to time but please consider me as pretty much a newbie !
I have a laptop I use for work, and have decided that there are a few things that are best left to Linux to deal with.
What I have got is a triple boot system with XP, Debian and BackTrack5.
The reason for this is I need to use XP to log on to certain systems, I want to use backtrack for penetration testing, and for when on occasion I go to some site and they don't know what their wep key is and use debian for learning Linux and doing some other types of work on.
To try and cut a long story short - I sort of messed up grub and the Debian partition when I installed BT.
I have repaired the Deb part and now have grub working, and I have managed to fiddle around a bit with the grub config so it displays things in a better order and with the correct descriptions.
But the thing is, I seem to have 2 grub installs, one on debian and the other on BT.
The layout is:
If I run sudo grub-probe -t device /boot/grub Debian says grub is on /dev/sda5 and Backtrack says grub on /dev/sda7
So is this correct ? should I have 2 grub's, I suspect not, and if so what should I do to correct this.
I have some experience with the older grub, I have used/still use grub 4 dos for some software diagnostic tools I put together on a usb stick, and am familiar with the menu.lst system, but grub2 sort of alludes me!
I ended up installing 'grub customizer' on BT which was the last OS I installed and seems to be the one that actually affects grub on bootup.
But eventually what I want to do is find which tools in BT are useful to me, learn how to use them properly , and then install them in Debian and wipe the BT partition.
Would one of you kind souls give me so pointers as to what I should do as far as grub is concerned.
It's normal for each system to install boot-loader code - including XP. So you actually have 3. You can not install grub, but it generally just makes things more difficult down the track.
However there can only be one boot-loader in charge of booting - i.e. in the MBR (Master Boot Record). Master means master after all. Generally this is the last system installed, but can be changed anytime. In your case you might simply want to run grub-install from your Debian system. This will update the MBR and you can then remove BT anytime you want.
You can download boot_info_script from http://bootinfoscript.sourceforge.net/ and run it as root. The output will be stored in RESULTS.txt in that folder which you can post here. It will clarify all the partitions as well as booting and grub info.