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 wanted to help my gf out by installing Puppy Linux on her old computer so she can get on it quickly for the internet and do things when her laptop isn't available.
Her hard drive was already pre-partitioned by the manufacturer and had 4 partitions so i decided to overwrite the backup partition (hda3) and do a full install to there, as she never backed up her files on it and it was empty except for the journaling system.
The install was successful, I also put grub on that partition and changed it's flag to bootable. I re-started the computer and grub came up nicely and i was able to get right into Puppy. But when I re-booted again and tried windows the screen flashed some text (too fast for me to read) and then went black and unresponsive. I hard re-booted to find that it by-passed grub and the screen flashed the text again and went black.
I loaded in the live-CD open up gparted and found that the boot flag had been switched back to the windows ntfs partition (hda2)so it will bypass grub.
So that's my problem. I can't boot into anything but Puppy and if I try i can't boot into anything at all. She is not very good with computers, and being most familiar with windows she doesn't always want to work with puppy, so that's why I'm trying to get windows to work for her again.
A recent live CD would be the most convenient tool to help fix this.
One possible route to get everything working:
1. boot live CD
2. reinstall the GRUB bootloader, but install it to the Linux partition
3. make an image of the bootloader sector using 'dd'; copy this image to the winduhs partition
You can read/write ntfs partitions if you mount the partition using the ntfs-3g driver.
To copy the grub bootloader sector, assuming you installed grub to /dev/hda2:
dd if=/dev/hda2 of=grub.img bs=512 count=1
Be extremely careful - 'dd' is a very useful tool but one tiny mistake and it can completely screw up your HD.
4. make a backup copy of the winduhs boot.ini file, then edit the file to chain to the grub bootloader image; this is typically an entry like:
(Or maybe I got that backwards and it should be: Linux=C:\grub.img - google should be able to help you out)
Have a good look at the boot.ini parameters to see if there's anything else which might need some slight alteration. I have no idea how the XP system attempts to maintain its infestation of a computer system. Perhaps you should use google to help you find some notes on how XP attempts to detect changes to the system and 'recover'.