Lieber Besucher, herzlich willkommen bei: Ubuntu-Forum & Kubuntu-Forum | www.Ubuntu-Forum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
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 |
ubuntu@ubuntu:~$ sudo fdisk -l Platte /dev/sda: 120.0 GByte, 120034123776 Byte 255 Köpfe, 63 Sektoren/Spur, 14593 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: 0x0003853d Gerät boot. Anfang Ende Blöcke Id System /dev/sda1 * 1 7054 56661223+ 83 Linux /dev/sda2 13995 14594 4805633 5 Erweiterte /dev/sda3 * 7055 13994 55745550 83 Linux /dev/sda5 13995 14594 4805632 82 Linux Swap / Solaris Partitionstabelleneinträge sind nicht in Platten-Reihenfolge Platte /dev/sdb: 120.0 GByte, 120034123776 Byte 255 Köpfe, 63 Sektoren/Spur, 14593 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: 0x0d9bcd4a Gerät boot. Anfang Ende Blöcke Id System /dev/sdb1 1 7304 58664956 7 HPFS/NTFS /dev/sdb2 7304 14594 58552320 7 HPFS/NTFS Platte /dev/sdc: 8019 MByte, 8019509248 Byte 20 Köpfe, 16 Sektoren/Spur, 48947 Zylinder Einheiten = Zylinder von 320 × 512 = 163840 Bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000732ae Gerät boot. Anfang Ende Blöcke Id System /dev/sdc1 * 1 48948 7831512 b W95 FAT32 |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »karoshi« (14.05.2010, 11:31)
Benutzerinformationen überspringen
User
Registrierungsdatum: 19.09.2007
Derivat: Ubuntu
Architektur: 32-Bit PC
Andere Betriebssysteme: Puppy Linux
Zitat
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting/proc on /root/proc failed: No such file or directory
/init: line 271: can`T open /root/dev/console: no such file
[1.9159321] Kernel panic -not syncing: Attempted to kill init
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
ubuntu@ubuntu:~$ sudo mount /dev/sda /mnt mount: /dev/sda ist bereits eingehängt oder /mnt wird gerade benutzt mount: Laut mtab ist /dev/sda1 schon auf /mnt eingehängt ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt/boot ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda Probing devices to guess BIOS drives. This may take a long time. Installing GRUB to /dev/sda as (hd0)... Installation finished. No error reported. This is the contents of the device map /mnt/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »karoshi« (12.05.2010, 19:50)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda Probing devices to guess BIOS drives. This may take a long time. Installing GRUB to /dev/sda as (hd0)... Installation finished. No error reported. This is the contents of the device map /mnt/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc |
Quellcode |
|
1 |
grub> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »karoshi« (12.05.2010, 21:12)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mount: /dev/sda1 ist bereits eingehängt oder /mnt wird gerade benutzt mount: Laut mtab ist /dev/sda1 schon auf /mnt eingehängt ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda Installing GRUB to /dev/sda as (hd0)... Installation finished. No error reported. This is the contents of the device map /mnt/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc |
Zitat
Naja, ich hab noch geschrieben, du sollt sda1 nach /mnt und nicht nach /mnt/boot mounten (so wie vorher die sda3).
Zitat
Und dann machst du es dennoch.
Zitat
sda1 liegt unter /mnt und enthält ein Verzeichnis "boot". Auf dieses mountest du nochmal sda1 -> Statt dem Inhalt von boot ist jetzt dort wieder das root-Verzeichnis deiner Ubuntu-Partition sichtbar.
Und wenn du dir dessen Erstellungsdatum ansiehst, wird es genau die Uhrzeit haben als du das (im Beitrag #7) gemacht hast:Dann gibt es auf der Partition mit Ubuntu noch ein Verzeichnis, dass sich Grub nennt.
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt
ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/boot
Im Wurzelverzeichnis soll es den Grub-Ordner eigentlich gar nicht geben. Da aber die map dort aktueller ist, könntest du sie nach /mnt/boot/grub kopieren. (Sofern sda1 noch auf /mnt gemountet ist.)Aber beide maps sollen den gleichen Inhalt habe, soweit ich das verstanden habe.
Zitat
Jedenfalls brauchst du nur das erste und dritte Kommando. Eigentlich sollte es ja beim letzten Versuch gerade eben schon geklappt haben.
Zitat
Da aber die map dort aktueller ist, könntest du sie nach /mnt/boot/grub kopieren.
Zitat
Eigentlich sollte es ja beim letzten Versuch gerade eben schon geklappt haben.
Quellcode |
|
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 |
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »karoshi« (13.05.2010, 10:33)
Quellcode |
|
1 2 3 4 |
set root=(hd0,1) linux /boot/vmlinuz root=/dev/sda1 ro initrd /boot/initrd boot |
Quellcode |
|
1 |
sudo update-grub |
Benutzerinformationen überspringen
User
Registrierungsdatum: 10.03.2005
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: GNOME 3.0
Andere Betriebssysteme: debian
Quellcode |
|
1 2 3 4 |
mount ls -lt /mnt/boot cat /mnt/boot/grub/device.map egrep -vN '##|^ *$' /mnt/boot/grub/menu.lst |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »floogy« (13.05.2010, 14:28)
Es handelt sich um Grub2:egrep -vN '##|^ *$' /mnt/boot/grub/menu.lst
die menu.lst an (die jetzt anders heisst?)
Man muss sich ziemlich konzentrieren, um den Faden zu halten. Das stimmt. Aber da das System nicht bootet, wird's nicht sehr viel mehr geben. Die mounts im Live-system sagen ja nicht so viel aus.es fehlt ein wenig der Überblick
Benutzerinformationen überspringen
User
Registrierungsdatum: 10.03.2005
Derivat: Ubuntu
Architektur: 64-Bit PC
Desktop: GNOME 3.0
Andere Betriebssysteme: debian
Zitat von »Fredl99«
Es handelt sich um Grub2:
Zitat von »karoshi«
die menu.lst an (die jetzt anders heisst?)
Quellcode |
|
1 |
sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 "%x" "\\n"' X | xargs -n1 -IY sh -c "case "Y" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 oder höher ;; *) echo X: Kein GRUB Y ;; esac"" |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »floogy« (13.05.2010, 15:20)
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien