another dual boot question/problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers another dual boot question/problem
# 1  
Old 03-12-2004
another dual boot question/problem

Well, I formatted my entire harddrive (40gig), partitioned it into three partitions, FAT32 for WindowsXP (30 gig), Linux ext3 (7gig), and Linux swap (about 500mb). All this with PartitionMagic 8.0 and it took hours. After all that, I installed the "publishers version" of Red Hat with ease. I was on the Internet w/n an hour. After that I installed WinXP. I got a message about another OS and that XP had to set itself to active to boot. OK, fine. After that all loaded and was working, I restarted the PC and it automatically started WinXP. No choice was provided. I installed boot magic (from the Partition Magic app) and it didn't recognize the Linux OS. So I clicked on "Advanced" and both Linux partitions showed up. I added the main Linux to the boot list and restarted the PC. I was given the choice of which OS to boot (yea!) but when I chose Linux, I got "Error loading operating system...." and there the PC sits, just staring back at me. Can anyone tell me what the heck I'm doing wrong? Thanks for any help you can provide.
# 2  
Old 03-12-2004
Boot from your RedHat CD go itto the 'rescue' mode and choose the option that restores your boot loader.
# 3  
Old 03-13-2004
I appreciate your reply! But, unfortunately, I wasn't able to access anything on my CD that allows me to repair the boot loader. At least, I don't see anything. I put in the CD, restart the PC, and have the option to type in "linux rescue". I tell it I want to use English, and then I'm in the shell at a prompt. I type help but don't see any command to allow fixing the boot loader. I don't know the commands. Any other ideas or suggestions? Thanks.
# 4  
Old 03-14-2004
# grub-install /dev/hda

then

# shutdown -r now
# 5  
Old 03-15-2004
Tux, thanks! It worked perfectly. I can boot either system with ease, now. The PartitionMagic BootMagic couldn't do the job. I'm assuming this is a different bootloader than GRUB!?!? Anyways, I appreciate your help and feel that I can dive into Linux more. Thanks again.
# 6  
Old 03-18-2004
does anyone know how to make GRUB default to WinXP instead of Linux? If I have my kids reboot, I can tell them about making a choice. Not hat big of a hassle, but if the power goes out, it reboots to Linux, too, of course. Then they don't know what to do.
Thanks
# 7  
Old 03-18-2004
At the top of the file /etc/grub.conf (or menu.lst) there is a line which reads default=x

x is usually 0 and that means it boots as default the first operating system in the list (zero-indexed). To change the default boot option you just change this number, remembering they start at 0.
eg If WinXp was the 3rd OS listed you would change the line to read
default=2

GRUB is nicely configurable and 99% of what you will need to ever work with is in this file, once changes are made you just save and reboot.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Do you dual-boot with other os

When I first started using Linux (Ubuntu) I decided to just do a full install. The PC I installed it on, was full of viruses and to be honest, I was never good handling them. So, I decided to just go for it and install. Anyways I got another computer recently, a much newer one and I decided to... (3 Replies)
Discussion started by: billcrosby
3 Replies

2. Red Hat

Dual Boot Problem - Vista & Redhat -Incorrect BIOS geometry

Hi Folks, Initially I had vista and redhat 9 .. due to some reasons i had to re instal my vista again.. since then the dual boot menu disappeared.. i tried to re install redhat and changing the boot configuration of redhat 9 but i am not getting both the OS back .. I am not aboe to boot linux... (2 Replies)
Discussion started by: subhotech
2 Replies

3. UNIX for Dummies Questions & Answers

Problem setting up dual boot

Hi, I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly.... (0 Replies)
Discussion started by: adawg1217
0 Replies

4. Linux

Dual-boot help

Does anyone know if it is possible to have a dual-boot machine with Linux (RH FC 5) and Unix (Solaris 10)? I currently have one OS (Linux RH FC 5) on one drive (master) and another OS (Unix - Solaris 10) on the other drive (slave). I am a little unsure of what to modify the grub.config file with,... (1 Reply)
Discussion started by: trmn8r
1 Replies

5. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

6. UNIX for Advanced & Expert Users

Dual boot problem

Hi All, I have a pc loaded with windows 2000 professional. Recently added new disk of size 80GB and installed redhat linux to second disk. Now system is booting to linux but not to windows 2000. How to configure for dual boot. Thanks in advance - Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

7. UNIX for Dummies Questions & Answers

Dual Boot help...

Hi there! I have a laptop which I plan on installing a dual boot on with Windows and Linux. I have Windows 98 installed at the moment, and I also have a copy of Slackware 8. I talked to friend, and he said he had some problems installing a dual boot with linux on his laptop... So I just came... (2 Replies)
Discussion started by: satan404
2 Replies

8. UNIX for Dummies Questions & Answers

Dual Boot problem,help!!!!

I had Win98 and Win Xp on a dual boot on my system, I formatted my C: drive to get rid of Win98 and installed Linux Madrake in its Place, it all installed ok but when I boot up I can no longer dual boot and it goes straight into Mandrake Linux. How can I get either a dual boot so I can get to XP... (10 Replies)
Discussion started by: Merv
10 Replies

9. UNIX for Dummies Questions & Answers

Dual boot no more

Ok I had a windows and RH dual boot system and have now converted over completly to the linux system. How do I regain the other half of my drive? I cannot see it in the disk manager. what do I do to format so that i can mount it? (1 Reply)
Discussion started by: macdonto
1 Replies

10. UNIX for Dummies Questions & Answers

problem in dual boot

i want to know how do i make my system a dual boot system for Linux 7.1 and Windows Nt 4.0 :( :confused: :confused: (2 Replies)
Discussion started by: mad2life
2 Replies
Login or Register to Ask a Question