ubuntuusers.de

🚧 Am Sonntag, 5. Mai, werden ab 16 Uhr die Server aktualisiert und eine neue Inyoka-Version veröffentlicht. Das Portal wird mehrmals nicht verfügbar sein.

Grub

Datum:
13. August 2013 17:45
Code:
 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
ubuntu@ubuntu:~$ sudo su /
No passwd entry for user '/'
ubuntu@ubuntu:~$ sudo su -
root@ubuntu:~# blkid 
/dev/loop0: TYPE="squashfs" 
/dev/sda1: UUID="965A-CD79" TYPE="vfat" 
/dev/sda3: UUID="3C4C5F254C5ED8EA" TYPE="ntfs" 
/dev/sda4: UUID="01081548-a0ed-4504-a787-6784f5137236" TYPE="swap" 
/dev/sda5: UUID="00f9bf5f-2fde-49ea-a726-92c2f70f462a" TYPE="ext4" 
/dev/sdb1: LABEL="Volume" UUID="01CE183802813360" TYPE="ntfs" 
/dev/sdc2: LABEL="Programme" UUID="F83EA4893EA4428C" TYPE="ntfs" 
/dev/sdd: LABEL="MULTIBOOT" UUID="1A17-2836" TYPE="vfat" 
root@ubuntu:~# ^C
root@ubuntu:~# mount /dev/sda5 /mnt/boot/efi 
mount: mount point /mnt/boot/efi does not exist
root@ubuntu:~# mount /dev/sda5 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist
root@ubuntu:~# mount /dev/sda5 /mnt/
root@ubuntu:~# mount /dev/sda1 /mnt/boot/efi
root@ubuntu:~# for i in dev dev/pts proc sys sys/firmware; do mount --bind /$i /mnt/$i; done
root@ubuntu:~# chroot /mnt 
root@ubuntu:/# update-grub 
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-27-generic
Found initrd image: /boot/initrd.img-3.8.0-27-generic
Found linux image: /boot/vmlinuz-3.8.0-19-generic
Found initrd image: /boot/initrd.img-3.8.0-19-generic
Found Windows 7 (loader) on /dev/sdc2
Adding boot menu entry for EFI firmware configuration
done
root@ubuntu:/# grub-install 
Installation finished. No error reported.