LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual Boot (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-362238/)

realnightfox 09-11-2005 12:35 AM

Dual Boot
 
Hey

Well I have 2 hard drives... C and D... D: is for data and stuff...

C: is where my xp was and some files....

Then i used Partition Magic 8.0 to create a new partition and resize C:

So it should be something like...

C: 27GB (XP)
D: 37GB (Data)
G: 10GB (Red Hat)

I installed red hat 9, all 3 cd's....

I turn on the pc and it goes straight to red hat, without asking If i want to goto xp....

I thought I deleted XP and now Red Hat is the C drive... It may still be but:

I went into Red hat and looked at the 'Hardware Browser' > Hard drives

and it shows this:

Since i can't post url's please follow this... goto img328 [dot] imageshack [dot] us [slash] img328 [slash] 1378 [slash] screenshot5dn [dot] png!

which is like what i told it to do... But i want to be able to switch from and to xp...

Thanks!:cry:

Matir 09-11-2005 12:50 AM

What you need to do is check out a howto like this one.

aysiu 09-11-2005 12:53 AM

Two questions:

1. Did you install Grub to the MBR during installation?
2. What's the output when you type this into the terminal?

Code:

su
(you'll be prompted for your root password)
Code:

fdisk -l

aysiu 09-11-2005 12:55 AM

Quote:

Originally posted by Matir
What you need to do is check out a howto like this one.
While those instructions do work, setting up a dual boot without installing Grub to the MBR is a pain in the butt. Most Linux's Grubs recognize Windows, but Windows does not recognize Linux. And even if Linux doesn't recognize Windows automatically, it's pretty easy to add Windows to the /boot/grub/menu.lst. It's a lot more complicated to add Linux to the boot.ini.

realnightfox 09-11-2005 01:45 AM

uhhh if im not wrong, i posted this in the newbie section... I dont know what a Grub or MBR are.

muddywaters 09-11-2005 04:09 AM

Yeah these guys talk weird (joking)
The master boot record (MBR) controls which partition to use when you start your computer.The Grand Unified Bootloader (GRUB) takes control of the MBR. The MBR sits in the first sector (boot sector) of your hard drive.

aysiu wants you to open a terminal in Redhat. Once thats done just enter the commands he gave you. Paste the output into your next reply.

Newbie is a relative term. A lot of the people posting as newbies are new to linux but have a lot of experience with other systems. A few months ago I didn't understand half these words either. One thing to keep in mind, some of the people here (including some of the best ones) won't answer your questions if they feel your not trying to find some of the answers for yourself.

realnightfox 09-11-2005 04:31 AM

DO i do the commands in that tut?

Nylex 09-11-2005 04:41 AM

You could try right-clicking anywhere on your desktop and see if that brings up a menu with "konsole" or "open terminal" (or something similar) in it. Also there should be a menu for KDE or GNOME (whichever you're using), accessible from the big bar at the bottom. In GNOME, I think there's a red hat button on the bar which brings up the menu and for KDE it's usually a K inside a wheel. Again, look for entries for "terminal" or "konsole".

FYI, Red Hat 9 is quite out of date now and you might want to conside Fedora Core (which is very similar), but that's up to you :).

realnightfox 09-11-2005 04:42 AM

I just want XP back! :) How do i open a .conf file? what prog would i use.

muddywaters 09-11-2005 04:47 AM

I've only used Redhat once. If you have a desktop visible you may find a K symbol in the lower left corner. Whatever symbol is there click on it. Now look for the word terminal or possibly console or an icon that looks like a black screen. If you have clicked on the right thing a window will open up with a prompt something like; user@linux~> or $
If that doesn't work try alt + F2
If that doesn't work try right clicking the desktop.
EDIT: Beat me to it :)

realnightfox 09-11-2005 04:51 AM

Ok i typed...
the command 'df' and this is what came up..

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 11052880 5179164 5312248 50% /
/dev/hda2 101089 9325 86545 10% /boot
none 256660 0 256660 0% /dev/shm

muddywaters 09-11-2005 04:58 AM

Why don't you use the commands aysiu suggested?

realnightfox 09-11-2005 05:58 AM

fdisk -1 doesnt work... and also one of the guys posted the tut... so i used that...
what now?

Nylex 09-11-2005 06:03 AM

Quote:

Originally posted by realnightfox
fdisk -1 doesnt work.
It's a lowercase L, not a 1.

realnightfox 09-11-2005 06:34 AM

Still says

bash: fdisk: command not found.


All times are GMT -5. The time now is 08:16 PM.