LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiboot problems (https://www.linuxquestions.org/questions/linux-newbie-8/multiboot-problems-282597/)

Helskov 01-26-2005 04:32 PM

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

mjrich 01-26-2005 04:48 PM

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

Cheers,

mj

Helskov 01-27-2005 09:21 AM

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. :rolleyes:

mjrich 01-27-2005 05:41 PM

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

Helskov 01-28-2005 12:29 AM

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.

Helskov 01-28-2005 01:24 PM

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. :(

mjrich 01-28-2005 10:01 PM

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


All times are GMT -5. The time now is 09:34 AM.