kanotix.com
Installation, Einstellungen, Systempflege - wie kann ich windwos starten?
music4tunes - 16.12.2007, 17:59 Uhr
Titel: wie kann ich windwos starten?
hallo,
ich habe mir Kanotix auf einer zweiten Partition installiert.
nur habe ich das Problem das grub nicht mehr Windows anzeigt.
ich kann nur noch Kanotix starten.
aber wenn ich im Kanotix drin bin zeigt es mir die Windows Partition an.
kann ich Windows bei grub irgendwie hinzufügen?
Gruß, music
miltonjohn - 16.12.2007, 18:26 Uhr
Titel: wie kann ich windwos starten?
also bei mir sieht menue.list
so aus:
# menu.lst - See: grub(
, info grub, update-grub(
# grub-install(
, grub-floppy(
,
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
setkey y z
setkey z y
setkey Y Z
setkey Z Y
setkey equal parenright
setkey parenright parenleft
setkey parenleft asterisk
setkey doublequote at
setkey plus bracketright
setkey minus slash
setkey slash ampersand
setkey ampersand percent
setkey percent caret
setkey underscore question
setkey question underscore
setkey semicolon less
setkey less numbersign
setkey numbersign backslash
setkey colon greater
setkey greater bar
setkey asterisk braceright
## 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.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
gfxmenu (hd0,5)/boot/message
## 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 options 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 specific 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_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=94113f91-17c2-4f4a-a3b1-1e9a4bc623ce ro splash vga=791 quiet
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user 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
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=94113f91-17c2-4f4a-a3b1-1e9a4bc623ce ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.22-14-generic
title Debian GNU/Linux, kernel 2.6.22-10-kanotix
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-10-kanotix root=UUID=94113f91-17c2-4f4a-a3b1-1e9a4bc623ce ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.22-10-kanotix
title Debian GNU/Linux, kernel memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
title Microsoft Windows XP Home Edition
chainloader (hd0,1)+1
vielleicht hilft das ja aber normalerweise taucht win in grub auf - aus Versehen was gelöscht?
Kano - 16.12.2007, 18:29 Uhr
Titel: wie kann ich windwos starten?
Bist sicher, dass Win auf hd0,1 und nicht auf hd0,0 ist?
music4tunes - 16.12.2007, 18:40 Uhr
Titel: wie kann ich windwos starten?
mmmh, das weiss ich nicht ...
eigentlich weiss ich gar nichts ...
rolo48 - 16.12.2007, 18:43 Uhr
Titel: Re: wie kann ich windwos starten?
music4tunes hat folgendes geschrieben::
mmmh, das weiss ich nicht ...
eigentlich weiss ich gar nichts ...
du mußt den letzten absatz von miltenjohns antwort beachten:
Zitat:
### END DEBIAN AUTOMAGIC KERNELS LIST
title Microsoft Windows XP Home Edition
chainloader (hd0,1)+1
so sollte das bei dir aussehen , oder zumindest ähnlich
DerangedGonzo - 16.12.2007, 19:14 Uhr
Titel: Re: wie kann ich windwos starten?
oder hast du vllt den Windows Bootmanager mit Grub überschrieben?
ockham23 - 16.12.2007, 19:43 Uhr
Titel: Re: wie kann ich windwos starten?
Damit wir die verloren gegangene Windowspartition wiederfinden können, bitte mal die Ausgabe der folgenden Befehle hier posten und als "Code" formatieren:
Code:
su
fdisk -l
cat /boot/grub/menu.lst
cat /etc/fstab
miltonjohn - 16.12.2007, 20:10 Uhr
Titel: Re: wie kann ich windwos starten?
@D...-gonzo
also wenn der grub den win-boot-manager überschreibt macht das gar nix das soll es ja - es ist eher anders herum windows überschreibt grub und du hast kein linux zum wählen...
DerangedGonzo - 16.12.2007, 20:11 Uhr
Titel: Re: wie kann ich windwos starten?
sicher? ich meinte,dass grub windows noch nicht selbstständig starten kann. darum chainloader+1, um den windoof bootmanager zu starten der dann windows hochfährt. Deshalb ist windows im mbr und grub auf der root-partition,oder nicht?
Daddy-G - 16.12.2007, 23:14 Uhr
Titel:
Nein grub gehört schon in den mbr wenn man eine Festinstallation hat.
Beim Installer wird normalerweise das neu installierte Kanotix an erste Stelle, dann memtest, dann windows als chainloader geschrieben.
Warum schreibst nicht was Ockham rät. ?
music4tunes - 17.12.2007, 15:28 Uhr
Titel:
fdisk -l
Code:
Platte /dev/hda: 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/hda1 1 2432 19535008+ 7 HPFS/NTFS
/dev/hda2 7462 9732 18241807+ f W95 Erw. (LBA)
/dev/hda3 * 2433 7461 40395442+ 83 Linux
/dev/hda5 7650 9732 16731666 e W95 FAT16 (LBA)
/dev/hda6 7462 7649 1510047 82 Linux Swap / Solaris
cat /boot/grub/menu.lst
Code:
# 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/.
setkey y z
setkey z y
setkey Y Z
setkey Z Y
setkey equal parenright
setkey parenright parenleft
setkey parenleft asterisk
setkey doublequote at
setkey plus bracketright
setkey minus slash
setkey slash ampersand
setkey ampersand percent
setkey percent caret
setkey underscore question
setkey question underscore
setkey semicolon less
setkey less numbersign
setkey numbersign backslash
setkey colon greater
setkey greater bar
setkey asterisk braceright
## 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.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
gfxmenu (hd0,2)/boot/message
## 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 options 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 specific 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_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=8293b990-289d-4638-9175-9f3b5589ca3a ro splash vga=791 quiet
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user 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
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.22-10-kanotix
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-10-kanotix root=UUID=8293b990-289d-4638-9175-9f3b5589ca3a ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.22-10-kanotix
title Debian GNU/Linux, kernel memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
cat /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda3
UUID=8293b990-289d-4638-9175-9f3b5589ca3a / ext3 errors=remount-ro 0 1
# /dev/hda1
/dev/disk/by-uuid/E6F4DA59F4DA2B95 /media/hda1 ntfs ro,umask=000,nls=utf8 0 0
UUID=318196b3-8ebc-4473-8855-4eb5140444f3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
... so das wars
hoffe ihr versteht das!
ich warte gespannt auf eure antworten.
lg
gmx99 - 17.12.2007, 15:37 Uhr
Titel: Re: wie kann ich windwos starten?
Zitat:
### END DEBIAN AUTOMAGIC KERNELS LIST
title Microsoft Windows XP Home Edition
chainloader (hd0,1)+1
du musst effektiv diese beiden letzten Zeilen am Ende deiner menu.lst hinzufügen.
towo2099 - 17.12.2007, 15:41 Uhr
Titel: Re: wie kann ich windwos starten?
gmx99 hat folgendes geschrieben::
Zitat:
### END DEBIAN AUTOMAGIC KERNELS LIST
title Microsoft Windows XP Home Edition
chainloader (hd0,1)+1
du musst effektiv diese beiden letzten Zeilen am Ende deiner menu.lst hinzufügen.
Na wohl kaum!
Ein
Code:
title Microsoft Windows XP Home Edition
chainloader (hd0,0)+1
schon eher.
music4tunes - 17.12.2007, 15:41 Uhr
Titel: Re: wie kann ich windwos starten?
na das hört sich ja nicht so schwer an
aber ich öffne ich die datei ...
[edit]
aha geschaft ...
[/edit]
music4tunes - 17.12.2007, 16:00 Uhr
Titel: Re: wie kann ich windwos starten?
ey, super das geht ja klasse
... jetzt noch zwei fragen!
1. wie kann ich einstellen das bei grub nur noch eine version von kanotix zur auswahl steht.
bei mir stehen da immer 2 ...
2. beim booten steht da immer raid suchen ... kann ich das ausstehen?
mfg music
ockham23 - 17.12.2007, 20:58 Uhr
Titel: Re: wie kann ich windwos starten?
Der zweite Eintrag ist für memtest86+, ein Utility zur Überprüfung des Arbeitsspeichers auf Fehler. Du kannst memtest86+ einmal ausführen (sicher ist sicher) und dann den Eintrag in /boot/grub/menu.lst auskommentieren, indem du jeweils eine Raute (#) vor die Zeilen des Eintrags setzt. Das Ergebnis sollte so aussehen (Auszug aus menu.lst):
Code:
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.22-10-kanotix
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-10-kanotix root=UUID=8293b990-289d-4638-9175-9f3b5589ca3a ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.22-10-kanotix
# title Debian GNU/Linux, kernel memtest86+
# root (hd0,2)
# kernel /boot/memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
Kano - 17.12.2007, 21:40 Uhr
Titel: Re: wie kann ich windwos starten?
Tolle Idee, nach update-grub ist es wieder da
music4tunes - 19.12.2007, 15:35 Uhr
Titel: Re: wie kann ich windwos starten?
@ ockham23
dank dir
ockham23 - 21.12.2007, 20:02 Uhr
Titel: Re: wie kann ich windwos starten?
Na ja, wie Kano sagt: Nach update-grub ist es wieder da. Dann musst du es halt wieder auskommentieren. Oder Kano verrät uns, wie man den Eintrag auf Dauer beseitigt.
Kano - 21.12.2007, 20:37 Uhr
Titel: Re: wie kann ich windwos starten?
apt-get remove --purge memtest86+
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007