ubuntuusers.de

mount

Datum:
3. November 2013 19:44
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
 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
104
105
106
107
108
109
110
111
112
113
114
115
ubuntu-gnome@ubuntu-gnome:~$ sudo mount /dev/sda5 /mnt
ubuntu-gnome@ubuntu-gnome:~$ sudo mount /dev/sda3 /mnt/boot
ubuntu-gnome@ubuntu-gnome:~$ sudo mount /dev/sda1 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist
ubuntu-gnome@ubuntu-gnome:~$ sudo mkdir /mnt/boot/efi
ubuntu-gnome@ubuntu-gnome:~$ sudo mount /dev/sda1 /mnt/boot/efi
ubuntu-gnome@ubuntu-gnome:~$ sudo mount -o bind /dev /mnt/dev
ubuntu-gnome@ubuntu-gnome:~$ sudo mount -o bind /sys /mnt/sys
ubuntu-gnome@ubuntu-gnome:~$ sudo mount -t proc /proc /mnt/proc
ubuntu-gnome@ubuntu-gnome:~$ sudo cp /proc/mounts /mnt/etc/mtab
ubuntu-gnome@ubuntu-gnome:~$ sudo chroot /mnt /bin/bash
root@ubuntu-gnome:/# grub-install /dev/sda
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0002,0005,0003,0004,0000,0001
Boot0000* Hard Drive
Boot0001* CD/DVD Drive
Boot0003* usb
Boot0004* usb
Boot0005* UEFI: USB Flash Disk 1100
Boot0002* ubuntu
Installation finished. No error reported.
root@ubuntu-gnome:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
done
root@ubuntu-gnome:/# exit
ubuntu-gnome@ubuntu-gnome:~$ 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/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
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)
none on /sys/firmware/efi/efivars type efivarfs (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)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu-gnome)
/dev/sda3 on /media/ubuntu-gnome/BOOT type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda5 on /media/ubuntu-gnome/ROOT type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda5 on /mnt type ext4 (rw)
/dev/sda3 on /mnt/boot type ext4 (rw)
/dev/sda2 on /media/ubuntu-gnome/OS type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda1 on /mnt/boot/efi type vfat (rw)
/dev on /mnt/dev type none (rw,bind)
/sys on /mnt/sys type none (rw,bind)
/proc on /mnt/proc type proc (rw)
/dev/sda7 on /media/ubuntu-gnome/HOME type ext4 (rw,nosuid,nodev,uhelper=udisks2)
ubuntu-gnome@ubuntu-gnome:~$ 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/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
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)
none on /sys/firmware/efi/efivars type efivarfs (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)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu-gnome)
/dev/sda3 on /media/ubuntu-gnome/BOOT type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda5 on /media/ubuntu-gnome/ROOT type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda5 on /mnt type ext4 (rw)
/dev/sda3 on /mnt/boot type ext4 (rw)
/dev/sda1 on /mnt/boot/efi type vfat (rw)
/dev on /mnt/dev type none (rw,bind)
/sys on /mnt/sys type none (rw,bind)
/proc on /mnt/proc type proc (rw)
/dev/sda7 on /media/ubuntu-gnome/HOME type ext4 (rw,nosuid,nodev,uhelper=udisks2)
ubuntu-gnome@ubuntu-gnome:~$ sudo chroot /mnt /bin/bash
root@ubuntu-gnome:/# grub-install /dev/sda
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0003,0004,0000,0001
Boot0000* Hard Drive
Boot0001* CD/DVD Drive
Boot0003* usb
Boot0004* usb
Boot0005* UEFI: USB Flash Disk 1100
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0002,0005,0003,0004,0000,0001
Boot0000* Hard Drive
Boot0001* CD/DVD Drive
Boot0003* usb
Boot0004* usb
Boot0005* UEFI: USB Flash Disk 1100
Boot0002* ubuntu
Installation finished. No error reported.
root@ubuntu-gnome:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
done
root@ubuntu-gnome:/#