LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-26-2005, 04:32 PM   #1
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Rep: Reputation: 15
Multiboot problems


Hello

I have installed RedHat 64bit.

I cant get my WinXp to boot anymore. Think my problem is somewhere in this file.

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

I have 3 partitions.
Windows 39GB, Andet 60GB, Ext3 17GB

What should i do to get my WinXp boot again??

Another problem. How do i mount my 2 other partitions under linux?

Best regards.

Helskov
Denmark
 
Old 01-26-2005, 04:48 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
What is your partition layout ? (Run, as root fdisk -l /dev/hda).

Cheers,

mj
 
Old 01-27-2005, 09:21 AM   #3
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mjrich
What is your partition layout ? (Run, as root fdisk -l /dev/hda).

Cheers,

mj
Get nothing out of fdisk -l /dev/hda

but when i uses fdisk -l /dev/sda1 i get followring:
Disk /dev/sdb1: 256 Mb, 256098304 byte <=====Memory Card
16 hoveder, 32 sektorer/spor, 976 cylindre
Enheder = cylindre af 512 * 512 = 262144 byte



Enhed Boot Start End Blocks Id System
/dev/sdb1p1 ? 3748533 4078005 84344727 65 Novell Netware 386
Partition 1 har forskellig fysisk/logisk begyndelse (ikke-Linux?):
fys=(370, 110, 36) logisk=(3748532, 11, 5)
Partition 1 har forskellig fysisk/logisk endelse:
fys=(357, 32, 45) logisk=(4078004, 4, 18)
Partition 1 slutter ikke på en cylindergrænse.
/dev/sdb1p2 ? 2753799 3816132 271957177 66 Ukendt
Partition 2 har forskellig fysisk/logisk begyndelse (ikke-Linux?):
fys=(363, 105, 51) logisk=(2753798, 15, 32)
Partition 2 har forskellig fysisk/logisk endelse:
fys=(364, 101, 42) logisk=(3816131, 11, 17)
Partition 2 slutter ikke på en cylindergrænse.
/dev/sdb1p3 ? 3346491 6725748 865089847+ 6e Ukendt
Partition 3 har forskellig fysisk/logisk begyndelse (ikke-Linux?):
fys=(101, 134, 32) logisk=(3346490, 3, 20)
Partition 3 har forskellig fysisk/logisk endelse:
fys=(353, 32, 52) logisk=(6725747, 7, 2)
"Partition" 32L, 1576C 1,0-1 Top


Partition1 is my Windows Partition
Partition2 is my Andet partition
Partition3 is my Ext3 partition

Its the Danish version of linux but i hope you can understand some of it.

Last edited by Helskov; 01-27-2005 at 09:24 AM.
 
Old 01-27-2005, 05:41 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
What drive configuration are you using ? It looks like it might be either a SATA drive or a removable USB drive...? Basicelly, how many drives and in what order does the Bios think they are plugged in ? Anyway, very useful would be the output of (as root)
Code:
fdisk -l /dev/hdx
-where x is your drive (a, b, e... etc.).

Cheers,

mj
 
Old 01-28-2005, 12:29 AM   #5
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mjrich
What drive configuration are you using ? It looks like it might be either a SATA drive or a removable USB drive...? Basicelly, how many drives and in what order does the Bios think they are plugged in ? Anyway, very useful would be the output of (as root)
Code:
fdisk -l /dev/hdx
-where x is your drive (a, b, e... etc.).

Cheers,

mj
Yes it is a 120Gb Maxtor Sata.

My Bios sees my harddrive as one.
Boot priority is:
3.5" disk
Cdrom
Harddrive.


When i come home from work i will try to find out of more.
 
Old 01-28-2005, 01:24 PM   #6
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Disk /dev/sda: 122.9 Gb, 122942324736 byte
255 hoveder, 63 sektorer/spor, 14946 cylindre
Enheder = cylindre af 16065 * 512 = 8225280 byte

Enhed Boot Start End Blocks Id System
/dev/sda1 2 5100 40957717+ f W95 Ext'd (LBA)
/dev/sda2 * 5101 12749 61440592+ 7 HPFS/NTFS
/dev/sda3 12750 14946 17647402+ 83 Linux
/dev/sda5 2 5100 40957686 7 HPFS/NTFS


I have now succesfully mounted sda2 and sda5 with fedora.

But i still cant boot WinXp.
 
Old 01-28-2005, 10:01 PM   #7
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
So presuming that your WinXP partition is /dev/sda2 (with sda1 as a small LBA partition ?), then the grub.conf entry for it should be:
Code:
title Win Xp
rootnoverify (hd0,1)
chainloader +1
Cheers,

mj
 
  


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
Multiboot problems craigs1987 SUSE / openSUSE 2 12-18-2004 09:04 AM
How to Multiboot bubble Linux - Software 5 12-18-2004 08:22 AM
multiboot problems after restart wriggles Linux - General 3 09-03-2004 12:07 PM
Problems using grub to multiboot amp2000 Linux - General 2 10-18-2002 12:40 PM
Multiboot ReSync Linux - Newbie 6 06-18-2002 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 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
Open Source Consulting | Domain Registration