Grub Windows 2000 Howto

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
Chiefdome
Beiträge: 64
Registriert: 04.11.2003 19:26:56

Grub Windows 2000 Howto

Beitrag von Chiefdome » 26.04.2004 15:47:26

hi leute,

ich hab ein Problem mit der Installation von Windows 2000 bzw. das Einfügen in Grub.
Also ich hab zwei Platten /dev/hda und /dev/hdb.

Auf /dev/hda sind zwei Partitionen
eine NTFS /dev/hda1 und eine VFAT /dev/hda5.

/dev/hdb sind nur linux partition und swap.

ich hab grub installiert.
und versucht hda zu installieren mittels grub-install.

Code: Alles auswählen

grub-install /dev/hda
/dev/hda does not have any corresponding BIOS drive.
kommt jetzt dabei raus.

also die /dev/hda1 partition muss gebootet werden.
was muss ich da alles erledigen?

Benutzeravatar
pdreker
Beiträge: 8298
Registriert: 29.07.2002 21:53:30
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Nürnberg

Beitrag von pdreker » 26.04.2004 19:20:09

Entferne oder verschiebe 'mal die Datei /boot/grub/device.map. Das sollte die Fehlermeldung beseitigen...

Patrick
Definitely not a bot...
Jabber: pdreker@debianforum.de

Chiefdome
Beiträge: 64
Registriert: 04.11.2003 19:26:56

Beitrag von Chiefdome » 27.04.2004 16:57:40

ok die fehlermeldung ist weg.

wenn ich es richtig verstanden habe muss ich doch die datei /boot/grub/menu.list,
editieren.

Code: Alles auswählen

# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
dient zum ansprechen einer Win2000-Partition?
die unten in die liste selbstverständlich ohne rauten einfügen?
und wie läuft das mit ansprechen der platte?

http://www.tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/

funktioniert es in debian nach dieser anleitung? hier wird allerdings wird hier nur win98 bedient?

http://www.tldp.org/HOWTO/Multiboot-with-GRUB.html

bei dieser anleitung muss ich soweit ich weiß win2000 neuinstallieren.

wie kann ich von einer existierenden ntfs-partition auf /dev/hda1 booten?

ich wechselte von lilo zu grub, bei dieser page http://myrddin.org/howto/debian-grub.html
wird dies behandelt.
allerding funktioniert es bei mir immer noch nicht!

Benutzeravatar
domo
Beiträge: 268
Registriert: 11.07.2002 18:18:27

Beitrag von domo » 27.04.2004 17:23:32

Der Eintrag sollte so wie er ist, funktionieren... Und ansonsten kannst Du beim Booten die Bootparameter noch editieren, falls was nicht funktioniert...

Have fun

Chiefdome
Beiträge: 64
Registriert: 04.11.2003 19:26:56

Beitrag von Chiefdome » 01.05.2004 16:00:14

leider funzt es immer noch nicht.
meine kiste legt gleich wenn ich windows im grub menü auswähle nen reboot hin.
ich kann bis jetzt leider nur linux booten.

ich hoffe das wird sich bald ändern.

mit den einträgen funzt es leider nicht.

meine derzeitige menu.lst:

Code: Alles auswählen

# 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.0

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

# 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/hdb1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,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

## 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

## ## End Default Options ##

title		Debian GNU/Linux, kernel 2.6.6-rc1 
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.6-rc1 root=/dev/hdb1 ro 
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.6-rc1 (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.6-rc1 root=/dev/hdb1 ro single
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.5-1-k7 
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.5-1-k7 root=/dev/hdb1 ro 
initrd		/boot/initrd.img-2.6.5-1-k7
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.5-1-k7 (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.5-1-k7 root=/dev/hdb1 ro single
initrd		/boot/initrd.img-2.6.5-1-k7
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.5 
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.5 root=/dev/hdb1 ro 
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.5 (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.6.5 root=/dev/hdb1 ro single
savedefault
boot

title		Debian GNU/Linux, kernel 2.2.20-idepci 
root		(hd1,0)
kernel		/boot/vmlinuz-2.2.20-idepci root=/dev/hdb1 ro 
savedefault
boot

title		Debian GNU/Linux, kernel 2.2.20-idepci (recovery mode)
root		(hd1,0)
kernel		/boot/vmlinuz-2.2.20-idepci root=/dev/hdb1 ro single
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

title		Windows 95/98/NT/2000
root		(hd0,0)
makeactive
chainloader	+1
ist dieser teil nötig, wenn man eine existierende windows 2000 partition hat und diese mit lilo davor funktioniert hat?
I had to initialize the first partition before installing windows 2000. Insert the DOS startup disk and reboot your computer. Once you get to the DOS prompt do the followings:

FDISK /MBR
SYS C:

Now you can go ahead and install windows 2000. At some point Windows 2000 will prompt you for the partition on which you want to install. The partition you created with fdisk should show up as damaged or unformatted partition. Go ahead and select it.

To hide the Windows 2000 menu edit a file called boot.ini that should be in the C: drive. Change the timeout value from 30 to 0.

[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(1)partition(1)\WINNT
[operating systems]
...
diesen teil habe ich bisher noch nicht gemacht.
ich hab auch leider keine bootdisk. welche würdet ihr mir raten?

Antworten