menu.lst

Scarecraft

Scarecraft

Mitglied
Hi leute

Hab jetzt Ubuntu drauf aber das problem ist das der Grub meine anderen Betriebssysteme nicht auflistet ... wie kann ich das problem ändern?

win xp :media/sda5

Win vista:media /hdb1

Hier meine 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'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

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

## 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 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=da5080d4-10a4-4c63-ab53-33a05b557f21 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## 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=(recovery) 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

## 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 Ubuntu, kernel 2.6.20-16-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd1,2)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Code:
title Windows XP
root (hd0,4)
makeactive
chainloader +1
Code:
title Windows Vista
root (hd1,0)
map (hd1) (hd0)
makeactive
chainloader +1
 
Vielen Dank für die Antwort ich probiers gleich aus:)
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Mh..nein es klappt leider nicht .. No such partention fund oder so... mh...
 
Zuletzt bearbeitet:
Also WinXP auf /dev/hda5?
Da kann nix starten, weil es nicht möglich ist, WindowsXP auf eine logische Partition zu installieren.
nikaya schrieb:
title Windows Vista
root (hd1,0)
map (hd1) (hd0)
makeactive
chainloader +1
Nicht ganz. Wenn schon mappen, dann richtig.
Code:
title Windows Vista
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
 
@towo,stimmt.Ich hatte eine Zeile übersehen.Sorry.

@Scarecraft:
Bitte mal die Ausgabe von "fdisk -l".
 
Also wenn ich versuche Vista zu Starten sagt er :

Error 12: Invalid device requested

Und bei Xp :

Error 22: No such partention
 
grub

Hallo


poste doch mal fdisk -l hdb + fdisk -l sda

von welcher Platte wied den gebootet ?, also ist hdb oder sda die 1. Platte im Bios ?

P.S.
in welcher Reihenflge hast du XP + Vista installiert ?
normalerweise sollte man Vista nach XP installieren, dann trägt Vista XP in sein Bootmenü ein, es kann auch mittlerweile Linux, einfacher als früher, per chainloading booten.

mfg
schwedenmann
 
root@scarecraft-desktop:/# fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 2 13238 106326202+ f W95 Ext'd (LBA)
/dev/sda2 15670 30047 115491285 7 HPFS/NTFS
/dev/sda3 13239 15669 19527007+ 83 Linux
/dev/sda4 30048 30401 2843505 82 Linux swap / Solaris
/dev/sda5 2 13238 106326171 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 14592 117210208+ 7 HPFS/NTFS

Hab Zuerst Xp dann Vista und dannach Linux (Ubuntu ) installiert ...
 
Bootproblem

Hallo

Was ist denn auf sda2 ? ud wieso soll XP auf sda5 liegen, wenn du Ubuntu später installeirt hast, daß hieße ja, Ubuntu hat sich vor XP gequetscht.

ist jetzt sda oder hdb die 1. Platte im Bios ?
Was ist die Bootplatte mit grub im MBR ?


mfg
schwedenmann
 
@ nikaya und towo:

Wieso wollt ihr denn Vista überhaupt mappen? Vista befindet sich doch auf der ersten primären Partition von hd1 und sollte sich ohne mappen booten lassen, oder hab ich hier was überlesen?

@scare

Poste mal, wie deine menu.lst jetzt aussieht.
 
Zuletzt bearbeitet:
@ nikaya und towo:

Wieso wollt ihr überhaupt mappen? Vista befindet sich doch auf der ersten primären Partition von hd1?
Weil Win nicht so einfach von der 2. Platte startet, zumindest war das bis XP so.
 
ich glaub die platte mit grub im mbr ist sda

Hdb :
http://img514.imageshack.us/img514/2917/bildschirmfoto1zp7.th.png

sda:
http://img514.imageshack.us/img514/1548/bildschirmfotoba4.th.png


Mh... Im Bios kommt oben die mit Win Vista aber als Slave
Und drunter die mit Xp als Master ..mh...

meine jetzige 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'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

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

## 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 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=da5080d4-10a4-4c63-ab53-33a05b557f21 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## 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=(recovery) 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

## 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 Ubuntu, kernel 2.6.20-16-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro single
initrd /boot/initrd.img-2.6.20-16-generic

title Ubuntu, kernel 2.6.20-15-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=da5080d4-10a4-4c63-ab53-33a05b557f21 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd1,2)
kernel /boot/memtest86+.bin
quiet

title Windows XP
root (hd0,4)
makeactive
chainloader +1

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

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Zuletzt bearbeitet:
Die Ausgabe von

Code:
sudo cat /boot/grub/device.map
wäre auch mal angesagt.

Greetz,

RM
 
Mh... Im Bios kommt oben die mit Win Vista aber als Slave
Und drunter die mit Xp als Master ..mh...

Tja, passt ja auch zur device.map, also alles umgekehrt wie zunächst vermutet.

Und da hdb = hd0 und sda = hd1

Code:
title Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1
müsste das für Vista passen.

Wo allerdings die Startdateien für XP liegen sollen, ist mir immer noch ein Rätsel, wenn sda1 eine erweiterte Partition ist.

Entweder liegen die auch auf hdb1 oder das XP ist schonmal fachgerecht geplättet worden.

Versuchen kann man das hier:

Code:
title Windows XP
rootnoverify (hd1,4)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
Greetz,

RM
 
Also Vista läuft wieder ,danke nur xp net is aber net so wild .. ein M$ betriebssystem pro rechner reicht .. danke an alle :)
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

X startet nichtmehr

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

NagiosGrapher 1.7.1 funktioniert nicht

Windows clients können nicht mehr auf lange laufendes System zugreifen

Zurück
Oben