Da ich davon ausgegangen bin, daß ich die Informationen direkt von der Festplatte auslesen kann, bin ich mit Knoppix an die Sache heran gegangen, schon allein weil die deutlich schneller bootet und mir in der Bedienung sehr viel vertrauter ist.
Die chroot-Geschichte war mir nicht klar.
Das habe ich gemacht, bitte noch mal drüber sehen, da ich keine Rückmeldung erhalten habe, ob das auch alles tatsächlich geschehen ist.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt
ubuntu@ubuntu:~$ sudo mount -o bind /dev /mnt/dev
ubuntu@ubuntu:~$ sudo mount -o bind /sys /mnt/sys
ubuntu@ubuntu:~$ sudo mount -t proc /proc /mnt/proc
ubuntu@ubuntu:~$ sudo cp /mnt/proc/mounts /mnt/etc/mtab
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
root@ubuntu:/#
Dann kam Folgendes
root@ubuntu:/# sudo fdisk -l
Platte /dev/sda: 320.1 GByte, 320072933376 Byte
255 Köpfe, 63 Sektoren/Spur, 38913 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00083a00
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 3264 26218048+ 83 Linux
/dev/sda2 3265 3604 2731050 82 Linux Swap / Solaris
/dev/sda3 3605 38913 283619542+ 83 Linux
Platte /dev/sdb: 16.2 GByte, 16173236224 Byte
255 Köpfe, 63 Sektoren/Spur, 1966 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04dd5721
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 1967 15794144+ c W95 FAT32 (LBA)
und das
root@ubuntu:/# sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="7cd231db-1966-42c2-9bfb-a7706cf6f794" TYPE="ext4"
/dev/sda2: LABEL="swap" UUID="c854f645-277c-4286-99c7-b975745b1896" TYPE="swap"
/dev/sda3: UUID="8b34fc74-0360-4251-9f07-7bfadac1987b" TYPE="ext4"
/dev/sdb1: LABEL="CORSAIR" UUID="BCDD-9608" TYPE="vfat"
gefolgt von dem...
root@ubuntu:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=7cd231db-1966-42c2-9bfb-a7706cf6f794 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=8b34fc74-0360-4251-9f07-7bfadac1987b /home ext4 defaults 0 2
# swap was on /dev/sda2 during installation
UUID=c854f645-277c-4286-99c7-b975745b1896 none swap sw 0 0
...und dem
root@ubuntu:/# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
set locale_dir=($root)/boot/grub/locale
set lang=de
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=7cd231db-1966-42c2-9bfb-a7706cf6f794 ro quiet splash
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
echo 'Loading Linux 2.6.35-24-generic-pae ...'
linux /boot/vmlinuz-2.6.35-24-generic-pae root=UUID=7cd231db-1966-42c2-9bfb-a7706cf6f794 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic-pae
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 7cd231db-1966-42c2-9bfb-a7706cf6f794
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Ich werd da leider noch nicht draus schlau, das einzige was ich dem glaube entnehmen zu können ist, daß die UUID doch scheinbar in allen Dateien korrekt erscheint.