Botspot / vdesktop

Run a second instance of Raspbian inside Raspbian.
GNU General Public License v3.0
125 stars 21 forks source link

won't boot from micro sd card with usb 3 reader #20

Closed Itai-Nelken closed 3 years ago

Itai-Nelken commented 3 years ago

here is the terminal output

sudo vdesktop /dev/sdb/ gui
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: yes
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS: 

Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
No such file or directory. Check spelling and try again.
Available devices:
PATH         MODEL              SIZE
/dev/loop0                     45.8M
/dev/loop1                     62.1M
/dev/loop2                       48M
/dev/loop3                    209.6M
/dev/sdb     USB3.0_CRW-SD_MS  29.7G
/dev/mmcblk0                   29.7G
find: ‘/root/Downloads’: No such file or directory

Boot a .img file: vdesktop /home/pi/2020-08-20-raspios-buster-armhf.img
Boot a usb drive: vdesktop /dev/sda
Boot a directory: vdesktop /home/pi/raspbian-stretch/

A second word specifies the boot mode: cli, cli-login, and gui.
Hold on...
Cleaning up...
umount: /media/pi/vdesktop/boot: no mount point specified.
umount: /media/pi/vdesktop: not mounted.
Almost done...
Done!

pi@twisterpi4:~ $ 
Botspot commented 3 years ago

Try removing the trailing slash. From /dev/sdb/ to /dev/sdb.

Itai-Nelken commented 3 years ago

thanks. it fixed it. but it did boot that way earlier today

Botspot commented 3 years ago

but it did boot that way earlier today

Hmm. I'll have to look back at the code, but AFAIK, this is an issue that occurs in 100% of cases. It's an easy fix to implement though, so I may decide to take care of it.