Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
First off, I'm new here, and slightly new at Linux. So hi.
Okay, here's my problem: Originally, I had two partitions, one with Windows ME and one with XP Pro. Today, I decided to erase the partition with ME on it and install RedHat 7.2. I selected to use Grub as the boot loader, because I wasn't sure if the loader common to Windows would boot Linux properly. So here I am, happily playing Tux Racer when I realize that I need to get a Linux driver for my wireless network card. I shut down Linux and reboot the computer. The Grub OS selection menu appears, and I select "DOS". It says the normal stuff (Loading "DOS", and those other commands) and then says something like "Remove disks or other media. Press enter to restart."
Out of frustration, I deleted the Linux partition (I promise I'll reinstall it, really!), so I have just one big partition with XP on it. But I can't boot into XP! When I start the computer, I see the same message, "Remove disks or other media" yada yada. Does anyone know how I can get the original NTLoader boot loader back onto my MBR, or even how to boot XP?
To dual boot Linux and NT (any version of NT, 2k, XP), the NT system must own the MBR.
So you have to install NT as the primary partition in the system. Then, with the remaining free space (however much you choose), install Linux. Make sure you don't install GRUB on the MBR.
After done installing Linux, boot it with your Linux boot disk. Extract the boot file onto a floppy disk. Now boot XP and copy that file to the root of the C: drive. Edit your boot.ini and add another line that points to the file you just copied.
Now when you boot, the NT bootloader will give you a selection between XP and Linux.
You don't really have to use the NT Loader. I have my system dual booting linux and XP. It works fine. All i did was edit the LILO or GRUB config file (which ever you like). Just add the dev (ex. hda1) that XP is on and give it a label. IF i can find the link i'll post it.
If you haven't already installed it, install Linux. Place the boot loader in the MBR, unless you have reason not to.
Next, install XP in a primary partition. LILO can boot a foreign system only from a primary (not a logical) partition. If the XP installation procedure complains about the current MBR, do not let it overwrite the MBR. Note the drive number and partition number of the XP system partition.
Reboot the system and start Linux. Add the following section at the end of the LILO configuration file (/etc/lilo. conf)
where the other= field is the device name. The first IDE drive is hda, the second hdb, and so forth; the partitions are numbered from 1. So, the fourth partition on the first IDE drive is /dev/hda4. The label= field contains the letters you choose to type at boot-time to boot XP. The table= parameter is redundant; set it to the same value as the device, but delete the partition number.
If you want to adjust the time that LILO waits for user input before the default system boots, find and edit the value of the timeout= parameter. The value's units are tenths of seconds, so enter 100 to delay 10 seconds before booting the default. /etc/lilo.conf mentions the default system first; to set a new default, move the entire system's section so that it appears before the current default. Run /sbin/lilo to effect the changes you've made to /etc/lilo.conf.
Thanks for the responses. But now I have another problem. I have one primary partition, and I can't boot (it says "Invalid partition table") when I turn on the computer after the BIOS screen. BootIt NG tells me that the file system (FAT32) is corrupted and thus won't let me resize the partition to make a partition for Linux. fdisk in the Linux setup disk tells me that I'd have to delete all data on the partition to edit it.
However, when I boot to a DOS prompt using a boot disk, I can view and edit the contents of my C partition normally. Backing up my most important files to a floppy is my last resort, but before I do so, does anyone know of any bootable utilities that can fix my so-called corrupted file system? I have a lot of data on here that I'd like to do my best to keep.
Do you think I should just go ahead and backup my most important files through DOS (ugh...) or is there another way to back up more through a bootable utility (such as through a network or on a CD-R...)?
Try getting a win 98 or win2k boot disk from a friend and use that to boot up the machine. Then, when you get the DOS A:> prompt, type fdisk /mbr. What this does is it fixes your Master Boot record, which gets destroyed if you tried to install LILO or GRUB as a dualboot without taking certain precautions. My problem was similar to yours and I couldn't even boot XP, but if I used my Linux boot disk, I could go into my Windows file system and see everything. When I ran "fdisk /mbr" everything was fixed and it booted into XP fine again. Then I basically cleared out the Linux partition and reinstalled it, though you could probably try the stuff in the above posts if you want to fix the Linux partition in-place.