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.

chroot

Datum:
10. November 2013 16:08
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
35
36
37
38
39
kubuntu@kubuntu:~$ sudo mount /dev/sda2 /mnt                                                                                                                                                              
kubuntu@kubuntu:~$ sudo mount /dev/sda1 /mnt/boot/efi                                                                                                                                                     
kubuntu@kubuntu:~$ sudo mount -o bind /dev /mnt/dev                                                                                                                                                       
kubuntu@kubuntu:~$ sudo mount -o bind /sys /mnt/sys                                                                                                                                                       
kubuntu@kubuntu:~$ sudo mount -t proc /proc /mnt/proc                                                                                                                                                     
kubuntu@kubuntu:~$ sudo cp /proc/mounts /mnt/etc/mtab
kubuntu@kubuntu:~$ sudo chroot /mnt /bin/bash                                                                                                                                                             
root@kubuntu:/# grub-install /dev/sda
** Warning ** : Boot0000 has same label kubuntu
** Warning ** : Boot0001 has same label kubuntu
** Warning ** : Boot0002 has same label kubuntu
** Warning ** : Boot0003 has same label kubuntu
** Warning ** : Boot0004 has same label kubuntu
** Warning ** : Boot0005 has same label kubuntu
** Warning ** : Boot0006 has same label kubuntu
** Warning ** : Boot0009 has same label kubuntu
** Warning ** : Boot000A has same label kubuntu
BootCurrent: 000B
Timeout: 2 seconds
BootOrder: 000C,0009,000A,0006,0003,0002,0004,0005,0001,0000,000B,0007,0008
Boot0000* kubuntu
Boot0001* kubuntu
Boot0002* kubuntu
Boot0003* kubuntu
Boot0004* kubuntu
Boot0005* kubuntu
Boot0006* kubuntu
Boot0007* CD/DVD Drive 
Boot0008* Hard Drive 
Boot0009* kubuntu
Boot000A* kubuntu
Boot000B* UEFI: TSSTcorp CDDVDW SH-224DB
Boot000C* kubuntu
Installation finished. No error reported.
root@kubuntu:/# update-grub
Generating grub.cfg ...
done
root@kubuntu:/# exit
kubuntu@kubuntu:~$