My first installation(Red Hat) and I almost lost everything-HELP
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.
My first installation(Red Hat) and I almost lost everything-HELP
hi.Im total beginner
I nearly lost all of my data and now I need someone to explain to me
why this happened
On my PC I have 3 partitions and on each there is OS installed.
Now I wanted to add Red Hat linux 9.Here is how I did it:
-First I told Red Hat to automatically partition my drive
-I selected 'Remove all Linux partitions on this System'
-As bootloader I've choosen Grub
Since I already have OSs on my system,Linux Setup should detect them,
but since it only detected partition running Win98(it named it DOS),
I added the other two manually.
-I named Win2k OS located on D partition Win2kD and OS located on E partition Win2kE(In Linux Setup I made this one to boot by default).
-Then I installed linux and rebooted and up comes GRUB and gives me a choice of which OS to start .
I could start Linux,but when I tried to start Win2kE it wrote:
"and after I pressed enter"
Insert Boot diskette in A:
Same happened when I tried to run Win2kD.
But when I started DOS(Win98)I was again presented with option as to which OS to load(I think it was
windows bootloader) and then it worked
So can someone explain to me what happened?Why couldn't I start those two OSs?
And why did only pressing DOS enable me to start Win2kE and WinkD?
Well I'm ashamed to say but I didn't remember all the details.
I bought Linux for Windows Administrators book and just followed the author's instructions(thought he used Red Hat 7.3)
I'm only on page 50 and so far author didn't mentioned master or slave names.As far as names go,if I remember correctly Win2kE was reffered to as dev/hda3 and I then named it Win2KE
But there are few things Id like to point out:
-First,though Im not 100 percent shure,I picked LILO as default booter (but I might have been sloppy and picked Grud instead)
-While in setup I've got a warning to make Boot disk cos it might not be able to boot(Im talking about actual warning here)
Can you tell me why when pressing on DOS(Win98),the old(windows?)booter appeared?
Last question-how do I uninstall Linux and still be able to boot other OSs?
Since I don't want to take your time I will try to go to the link you provided and figure it out for myself
first of all, don't worry, your data isn't gone (the bootloader is probably pointing to the wrong partitions). second, use mintedice's solution only as a last resort (that process will reload the windows bootloader). i have noticed that redhat's detection of other os's is rather sloppy.
ok, so now my suggestion is to edit your grub config on boot. when the system boots, you will see some options below your list of os's. you press a key (not sure which one, but if you read the screen, you can figure it out) and you can edit the boot commands. what you want to change is (hd0,5) under the windows load commands to like (hd0,1) and keep changing those until you get the right partition and windows boots. when you get the right partition, boot linux and edit /etc/grub.conf (you need to be superuser, so type "su" and enter the password, then use "gedit /etc/grub.conf" to edit the file) to match the partition you discovered during messing around with the grub configuration in grub. that will make your bootloader configuration changes permanent. good luck.
since it seems that you are giving up, you may want to try knoppix (www.knoppix.org) to get somewhat familiar with linux before going for a full on install. knoppix is a live cd distribution which means that the entire os runs off of the cd without installing anything to your hd.
linux does have a high learning curve. but it can be worth the effort. don't give up because of one small issue.
follow my first post and you should be able to directly boot both your windows os's from grub. you will need to create two entries in grub.conf, one for each partiton. it should look like this:
title Windows 2000 D
title Windows 2000 E
title Fedora Core (2.4.22-1.2115.nptl)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hda=ide-scsi rhgb
you will have to fiddle around with the (hd#,#) with the method i described in my first post. the first two entries are examples for your windows os loaders and the last entry is the linux loader for my system. what happened with the DOS entry is that it must point to the windows boot loader located on one of your partitions already. redhat just likes to call any windows partition dos. once you have everything set up correctly, you will no longer need the DOS entry.
as for your other question: the install process will always say that. there was a limit with older hard drives where the bootloader could not be placed beyond a certain point and still work correctly. if you have current hardware (built within the last 3 years or so) you should be fine.
That's because your win98 and two win2000s is only sharing one bootloader, which resides on the first bootable partition(system partition) which in most cases is the win98 partition if you installed it first before installing win2ks, the bootloader does not need to be installed in the boot patition(where your winnt/windows folder is) itself.
In order to directly boot win2k/xp from grub it has to support loading the winNT kernel. Currenty its not supported and I doubt it will any time soon, if ever.
I actually thought of an idea of doing this(booting multiple win2k/xp directly in grub) few days ago, I couldn't get it to work properly but it could be due to the fact that my operating systems sees the disk drive order differently from bios. Its quite simple, I basically use a simplistic kernel that loads a floppy disk image as its initrd, it worked with standard dos/pcdos bootdisks, for some reason its not correctly detecting my drives when I use a win2k/xp bootdisk. If you want to try this method just post a reply, I'll be back checking out the forums again in a few hours.
hmmm, demonbane may be right...i've never tried setting up linux and two separate windows (nt) os's on the same system. the only way to do it may be how you have it set up now where grub loads the windows boot loader which is used to select exactly which version of windows to boot. you may still want to try to use my suggestions to see if you can get it to work anyway. peace.