ubuntuusers.de

Der Befehl update-grub funktioniert nicht.

Status: Ungelöst | Ubuntu-Version: Ubuntu 11.10 (Oneiric Ocelot)
Antworten |

papalapap

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Ich habe, wie hier (http://wiki.ubuntuusers.de/GRUB_2/Problembehebung#Ubuntu-oder-ein-anderes-Betriebssystem-werden-direkt-ohne-Anzeige-des-Auswahlmenues-geladen) beschrieben an der Datei etc/default/grub etwas geaendert, jetzt klappt der Befehl

1
sudo update-grub

nicht. Was kann ich tun

Moderiert von Lasall:

Fragestellung um GRUB ins passende Forum verschoben.

Ubunux

Avatar von Ubunux

Anmeldungsdatum:
12. Juni 2006

Beiträge: 17466

was heisst das genau der Befehl funktioniert nicht?

Bitte beachte Richtig fragen

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Oh sorry, ich habe die Ausgabe vergessen

1
usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

bowman

Avatar von bowman

Anmeldungsdatum:
17. Februar 2010

Beiträge: 7506

Wära ganz interessant, zu wissen, wie und was du vorher überhaupt gemacht hat. 🤓

Solltest du zufällig aus einem Live-System ohne chroot-Umgebung an deiner /etc/default/grub auf der HDD herumgeschraubt haben, dann wäre z.B. diese Meldung kein Wundern 😀

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Was ist eine chroot-umgebung?

Was ich gemacht hab: wie in dem Link oben beschrieben etc/default/grub bearbeitet!

bowman

Avatar von bowman

Anmeldungsdatum:
17. Februar 2010

Beiträge: 7506

  • 1. chroot/Live-CD

  • 2. Was hast du genau gemacht? Die Datei mit root-Rechten (siehe sudo) aus dem laufenden System geöffnet oder was?

Sorry, unsere Glaskugeln sind im Moment alle in der Reinigung und deshalb sind wir auf Informationen angewiesen, die du uns leider noch nicht gegeben hast. 😀

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Ne, da wart ich lieber bis die glaskugeln sauber sind.

Scherz, also

Ich habe in der daatei etc/default/grub den eintrag grub_hidden_timeout=0 auskommentiert (doppelkreuz) davor.

DudeLove

Avatar von DudeLove

Anmeldungsdatum:
16. Dezember 2008

Beiträge: 374

Und das hast du per

gksudo gedit /etc/default/grub

gemacht?

Und dann gespeichert und anschließend

sudo update-grub

ausgeführt und diese Fehlermeldung bekommen?

Denn so müsste es eigentlich klappen. (Gerade versucht, das Xubuntu nimmt das so hin, ohne Fehlermeldung;nur eben mit Leafpad statt gedit)

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Genau so hab ichs gemacht.

Den Artikel ueber chroot und so hab ich ueberhaupt nicht gecheckt, kann mir mal kurz jemand die Befehle geben die ich wann, wo eingeben muss, damits klappt?

diesch Team-Icon

Avatar von diesch

Anmeldungsdatum:
18. Februar 2009

Beiträge: 5072

Wohnort: Brandenburg an der Havel

Zeige bitte mal die Ausgabe von

1
 sudo grub-probe -v -t device /

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Die Ausgabe war a bisl lang, deswegen musste ich sie auf zwei screenshots aufteilen, hier die links: http://www.bilder-hochladen.net/files/jksh-5-e4da-png.html http://www.bilder-hochladen.net/files/big/jksh-6-1679.png

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Ach verdammt die links sind nicht vollstaendig, hoffentlich gehen die hier: bit.ly/Kslc6n bit.ly/Mbmlmj

posti

Anmeldungsdatum:
30. März 2009

Beiträge: 2087

Hi

Auch dieser Link hat nicht geklappt.

Warum Text in Grafik hier einbringen, damit die Leute hier das Zeug selber wieder abtippen müssen?

Was spricht dagegen, die vll. 30 Zeilen hier in einen Code-Block (Symbol Zahnrad auf Papier) rein zu kopieren?

Im Terminal die Ausgabe markieren, hier im Code-Block nur die mittlere Maustaste klicken (oder per rechte Maus kopieren bzw. rechte Maus einfügen).

MfG

diesch Team-Icon

Avatar von diesch

Anmeldungsdatum:
18. Februar 2009

Beiträge: 5072

Wohnort: Brandenburg an der Havel

kannst du mal noch die Ausgabe von

1
mount

und den Inhalt der Datei /etc/fstab zeigen? Benutze möglichst Code Blöcke dafür, das ist tatsächlich einfach zu lesen.

papalapap

(Themenstarter)

Anmeldungsdatum:
14. Mai 2012

Beiträge: 181

Hier die gewuenschten Ausgaben in Codeblocken

sudo grub-probe -v -t device /:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
ubuntu@ubuntu:~$ sudo grub-probe -v -t device /
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos8.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos7.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos6.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos5.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos3.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos8.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos7.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos6.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos5.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos3.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: scanning hd0,msdos8 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos7 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos6 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos5 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos3 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos2 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos1 for LVM.
grub-probe: info: the size of hd0 is 976773168.
grub-probe: info: no LVM signature found.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to v4l.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to usb.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-label.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to bsg.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to char.
grub-probe: info: changing current directory to block.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to mapper.
grub-probe: info: changing current directory to input.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to bus.
grub-probe: info: changing current directory to usb.
grub-probe: info: changing current directory to 002.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to net.
grub-probe: error: cannot find a device for / (is /dev mounted?).

mount:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
ubuntu@ubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
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/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)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
Antworten |