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 found others posts for dual booting so i am posting mine as well.
I recently changed my seagate (40Gb) hard disk from a Compaq Presario 5410US machine to a
Dell Optiplex Gx1 machine as the former's motherboard is malfunctioning. The hard disk contains
windows Xp and Redhat9 installed on it. I was not having any problems with the dual boot on Compaq box.
But after migration, I am not able to boot into Windows XP.
It displays the familiar message and starts blinking after that.
I observe that my GRUB is not able to find the Windows boot.ini file. After seeing some forums, i tried some options but none worked.
1. Used the windows Xp boot disks to copy the ntldr and ntdetect.com. Fixboot did not activate the boot on windows.
2. Recreated the partition table from linux rescue but to no gain.
3. Tried to change the boot.ini from linux mount, but it did not allow me to write into the file.
4. Got a succesful acknowledgement when i gave grub-install --recheck /dev/hda. Problem persists.
The following are my system configuration:
Dell Optiplex GX1 Pentium III,
Ram -256MB SDRam, Hard disk 40Gb.
1) try booting from an dos fat32 boot disk and type 'fdisk /mbr' - this almost always works in my experience.
2) NT,2000 & XP always fail to boot if it cannot find the original hard disk controller that it was installed on. usually it just blue screens and moans. this normally occurs if the mainboard is different.
I booted using the FAT32 boot disk and it gave me that it cannot find any FAT 32 file system in the hard disk. It listed that a thrid party partition tool has made partitions due to which it is not able to recognise the partitions. It didnt ignite the XP boot process after that. Are there any steps i have to follow?
It is true that i used a partition tool. I was initially using GRUB as the bootloader to get into WIN Xp & Redhat9. Later to make additional partitions i used Partition Magic to make a partition in Windows. But the GRUB was working fine after that.
Is there any way that i can use another boot loader and recognise the two OSs?
Used Xp boot disks to enter into the recovery console. Gave FIXMBR, it gave a message that it fixed the MBR but the cursor blinks after reboot.
I thank each one of you for addressing my problem. I tried all the suggestions but wasnt lucky enough to get it working.
1. Used Fixmbr and Fdisk /mbr but the cursor blinks after restart.
2. Edited grub.conf, menu.lst and even the partition table but was left with not much sucess.
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
title Red Hat Linux (2.4.20-8bigmem)
kernel /boot/vmlinuz-2.4.20-8bigmem ro root=LABEL=LINUX hdd=ide-scsi
title Windows XP
Output for Fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3273 26286088+ 7 HPFS/NTFS
/dev/hda2 3273 3336 506520 f Win95 Ext'd (LBA)
/dev/hda3 3336 4865 12285000 83 Linux
/dev/hda5 3273 3336 506488+ 82 Linux swap
This is the Post #12 and something should be said along this line
Some if not all OEM versions of XP cannot be migrated from amchine to machine
It has nothing to do with the boot loader Grub.
Restoring Windows MBR will not help. As a rule the XP should be re-installed if it is permitted to do so as some OEM versions of XP are supposed to die with the machine. A careful preparation may be able to effect a partial reinstallation saving most of the existing data but a re-activation is always necessary from a legal copy of XP.
I got a feeling a XP sold with a Compaq PC could be one of the most restricted vesrions around.
I installed windows from a Windows XP CD that is not associated with Compaq PC. Is there a way that i can reinstall Windows Xp without formatting the drive? I meant reinstalling the boot without changing the applications.
Fixboot and fixmbr did not help as these result in a blinking cursor.
If you boot with the XP CD and start the installation, you can do a new install of XP on the C: drive as long as you answer no when it asks if you want to format the drive. This way a fresh install of XP will be made, and all your existing data/files will still be there, but you will have to reinstall any applications and hardware drivers.
I also agree with 'saikee'. I did state this in post #2 in an around sort of way