LinuxQuestions.org
Visit Jeremy's Blog.
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-12-2005, 04:03 PM   #1
wreckingcru
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
FC3 Bootloader issues


I have a Gateway M210 Laptop with WinXP pro loaded. It has a 60 GB hdd which is partitioned into 53 + 7 (for winxp). I used PartitionMagic to partition the 53 into 43+10 (ext3 format for Linux) to install FC3.

I went ahead with the installation - even though FC3 insisted on installing on the 43 gig partition with a whole buncha junk displayed (that i stupidly ignored).

Now the problem is:

When the computer boots - the bootloader only gives me the option of loading Fedora or "Other" - which ends up loading the Gateway XP recovery system.


I'm a little pissed coz' I can't log in to Windows; My screen res won't go beyond 800x600; the wireless (PRO 2200) doesn't work anymore and I have no idea how to recover the Windows boot back.


I had a knoppix live cd - so I was able to boot from that and check to ensure that FC3 didn't end up erasing my Windows files - it didn't.

Any ideas as to what I can do to regain control of Windows XP ?
 
Old 04-12-2005, 04:08 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Post the output of /boot/grub/grub.conf and 'fdisk -l'
 
Old 04-12-2005, 04:38 PM   #3
wreckingcru
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,2)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Other
rootnoverify (hd0,1)
chainloader +1
makeactive

That was grub.conf


Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 487 6015 44411692+ 7 HPFS/NTFS
/dev/hda2 * 1 486 3903763+ b W95 FAT32
/dev/hda3 6016 6028 104422+ 83 Linux
/dev/hda4 6029 7296 10185210 5 Extended
/dev/hda5 6029 7296 10185178+ 8e Linux LVM

Partition table entries are not in disk order


this is fdisk -l


Please let me know. Thank you guys so much.
 
Old 04-12-2005, 05:17 PM   #4
wreckingcru
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Fixed!

Hey

I fixed THAT problem - I just had to rename the 'Other' loader to hd0,0 ....which si where my windows partition lay i guess.

But now the problem is - my computer by default wants to load Fedora - I have to manually stop it - and go to the bootloader options screen (Fedora will load in 3 seconds ...press any key to manually boot) ..and select Windows.

Can I change it to load Windows by default and allow me to manually load FC3?


Actually - I'm kinda pissed at FC3 - and I just downloaded UBUNTU at a friend's suggestion - and I'm thinking of installing that over the FC3 installation ...except this time I don't want to f*** it up like I did last time.

Any steps I need to be sure of before I venture into the unknown? I want to keep a dual boot with Windows default loader (for now) and Ubuntu as the secondary option.
 
Old 04-12-2005, 07:39 PM   #5
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
I have XP pro and Fedora Core 3 dual-booting on my laptop as well, and I too have to scroll through the menu and select "Other" to load Windows. The only way I could think to have Windows load by default is not to use Grub as your bootloader, and I would speculate that configuring Window's NTLDR bootloader to recognize your Linux partition would be more pain than it's worth. It can be done though - by making the Linux partition the active one, NTLDR is supposed to be forced to recognize it. How to do this exactly, I'm not sure.

What I can help you with is your screen resolution. You need to edit your /etc/X11/xorg.conf file. Go to the "Screen" section, and to the Modes lines add "1024 x 768" and save the changes to be able to attain that screen resolution. If your video card is able of attaining a higher resolution, feel free to type it in. The resolution furthest left in the Modes lines will load by default....but the first time you reboot you will have to go to Screen Resize and Rotate (using KDE and probably GNOME as well this is under the system tools menu) and select 1024 x 768. Below I will post the applicable section of my xorg.conf file to reference.

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Hope that helps and good luck with everything else.
 
Old 04-25-2005, 05:44 PM   #6
n3ur0t1ca
LQ Newbie
 
Registered: Apr 2005
Location: Atlanta, GA
Distribution: RedHat and clones
Posts: 1

Rep: Reputation: 0
dual booting

There are several ways you can solve this:

Here's a decent starting resource:
http://www.redhat.com/docs/manuals/l...-dualboot.html

1. Edit /etc/grub.conf to point to your Windows installation as the default (default=<# of entry>). There are several resources on the web for the grub.conf context, or "info grub" will give you some info. More than likely, it will be "default=1".

2. If you want to default to the Windows bootloader (NTLDR) instead of Grub, it's a bit trickier. You'll also need a Windows 98 startup disk with the IDE/SCSI/SATA dos drivers for you disk controller and the fdisk.com application. If you're not comfortable with writing MBRs and using dd, you might want to Google for some detailed documentation.

3nj0i!
 
Old 04-25-2005, 06:18 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Quote:
2. If you want to default to the Windows bootloader (NTLDR) instead of Grub
Actually, I don't know where he comes up with the windows98 drivers business. If you want to use XP's NTLDR to boot linux, you need to:

A) Select the root partition to save grub/lilo
B) Save the first 240 bytes to a file using the dd command. Save the file on floppy or a fat32 partition, etc.
C) Copy this file to C:\ on XP. ( After booting into XP )
D) Add a linux entry to C:\BOOT.INI

There are plenty of web pages detailing the process as well as numerous messages on this site that you can search for. Search on google for either 'NTLDR Grub Boot "how to" ' or 'NTLDR lilo boot "how to" '

If you need to restore the MBR for windows XP, you can boot up into the XP rescue mode and run the FIXMBR program. The FDISK /MBR command is used for windows 98.
 
  


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
XP bootloader issues with grub Gweedo SUSE / openSUSE 5 09-02-2005 10:45 PM
Windows and FC3 and Solaris V10 and the bootloader zillah Fedora - Installation 3 07-06-2005 10:31 AM
Win 2K / Mandrake 10 Dual Boot Bootloader issues SamRaimi Mandriva 5 11-02-2004 03:28 PM
Mandrake 9.1 bootloader issues after install venom_zx Mandriva 9 06-21-2004 10:46 AM
Mandrake 9.2 Bootloader Issues dwessell Mandriva 1 05-08-2004 09:51 AM


All times are GMT -5. The time now is 10:50 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