Swap / Grub

Sieht doch in Ordnung aus, bis auf die Warnung mit XFS, die dich ja sowieso nicht betreffen sollte, ist es doch durchgelaufen. Ich habe allerdings keine Ahnung, ob dabei deine alten Files in /boot/grub angepasst wurden, deshalb würde ich dir empfehlen, den ganzen Ordner (diesmal richtig :) ) zu löschen, und dann nochmal eine grub-install zu machen.

Dein Fehler dabei war, dass du die Reihenfolge nicht beachtet hast.

Code:
su
mkdir /ubuntu
mount -t reiserfs /dev/hda8 /ubuntu
mount -t reiserfs /dev/hda7 /ubuntu/boot
mount -t none /proc /ubuntu/proc -o bind
mount -t none /dev /ubuntu/dev -o bind
rm -rf /ubuntu/boot/grub
chroot /ubuntu
cp /proc/mounts /etc/mtab
grub-install --root-directory=/boot /dev/hda
update-grub

Die device.list war in Ordnung, so wie sie ist, den Rest sollte er selber vernünftig anlegen. Die fstab hat mit dem Installlieren von Grub nicht viel zu tun, aber zumindest die Einträge für hda7 und hda8 sehen in Ordnung aus. Den Rest kann ich mangels Kenntnis deines Systems nicht beurteilen.

//Edit: Fehler im Codeblock angepasst
 
Hmm..

ich habe Mal die Konsole neu gestartet, Linux fragt mich immer sowas:
Code:
knoppix@0[knoppix]$ su
root@0[knoppix]# rm -r /ubuntu/boot/grub
rm: in Verzeichnis ,,/ubuntu/boot/grub" absteigen?
root@0[knoppix]#
.

wenn ich dann ENTER eingebe, kommt keine Meldung.

kann ich nicht einfach - ohne mount - die puren Ordner löschen?

also zum Bleistift sowas:

su oder sudo
del /dev/hda7/grub
del /dev/hda7/boot
del /dev/hda7/grub_backupt
del /dev/hda8/boot/grub
del /dev/hda8/boot/boot
del /dev/hda8/boot/grub_backup

und dann würde mit grub-install doch der grub-Ordner inkl. Inhalt neu und korrekt nach /dev/hda7 erstellt werden, oder?

was ist eigentlich mit den übergeordneten Dateien, direkt im /boot-Ordner - können die so bleiben wie sie sind?
 
Ah, sorry, mein Fehler. Probier es mal mit "rm -rf /ubuntu/boot/grub" oder "rm -R /ubuntu/boot/grub". Ich passe auch gleichmal meinen Beitrag oben entsprechend an.

/boot darfst du keinesfalls mit löschen, weil dort essenzielle Dinge wie Kernel oder initrd liegen, ohne die erstmal Feierabend wäre. Und du kannst normalerweise nur etwas auf Paritionen in gemountetem Zustand verändern oder auch nur lesen, nicht auf dem Device.
 
Du kannst nicht einfach von einem Device loeschen. Aktionen wie

rm /device/datei

sind daher unsinnnig. Es muss immer sein

rm /mountpoint/zu/loeschende/datei

Edit: Da war jemand schneller. :)
 
Oki,

mit -rf haut es hin.

ich habe nun den grub-install...-Befehl eingegeben; nun hat Linux den boot-Ordner doppelt. aber ich denke, dass es trotzdem funktionierren wird, weil es sich bestimmt merkt, was es da macht.

ich muss die Datei menu.lst nun wohl nur noch von
/dev/hda7/boot/grub_backup bzw. /ubuntu/boot/grub_backup
nach /dev/hda7/boot/boot/grub bzw. /ubuntu/boot/boot/grub kriegen.

mit cp will es nicht irgendwie nicht hinhauen. kann mir da jemand einen Befehl schreiben?
 
Es wird doch eine neue menu.lst erstellt. Ich würde die alte da ganz rauslassen und lieber noch ein paar Einträge per Hand hinzufügen, wenn dir da noch etwas fehlen sollte.

Und was meinst du mit "nun hat Linux den boot-Ordner doppelt"? Der darf nur einfach da sein, und zwar direkt auf der rootparition hda8. Woanderes gehört der wirklich nicht hin.

//Edit: Oder meinst du das /boot von Knoppix? Dann wäre einmal ein /boot vorhanden, und einmal ein /ubuntu/boot. Das würde dann schon in Ordnung gehen.
 
Nene,

