Danke Benno, ich habe meine Versuche dokumentiert, weiß aber nicht, ob ich einen so langen Text hier einblenden darf. Anhängen für eine OpenDocument gibt es wohl nicht. Das ganze ist mir ein bisschen peinlich, zeigt es doch meine endlosen Versuche und meine Ignoranz den Befehlen gegenüber.
Ich versuche es hier und bitte den Administrator, es entsprechend zu verarbeiten.
ubuntu@ubuntu:~$ sudo start gdm
start: Unknown job: gdm
ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ InRelease
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ InRelease
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise InRelease
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Release.gpg
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Release.gpg
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Release
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Release
Fehl http: archive.ubuntu.com precise InRelease
Fehl http: archive.ubuntu.com precise-updates InRelease
Fehl http: security.ubuntu.com precise-security InRelease
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Packages/DiffIndex
Fehl http: archive.ubuntu.com precise Release.gpg
»archive.ubuntu.com« konnte nicht aufgelöst werden
Fehl http: security.ubuntu.com precise-security Release.gpg
»security.ubuntu.com« konnte nicht aufgelöst werden
Fehl http: archive.ubuntu.com precise-updates Release.gpg
»archive.ubuntu.com« konnte nicht aufgelöst werden
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Packages/DiffIndex
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/main TranslationIndex
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/restricted TranslationIndex
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Translation-de_DE
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Translation-de
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/main/binary-i386/ Translation-en
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Translation-de_DE
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Translation-de
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) dists/precise/restricted/binary-i386/ Translation-en
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/main Translation-de_DE
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/main Translation-de
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/main Translation-en
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/restricted Translation-de_DE
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/restricted Translation-de
Ign cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423) precise/restricted Translation-en
Paketlisten werden gelesen... Fertig
W: Fehlschlag beim Holen von http: archive.ubuntu.com/ubuntu/dists/precise
W: Fehlschlag beim Holen von http: security.ubuntu.com/ubuntu/dists/precise-security/InRelease
W: Fehlschlag beim Holen von http: archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease
W: Fehlschlag beim Holen von http: archive.ubuntu.com/ubuntu/dists/precise/Release.gpg »archive.ubuntu.com« konnte nicht aufgelöst werden
W: Fehlschlag beim Holen von http: archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg »archive.ubuntu.com« konnte nicht aufgelöst werden
W: Fehlschlag beim Holen von http: security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg »security.ubuntu.com« konnte nicht aufgelöst werden
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Duplicate sources.list entry cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423)/ precise/main i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120423)_dists_precise_main_binary-i386_Packages)
W: Duplicate sources.list entry cdrom: Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120423)/ precise/restricted i386 Packages (/var/lib/apt/lists/Ubuntu%2012.04%20LTS%20%5fPrecise%20Pangolin%5f%20-%20Release%20amd64%20(20120423)_dists_precise_restricted_binary-i386_Packages)
ubuntu@ubuntu:~$ dpkg --configure -a
dpkg: Fehler: Angeforderte Operation benötigt Superuser-Rechte
ubuntu@ubuntu:~$ sudo dpkg --configure -a
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
ubuntu@ubuntu:~$ apt-get upgrade
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden - open (13: Permission denied)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
ubuntu@ubuntu:~$ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
ubuntu@ubuntu:~$ dfadkjfalkjfäöasdkjf
dfadkjfalkjfäöasdkjf: command not found
ubuntu@ubuntu:~$ sudo mount -o bind /sys mnt/sys
mount: mount point mnt/sys does not exist
ubuntu@ubuntu:~$ sudo chroot /mnt /bin/bash
chroot: failed to run command `/bin/bash': No such file or directory
ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="7A60421D6041E10D" TYPE="ntfs"
/dev/sda2: LABEL="Boot" UUID="4A6E4144CA8FA289" TYPE="ntfs"
/dev/sda3: LABEL="Recover" UUID="BA5291285290EB01" TYPE="ntfs"
/dev/sda4: UUID="C4E01BB7E01BAEA4" TYPE="ntfs"
/dev/sr0: LABEL="Ubuntu 12.04 LTS amd64" TYPE="iso9660"
/dev/sdb1: LABEL="Volume" UUID="2618A78718A75519" TYPE="ntfs"
/dev/sdb2: LABEL="Volume" UUID="FEFC0806FC07B843" TYPE="ntfs"
/dev/sdb5: UUID="ebd0ddea-1dbf-48b9-b7ac-8a34208eb4c0" TYPE="swap"
/dev/sdb6: UUID="849b5c5b-eec8-4f73-bcfb-cf2e6ecfbe13" TYPE="swap"
/dev/sdb7: UUID="a0fd7047-55cd-4b5e-a039-05a43ddd9a2a" TYPE="swap"
/dev/sdb8: UUID="e2496c22-9709-4815-b9b1-e21f973f3e59" TYPE="ext4"
/dev/sdb9: UUID="dead049f-5580-44d5-8ce2-3097fa181c63" TYPE="swap"
ubuntu@ubuntu:~$ sudo parted /dewv/sr0 unit s print
Error: Could not stat device /dewv/sr0 - No such file or directory.
Retry/Cancel?
Retry/Cancel? cancel
ubuntu@ubuntu:~$ sudo parted /dev/sr0 unit s print
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
ubuntu@ubuntu:~$ sudo mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda2 on /media/Boot type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
ubuntu@ubuntu:~$ sudo mount /dev/rs0
mount: can't find /dev/rs0 in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ sudo mkdir
mkdir: missing operand
Try `mkdir --help' for more information.
ubuntu@ubuntu:~$ sudo mkdir /dev/sr0
mkdir: cannot create directory `/dev/sr0': File exists
ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
ubuntu@ubuntu:~$ sudo mkconfig --output=boot/grub/meine.cfg
sudo: mkconfig: command not found
ubuntu@ubuntu:~$ sudo grub-mkconfig --output=/boot/grub/meine.cfg
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
ubuntu@ubuntu:~$ sudo mount /dev/sdb1/boot
mount: can't find /dev/sdb1/boot in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ grub-install /dev/sdb1
cp: cannot create regular file `/boot/grub/915resolution.mod': Permission denied
ubuntu@ubuntu:~$ sudo grub-install /dev/sdb1
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ubuntu@ubuntu:~$ sudo mount /dev/sdb1
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ grub-install --recheck /dev/sdb1
rm: cannot remove `/boot/grub/915resolution.mod': Permission denied
ubuntu@ubuntu:~$ sudo grub-install --recheck /dev/sdb1
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev/ /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sdb1
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.
ubuntu@ubuntu:~$ /dewv/sr0
bash: /dewv/sr0: No such file or directory
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
ubuntu@ubuntu:~$ sudo grub-install --root-direectory=/mnt /dev/sda2
Unrecognized option `--root-direectory=/mnt'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
--boot-directory=DIR install GRUB images under the directory DIR/grub
instead of the /boot/grub directory
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-mkrelpath=FILE use FILE as grub-mkrelpath
--grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
--grub-probe=FILE use FILE as grub-probe
--no-floppy do not probe any floppy drive
--allow-floppy Make the drive also bootable as floppy
(default for fdX devices). May break on some BIOSes.
--recheck probe a device map even if it already exists
--force install even if problems are detected
--disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector.
Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda2
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.
ubuntu@ubuntu:~$ sudo mount -o bind /dev/ /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo start gdm
start: Unknown job: gdm
ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt/boot
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
ubuntu@ubuntu:~$ sudo mount -o bind /dev/ /mnt/dev
mount: mount point /mnt/dev does not exist
ubuntu@ubuntu:~$ sudo grub-install /dev/sda2
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
ubuntu@ubuntu:~$ sudo mount /dev/sda2
mount: /dev/sda2 already mounted or /media/Boot busy
mount: according to mtab, /dev/sda2 is already mounted on /media/Boot
ubuntu@ubuntu:~$ sudo grub-setup -d /media/sda2/boot/grub /dev/sda
grub-setup: error: cannot stat `/media/sda2/boot/grub'.
ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name
7 0 679344 loop0
8 0 1953514584 sda
8 1 102400 sda1
8 2 488281250 sda2
8 3 31457280 sda3
8 4 1048664 sda4
11 0 719692 sr0
8 16 976762584 sdb
8 17 669559808 sdb1
8 18 273437500 sdb2
8 19 1 sdb3
8 21 1433600 sdb5
8 22 4168704 sdb6
8 23 4173824 sdb7
8 24 19804160 sdb8
8 25 4172800 sdb9
ubuntu@ubuntu:~$ sudo blkid -o list -w /dev/null
device fs_type label mount point UUID
------------------------------------------------------------------------------------------------------------------------------------------
/dev/loop0 squashfs /rofs
/dev/sda1 ntfs /media/7A60421D6041E10D 7A60421D6041E10D
/dev/sda2 ntfs Boot /media/Boot 4A6E4144CA8FA289
/dev/sda3 ntfs Recover /media/Recover BA5291285290EB01
/dev/sda4 ntfs (not mounted) C4E01BB7E01BAEA4
/dev/sr0 iso9660 Ubuntu 12.04 LTS amd64 /cdrom
/dev/sdb1 ntfs Volume /mnt 2618A78718A75519
/dev/sdb2 ntfs Volume /media/Volume FEFC0806FC07B843
/dev/sdb5 swap <swap> ebd0ddea-1dbf-48b9-b7ac-8a34208eb4c0
/dev/sdb6 swap <swap> 849b5c5b-eec8-4f73-bcfb-cf2e6ecfbe13
/dev/sdb7 swap <swap> a0fd7047-55cd-4b5e-a039-05a43ddd9a2a
/dev/sdb8 ext4 /media/e2496c22-9709-4815-b9b1-e21f973f3e59 e2496c22-9709-4815-b9b1-e21f973f3e59
/dev/sdb9 swap <swap> dead049f-5580-44d5-8ce2-3097fa181c63
ubuntu@ubuntu:~$
Es würde mich freuen, wenn du das interpretieren und mir weiterhelfen könntest.
Vielen Dank und beste Grüße,
Mongold
Ach du meine Güte, wie sieht denn diese Formatierung aus. Zuerst hat der doppelte backslash ja neue Zeile hervorgebracht und dann ganz bunt. Aber letztlich kommt es ja auf den Inhalt an, oder?
Bearbeitet von tomtomtom:
Codeblock eingefügt. Höre auf den Mod zu ärgern und versuche wenigstens die Forensyntax sinnvoll einzusetzen.