bootloader(ubuntu)

Cobrayx

Cadet 3rd Year
Registriert
Apr. 2004
Beiträge
51
Habe Ubuntu auf meinen Rechner installiert (8Gb Festplatte) und der anderen ist Win. Xp. Das Problem ist das ich wenn ich im Bootloader auf Windows gehe findet er die Partition nicht. Was könnte ich machen?
 
Cobrayx schrieb:
Habe Ubuntu auf meinen Rechner installiert (8Gb Festplatte) und der anderen ist Win. Xp. Das Problem ist das ich wenn ich im Bootloader auf Windows gehe findet er die Partition nicht. Was könnte ich machen?

Hi,

boote Linux. Oeffne die Konsole und post folgende Ausgaben hier:

sudo fdisk -l
sudo cat /boot/grub/menu.lst

MfG
 
danke, aber hat leider nichts gebracht....

wenn ich auf windows gehe kommt:

"booting ´Windows NT/2000/XP

root (hd1,0)
Filesystem sype unknown, partiton type 0x7
savedefault
makeactive
chainloader +1
 
"Eine schnelle Lösung besteht darin, im BIOS des Rechners für die Festplatte(n) den (LBA-oder Large) Zugriffs-Modus zu aktivieren, unter dem die Festplatte vorher angesprochen wurde. Wichtig ist, dass die Festplatten-Werte nicht auf "AUTO" eingestellt sind."

habe ich nicht in meinem ami bios gefunden.....
 
Cobrayx schrieb:
danke, aber hat leider nichts gebracht....

wenn ich auf windows gehe kommt:

"booting ´Windows NT/2000/XP

root (hd1,0)
Filesystem sype unknown, partiton type 0x7
savedefault
makeactive
chainloader +1

du sollst die ausgabe posten, das bringt ganz sicher was wenn wir erstmal wissen was da steht...
 
Wie marcelcedric schon geschrieben hat:
Du sollst die Ausgabe dieser beiden Befehle posten:

Code:
sudo fdisk -l

sudo cat /boot/grub/menu.lst

An der fdisk Ausgabe können wir sehen, wie du deine Platte aufgeteilt hast.
An der menu-Datei können wir erkennen, ob du überhaupt auf die richtige Partition zugreifst.

Geschnallt? ;)

rush2000
 
Platte /dev/hdc: 8447 MByte, 8447459328 Byte
255 Köpfe, 63 Sektoren/Spuren, 1027 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/hdc1 * 1 980 7871818+ 83 Linux
/dev/hdc2 981 1027 377527+ 5 Erweiterte
/dev/hdc5 981 1027 377496 82 Linux Swap / Solaris

Platte /dev/hdd: 80.0 GByte, 80060424192 Byte
255 Köpfe, 63 Sektoren/Spuren, 9733 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/hdd1 * 1 9732 78172258+ 7 HPFS/NTFS
 
mach vor dem "sudo cat /boot/grub/menu.lst" mal ein "sudo mount /boot" und poste dann die ausgabe vorm ersten befehl.

die menu.lst ist aufjedenfall falsch, dort will er hd1,0 booten, obwohl es eigentlich hd4,0 sein müsste. könntest das also auch erstmal auf eigene faust einfach ersetzen, oder eben wiegesagt einfach mal en inhalt der menu.lst posten damit wir dir genau sagen können was du da ändern musst.
 
Code:
root@cobrayx:/home/cobrayx # sudo cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hdc1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## ## End Default Options ##

title           Ubuntu, kernel 2.6.10-5-386
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hdc1 ro quiet splash
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot

title           Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hdc1 ro single
initrd          /boot/initrd.img-2.6.10-5-386
savedefault
boot

title           Ubuntu, kernel memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdd1
title           Microsoft Windows XP Professional
root            (hd1,0)
savedefault
makeactive
chainloader     +1
 
Zuletzt bearbeitet von einem Moderator: (Code Tags hinzugefügt)
Siberian..Husky schrieb:
mach vor dem "sudo cat /boot/grub/menu.lst" mal ein "sudo mount /boot" und poste dann die ausgabe vorm ersten befehl.

die menu.lst ist aufjedenfall falsch, dort will er hd1,0 booten, obwohl es eigentlich hd4,0 sein müsste. könntest das also auch erstmal auf eigene faust einfach ersetzen, oder eben wiegesagt einfach mal en inhalt der menu.lst posten damit wir dir genau sagen können was du da ändern musst.

Hum, wie kommst du auf hd0,4?

MfG
 
Er meint wahrscheinlich die Nummerierung der Festplatten in der grub Konfig, dann wäre allerdings
hd3,0
richtig. hda wäre Festplatte 0, hdb 1, hdc 2 und hdd, wo Windows scheinbar liegt, Festplatte Nr. 3

Vielleicht hat er sich mit hd4,0 versehen, weil er nicht bedacht hat, dass grub bei 0 anfängt zu zählen.

Genug geraten :D

Dann dürfte das booten von Linux von hd0,0 allerdings nicht klappen :freak:

mfg
aki
 
Zuletzt bearbeitet:
Ich kann zwar nicht weiterhelfen, aber genau dieses Problem habe ich zur Zeit auch. Gründe dafür sind mir auch vollkommen unklar. Die richtige Festplatte sowie die richtige Partition hat er auch gewählt. Trotzdem kann Win über Grub einfach nicht gestartet werden.
Blöde Frage, aber könnte es daran liegen, dass die Windowsplatte als Slave geschaltet ist. Bei meiner vorigen Linuxinstall war die Winhd noch Master und Grub lief fehlerfrei. Muss Grub eigentlich Dateinen auf der Winhd auslagern um zu starten?
 
folgende information könnte noch hilfreich sein

cat /boot/grub/device.map


du könntest es auch mit diesem Eintrag versuchen

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
 
@Bacchisio: Hab den Eintrag eben auch im WinTotal-Forum gefunden. Dort hieß er jedoch ein klein wenig anders:

title Windows (hdb1)
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1

viel wichtiger ist jedoch das Windows jetzt normal gestartet werden kann und zwar über Grub :). Vielleicht klappt es bei Cobrayx ja auch. THX
 
problem hat sich gelöst indem ich die andere Festplatte auf root gesetzt habe, trotzdem danke!
 
Ich hab da doch noch mal eine Frage.
Ich hab heute meine neue externe Festplatte bekommen. Soweit so gut. Wenn die aus ist startet Grub das Windows ganz normal hoch. Sobald sie aber eingeschalten ist sagt Grub mir, dass das NTLDP fehlen würde? Windows startet ganz normal - ohne Platte. Die Festplattenbezeichnungen haben sich auch nicht geändert - hab in Linux schon nachgeschaut. Was hat bitte schön Grub jetzt wieder zu meckern. Es ist doch alles da. Hat darauf wer eine Antwort. Würde mich freuen. Oder gibt es irgendwo einen Grub-Guide, indem man sich die möglichen Konfigurationen mal zu Gemüde führen kann?
 
Zurück
Oben