wie geschrieben, Linux hat nun "/ubuntu/boot/boot/grub" erstellt. also ein /boot zuviel (:

und es ist keine menu.lst drin - wirklich nicht (;
 
Ist vielleicht beim Mounten etwas schief gelaufen? Mach mal in der chroot-Umgebung ein "cat /proc/mounts" und poste die Ausgabe bitte hier. Und wenn du ebenfalls in der chroot ein "update-grub" machst, sollte die menu.lst eigentlich erstellt werden (auch davon bitte mal die Ausgabe posten).
 
Ups,

hatte wohl update-grub vergessen ^^

nun hat es die neue menu.lst in den standardmässig geplanten grub-Ordner gesteckt. eigenartig.
Code:
root@0[knoppix]# mkdir /ubuntu
mkdir: kann Verzeichnis ,,/ubuntu" nicht anlegen: Die Datei existiert bereits
root@0[knoppix]# mount -t reiserfs /dev/hda8 /ubuntu
mount: /dev/hda8 ist bereits eingehängt oder /ubuntu wird gerade benutzt
mount: Laut mtab ist /UNIONFS/dev/hda8 schon auf /ubuntu eingehängt
root@0[knoppix]# mount -t reiserfs /dev/hda7 /ubuntu/boot
mount: /dev/hda7 ist bereits eingehängt oder /ubuntu/boot wird gerade benutzt
mount: Laut mtab ist /UNIONFS/dev/hda7 schon auf /ubuntu/boot eingehängt
root@0[knoppix]# mount -t none /proc /ubuntu/proc -o bind
root@0[knoppix]# mount -t none /dev /ubuntu/dev -o bind
root@0[knoppix]# chroot /ubuntu
root@Knoppix:/# cp /proc/mounts /etc/mtab
root@Knoppix:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ...

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.15-23-386
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

root@Knoppix:/# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old / ext2 rw 0 0
/proc /proc proc rw,nodiratime 0 0
/sys /sys sysfs rw 0 0
/dev/hdc /cdrom iso9660 ro 0 0
/dev/cloop /KNOPPIX iso9660 ro 0 0
/dev/cloop2 /KNOPPIX2 iso9660 ro 0 0
/ramdisk /ramdisk tmpfs rw 0 0
/UNIONFS /UNIONFS unionfs rw,dirs=/ramdisk=rw:/KNOPPIX=ro:/KNOPPIX2=ro,debug=0,delete=whiteout,copyup=preserve 0 0
/dev/pts /UNIONFS/dev/pts devpts rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
automount(pid2444) /mnt/auto autofs rw 0 0
/dev/hda8 / reiserfs rw 0 0
/dev/hda7 /boot reiserfs rw 0 0
/proc /proc proc rw,nodiratime 0 0
/UNIONFS /dev unionfs rw,dirs=/ramdisk=rw:/KNOPPIX=ro:/KNOPPIX2=ro,debug=0,delete=whiteout,copyup=preserve 0 0
/dev/hda5 /mnt/hda5 ntfs ro,nosuid,nodev,uid=1000,gid=1000,umask=00,nls=iso8859-1,errors=continue,mft_zone_multiplier=1 0 0
/dev/hda6 /mnt/hda6 vfat ro,nodiratime,nosuid,nodev,uid=1000,gid=1000,fmask=0000,dmask=0000,codepage=cp437,iocharset=iso8859-1 0 0
/dev/hda10 /mnt/hda10 reiserfs rw,nosuid,nodev 0 0
/proc /proc proc rw,nodiratime 0 0
/UNIONFS /dev unionfs rw,dirs=/ramdisk=rw:/KNOPPIX=ro:/KNOPPIX2=ro,debug=0,delete=whiteout,copyup=preserve 0 0
root@Knoppix:/#
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/.

## 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=/dev/hda8 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

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

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

## 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.15-23-386
root		(hd0,0)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro quiet splash
initrd		/initrd.img-2.6.15-23-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro single
initrd		/initrd.img-2.6.15-23-386
boot

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

### END DEBIAN AUTOMAGIC KERNELS LIST

ich muss wohl noch XP wieder reinschreiben...
 
Lass mal sehen, was in den beiden boot-Ordnern drin ist. Mach mal in der chroot "ls /boot", "ls /boot/boot" und ein "ls /boot/grub" oder "ls /boot/boot/grub", je nachdem, wo der blöde grub-Ordner denn jetzt gelandet ist. Die Ausgabe wie immer hierher. Achja, und du solltest in der menu.lst noch ein paar Dinge verändern.

Aus

Code:
# groot=(hd0,0)

Mach mal ein

Code:
# groot=(hd0,6)

Gefolgt von einem "update-grub" in der chroot. Ansonsten würde ich noch die doppelten boot-Ordner anpassen, und das sollte es eigentlich gewesen sein. Den Eintrag für XP kannst du übrigens aus deinem Backup der alten menu.lst übernehmen, wenn sich auch dafür nicht die Parition verschoben hat.
 
Dubidu..

Code:
root@Knoppix:/# ls /boot
System.map-2.6.15-23-386  config-2.6.15-23-386  initrd.img-2.6.15-23-386
abi-2.6.15-23-386         grub                  memtest86+.bin
boot                      grub_backup           vmlinuz-2.6.15-23-386
root@Knoppix:/# ls /boot/boot
grub
root@Knoppix:/# ls /boot/grub
menu.lst
root@Knoppix:/# ls /boot/boot/grub
default     e2fs_stage1_5  jfs_stage1_5    reiserfs_stage1_5  stage2
device.map  fat_stage1_5   minix_stage1_5  stage1             xfs_stage1_5
root@Knoppix:/# nano
root@Knoppix:/# nano /ubuntu/boot/grub/menu.lst
root@Knoppix:/# nano /dev/hda7/boot/grub/menu.lst
root@Knoppix:/# nano /boot/grub/menu.lst
root@Knoppix:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.15-23-386
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

root@Knoppix:/#

hat wohl geklappt. ich habe aus 0,0 0,6 gemacht und durch das update hat er die Linux-Einträge auch auf 0,6 gestuft. allerdings habe ich zuvor

Code:
title           Micro$oft Windows XP "Professional"
root            (hd0,0)
savedefault
makeactive
chainloader     +1

hinzugefügt, dass ist durch das update wieder verloren gegangen. neben der menu.lst ist noch eine Sicherungsdatei angefertigt worden - da ist der XP-Eintrag noch enthalten.

aktuelle 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/.

## 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=/dev/hda8 ro

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

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

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

## 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.15-23-386
root		(hd0,6)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro quiet splash
initrd		/initrd.img-2.6.15-23-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root		(hd0,6)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro single
initrd		/initrd.img-2.6.15-23-386
boot

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

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Das mit dem doppelten /boot ist seltsam, aber das verschieben wir kurzerhand mal. Zunächst mach mal in der chroot ein

Code:
mv /boot/grub/menu.lst /boot/boot/grub
rm -rf /boot/grub
mv /boot/boot/grub /boot/grub
rm -rf /boot/boot

Dann kannst du den Eintrag für XP nochmal setzen, aber an anderer Stelle als gerade eben. Such mal die Zeile

Code:
### BEGIN AUTOMAGIC KERNELS LIST
Davor setzt du jetzt deinen Eintrag für Win und machst danach in der chroot wieder ein "update-grub", das dir den oben stehenden Eintrag nochmal in die Liste der Kernel schreiben sollte. Ich hoffe das passt jetzt wegen den verschobenen Pfaden, aber so gehört es sich eigentlich.
 
Der Anfang klappte, aber das mit XP wohl nicht. habe ich es an falscher Stelle gesetzt?

Code:
root@1[knoppix]# chroot /ubuntu
root@Knoppix:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.15-23-386
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

root@Knoppix:/#

...

# kernel	/vmlinuz root=/dev/hda2 ro
#

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

title		Micro$oft Windows XP "Professional"
root		(hd0,0)
savedefault
makeactive
chainloader	+1

### 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
 
Na gut, dann eben anderes. Setze die fünf Zeilen mal ganz an das Ende der menu.lst, vor allem aber nach dem Eintrag ### END AUTOMAGIC KERNELS LIST. Dann wie gehabt in der chroot ein "update-grub".

Du kannst ja jetzt schonmal einen Reboot probieren. Eigentlich sollte jetzt wieder alles normal laufen.
 
Ging nicht /:

Code:
root@Knoppix:/# nano /boot/grub/menu.lst
root@Knoppix:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.15-23-386
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

root@Knoppix:/#
                  


### END DEBIAN AUTOMAGIC KERNELS LIST

title		Micro$oft Windows XP "Professional"
root		(hd0,0)
savedefault
makeactive
chainloader	+1

ich versuche Mal, Xubuntu zu starten...
 
Das mit dem Win-Eintrag sollte so schon passen; der taucht afaik nicht mehr an anderer Stelle der menu.lst auf. sollte aber trotzdem im Grubmenü selber drin sein.
 
Error 15 >.<



/edit:

ich hatte vor dem Neustart den XP-Dialog wieder nach oben verschoben, weil ich dachte, dass es vielleicht mit '$' Komplikationen gäbe. nun komme ich nicht mehr in die chroot-Umgebung.
Code:
knoppix@0[knoppix]$ su
root@0[knoppix]# mkdir /ubuntu
root@0[knoppix]# mount -t reiserfs /dev/hda8 /ubuntu
mount: /dev/hda8 ist bereits eingehängt oder /ubuntu wird gerade benutzt
root@0[knoppix]# ount -t reiserfs /dev/hda7 /ubuntu/boot
bash: ount: command not found
root@0[knoppix]# mount -t reiserfs /dev/hda7 /ubuntu/boot
mount: Einhängepunkt /ubuntu/boot existiert nicht
root@0[knoppix]# mount -t none /proc /ubuntu/proc -o bind
mount: Einhängepunkt /ubuntu/proc existiert nicht
root@0[knoppix]# mount -t none /dev /ubuntu/dev -o bind
mount: Einhängepunkt /ubuntu/dev existiert nicht
root@0[knoppix]# chroot /ubuntu
chroot: cannot run command `/bin/bash': No such file or directory
 
Liegt wohl daran, dass die Einträge für die Kernel in der menu.lst nicht mit den Kerneln in /boot übereinstimmen.

Poste bitte nochmal die komplette menu.lst, sowie in der chroot nochmals ein "ls /boot". Es kann sein, dass der Fehler schon durch ein "grub-update" behoben wird. Du kannst ja selber nochmal die Einträge vergleichen und probieren, das hinzukriegen. Ich melde mich erst morgen wieder, wenn sich bis dahin niemand anderes erbarmt. Habe heute Nacht leider mal wieder viel zu kurz geschlafen und stehe gerade fünf Minuten davor, auf der Tastatur einzuschlafen.

Ich sehe morgen dann nochmal drüber.
 
=(

das mit
Code:
knoppix@0[knoppix]$ su
root@0[knoppix]# mkdir /ubuntu
mkdir: kann Verzeichnis ,,/ubuntu" nicht anlegen: Die Datei existiert bereits
root@0[knoppix]# mount -t reiserfs /dev/hda8 /ubuntu
mount: /dev/hda8 ist bereits eingehängt oder /ubuntu wird gerade benutzt
root@0[knoppix]# ount -t reiserfs /dev/hda7 /ubuntu/boot
bash: ount: command not found
root@0[knoppix]# mount -t reiserfs /dev/hda7 /ubuntu/boot
mount: /dev/hda7 ist bereits eingehängt oder /ubuntu/boot wird gerade benutzt
root@0[knoppix]# mount -t none /proc /ubuntu/proc -o bind
mount: Einhängepunkt /ubuntu/proc existiert nicht
root@0[knoppix]# mount -t none /dev /ubuntu/dev -o bind
mount: Einhängepunkt /ubuntu/dev existiert nicht
root@0[knoppix]# chroot /ubuntu
chroot: cannot run command `/bin/bash': No such file or directory
root@0[knoppix]#
klappt nicht mehr.

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/.

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

title           MicroSoft Windows XP Professional
root            (hd0,0)
savedefault
makeactive
chainloader     +1

### 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=/dev/hda8 ro

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

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

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

## 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.15-23-386
root		(hd0,6)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro quiet splash
initrd		/initrd.img-2.6.15-23-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root		(hd0,6)
kernel		/vmlinuz-2.6.15-23-386 root=/dev/hda8 ro single
initrd		/initrd.img-2.6.15-23-386
boot

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

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Das das mit dem mounten nicht klappt, wundert mich nicht, wenn du statt "mount" "ount" schreibst. Wenn irgendwas nicht klappt musst du immer genauer auf die Ausgabe achten, meistens ist dort schon ein Hinweis, was schief gelaufen ist.

Die in der menu.lst eingetragenen Kernel stimmen soweit mit denen ein, die du weiter oben unter /boot gelistet hast, das sollte also nicht das Problem sein, sowenig wie die Pfade in der Datei. Ich denke viel eher, dass es damit zusammenhängt, dass wir einige Files per Hand verschoben haben und diese nun an anderer Stelle noch erwartet werden.

Wann genau kommt denn die Fehlermeldung? Genau, wenn beim Neustarten das Grubmenü auftachen sollte oder siehst du das Menü schon, und der Fehler passiert wenn du einen Kernel booten möchtest? Und gib bitte auch mal die gesamte Fehlermeldung an, da muss doch noch mehr kommen als das von dir beschriebene.
 
Zurück
Oben