LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-01-2006, 02:44 AM   #1
bigdan43
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
Dual Booting windows


I'm a windows guy and am very interested in learning linux. I currently have my hard drive partioned into 5 pieces, winxp, winxp 64-bit, 2 storage partitions and my linux partion.

I installed fedora core 5 and relized that I no longer have the option to boot windows. I knew I should have paid more attention during the install but everything seemed ok.

What I want to do is have the option to boot all 3 of my OS's at startup. Right now it sends me to fedora without any prompting.

I am not familiar with the terminal commands and this makes me pretty much helpless at this point.

Please someone tell me linux did not overwrite my MBR and that there is some simple way to re-enable the windows boot?
 
Old 04-01-2006, 03:45 AM   #2
IceChant
Member
 
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Blog Entries: 3

Rep: Reputation: 30
Quote:
Originally Posted by bigdan43
I currently have my hard drive partioned into 5 pieces
That's the problem linux will work the best with 4 primary partitions, you can make as many extended partitions you want but only 4 primary.
 
Old 04-01-2006, 06:22 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
The MBR has only 512 bytes.

Every PC operating system can restore its own MBR, including Windows and Linux of course.

You can use a Dos floppy to restore the MBR for the entire MS family OS, although officially the advice is to use the installation CD.

You can boot both your Windows Xp and Xp64, say they are in hda1 and hda2 partitions respectively, by adding (or ensuring) these lines in the file /boot/grub/menu.lst of the Linux if it uses Grub as the boot loader
Code:
title XP in hda1
root (hd0,0)
makeactive
chainloader +1

title xp64 in hda2
root (hd0,1)
makeactive
chainloader +1
My guess is you should be using Xp to dual boot Xp64 and that should remain operative.

If your Linux uses Lilo lest us know.

You need to edit the /boot/grub/menu.lst with an editor while inside Linux and log in as root, say using the editor "vi". The command is just
Code:
vi /boot/grub/menu.lst
If you have installed the OS successfully then you can boot all of them using a boot loader from any of the OS. However Linux is much easier to work with.

The 5 piece partitions are OK as you must have some of them in logical partitions.

Last edited by saikee; 04-01-2006 at 06:24 AM.
 
Old 04-01-2006, 07:39 AM   #4
bigdan43
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I'll try this out and let you know about the results.
I'm not sure when I'll be able to get to it however, I woke up sick this morning.

Thanks for the help everyone
 
Old 04-02-2006, 01:42 AM   #5
bigdan43
LQ Newbie
 
Registered: May 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I ended up going and opening /boot/grub/menu.lst and added this before the fedora boot.

title XP in hda1
root (hd0,0)
makeactive
chainloader +1

I also changed the timeout form 5 to 30seconds.
Now when I and waiting for the timout I can choose between linux and windows. If I choose windows I get the usual dual boot between Xp and Xp64bit.

It may not be exactly what I was supposed to do but it works!
 
Old 04-02-2006, 04:43 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Like I mentioned earlier I expect your XP dual booting XP64 because that is the only way XP64 could co-exist with its own kind. The necessary booting files for XP64 would have been installed inside XP and not XP64 and so XP64 was not installed "independently" and must be booted via XP.

Have you installed XP64 "independently" then the instructions I gave in Post #3 would be able to boot both seaparately.

Windows boot loader is light years behind Linux. It can therefore boot itself up first, then your XP's NTLRD and from there proceeds to XP or XP64.
 
Old 04-02-2006, 01:25 PM   #7
Andy Fun
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
I am a new user of Linux . I am using Mandrake 10.0. I am very eager to learn this system because I have heard that although there are more things to remember, that it is also a very stable system once it gets going so I hope that with the help of other I could at least become a mini-Linux guru within this next year with the help of others and then I will be able to teach some of my friends also.
My first problem in this system is that when I fire up the computer that it hangs for atleast 4 minutes. I restarted and watched the booting sequence and it stops at this point;

Bringing up interface ethO:
Determing IP address for ethO:
Determing IP address for ethO FAILED

Right now I'm not sure where to go at this point to correct the problem, I've come to a wall here as I'm not sure where to go.The work enviorenment is much different that Windows. Could someone suggest some hints to me? I would truely appreciate it.
My system is; Intel {R}
Pentium [R] 4 CPU 1500MHz
1.51 GHz
256MB Ram

Last edited by Andy Fun; 04-02-2006 at 01:43 PM.
 
Old 04-02-2006, 05:06 PM   #8
petern2
Member
 
Registered: Sep 2005
Location: Melbourne, Australia
Distribution: XP, Windows 7, PCLinuxOS
Posts: 41

Rep: Reputation: 15
If eth0 failed, it means Mandrake doesn't recognise the internet connection. To answer your question, the we need to know what exactly is the internet connection you are using.
Linux has trouble with some windows-type modems for dial-up internet, and can only connect through an ethernet card, not usb port for broadband/adsl.
I suspect this is tthe problem-you need to get a separate ethernet card and install it in one of the spare pci slots.
 
Old 04-02-2006, 08:08 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Petern2 is right.

eth0 is just network card as far as I am aware and your Mandrake should work normally but possibly no network connection and no Internet.

Network connection is not a booting problem as we are discussing on this thread. You should start a new thread. My advice is to install a few more systems to see a common pattern if your network connection can be recognised. Mandriva took over Mandrake for a while and so sticking with older distros will not help either.
 
Old 04-04-2006, 11:06 AM   #10
Andy Fun
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
The card I'm using is a synnex 0210 card. I have another one that is RTL8139803182T1 that I have for a spare.I am in Taiwan so we use hinet as a connection.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Linux - dual booting with Windows FlameLover Linux - Newbie 4 12-12-2005 10:18 AM
Dual booting into windows 2k Tharkin Linux - Newbie 6 09-13-2004 03:42 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Dual-booting with Windows 98? mjs2000 Linux - General 6 07-25-2004 04:27 AM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 10:05 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration