This question already has an answer here:
I am trying to cross-compile a 64 bit kernel for a raspberry pi image (raspian). So far everything has worked up to mounting the raspbian image. I running my ubuntu through VM player. Im following this guide: https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/
this is the current errors i keep getting. I cant seem to figure out what the issue is. Any help would be much appreciated.
ivan@ubuntu:~$ sudo fdisk -l 2018-11-13-raspbian-stretch-lite.img Disk 2018-11-13-raspbian-stretch-lite.img: 1.8 GiB, 1866465280 bytes, 3645440 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 3645439 3547136 1.7G 83 Linux ivan@ubuntu:~$ sudo mount -o loop,offset=50331648 2016-11-25-raspbian-jessie-lite.img /mnt mount: /mnt: failed to setup loop device for 2016-11-25-raspbian-jessie-lite.img.