jaak39
October 19th, 2016, 10:40 PM
Hello,
any help with this problem is appreciated.
Delete all Kernels on Kubuntu 16.04, now grub 2 only shows "windwos 10" as an boot-option.
This tips are already tried, but at some point there are erros and progress is halted.
http://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow
http://askubuntu.com/questions/140254/how-to-install-newer-versions-of-the-linux-kernel
http://askubuntu.com/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels
Ubuntu live is started from an usb-device.
When "fdisk -l" is being executed, it displays:
http://www2.pic-upload.de/thumb/31937958/new1.png (http://www.pic-upload.de/view-31937958/new1.png.html)
Disk /dev/sda: 111.8 GiB is where Kubuntu is installed.
Executing "sudo df -h" shows:
http://www2.pic-upload.de/thumb/31937989/new2.png (http://www.pic-upload.de/view-31937989/new2.png.html)
Someone told that " / " is where ther Kernels are in. In this case the filesystem is /cow.
Actually I never heard of /cow and dont know where to find this on the harddisk.
I think "/dev/sda3 is /media/kubuntu/499b0ce6-94c2-44ab-9232-9ca98e93313d/" the 18,6 GiB Hard Drive
/dev/sda3 19G 1.2G 17G 7% /mnt
http://www2.pic-upload.de/thumb/31938190/new3.png (http://www.pic-upload.de/view-31938190/new3.png.html)
So I tried the usual commands found:
sudo mount /dev/sda3 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
Whenever I put "sudo chroot /mnt", the line changes from "kubuntu@kubuntu:~$" to "root@kubuntu:/#".
Additonally it displays "bash: groups: command not found"
So Im stuck and cant use "sudo" "apt-get" etc. (bash: sudo: command not found)
So I really dont know what to do. Why I cant use sudo, what is this "~/.bash_profile" and where I need to install this Kernel.
Id like to install the new 4.8.2.
If I just type "apt-get install linux-image-generic" in the "kubuntu@kubuntu:~$ " -line, it displays at the end "/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'."
:confused: :frown: ](*,)
any help with this problem is appreciated.
Delete all Kernels on Kubuntu 16.04, now grub 2 only shows "windwos 10" as an boot-option.
This tips are already tried, but at some point there are erros and progress is halted.
http://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow
http://askubuntu.com/questions/140254/how-to-install-newer-versions-of-the-linux-kernel
http://askubuntu.com/questions/28099/how-to-restore-a-system-after-accidentally-removing-all-kernels
Ubuntu live is started from an usb-device.
When "fdisk -l" is being executed, it displays:
http://www2.pic-upload.de/thumb/31937958/new1.png (http://www.pic-upload.de/view-31937958/new1.png.html)
Disk /dev/sda: 111.8 GiB is where Kubuntu is installed.
Executing "sudo df -h" shows:
http://www2.pic-upload.de/thumb/31937989/new2.png (http://www.pic-upload.de/view-31937989/new2.png.html)
Someone told that " / " is where ther Kernels are in. In this case the filesystem is /cow.
Actually I never heard of /cow and dont know where to find this on the harddisk.
I think "/dev/sda3 is /media/kubuntu/499b0ce6-94c2-44ab-9232-9ca98e93313d/" the 18,6 GiB Hard Drive
/dev/sda3 19G 1.2G 17G 7% /mnt
http://www2.pic-upload.de/thumb/31938190/new3.png (http://www.pic-upload.de/view-31938190/new3.png.html)
So I tried the usual commands found:
sudo mount /dev/sda3 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
Whenever I put "sudo chroot /mnt", the line changes from "kubuntu@kubuntu:~$" to "root@kubuntu:/#".
Additonally it displays "bash: groups: command not found"
So Im stuck and cant use "sudo" "apt-get" etc. (bash: sudo: command not found)
So I really dont know what to do. Why I cant use sudo, what is this "~/.bash_profile" and where I need to install this Kernel.
Id like to install the new 4.8.2.
If I just type "apt-get install linux-image-generic" in the "kubuntu@kubuntu:~$ " -line, it displays at the end "/usr/sbin/grub-probe: error: failed to get canonical path of `/cow'."
:confused: :frown: ](*,)