LTolledo wrote: ↑Thu Nov 07, 2019 10:19 pmJust to clarify:
The condition stated was observed on an RPi4B-4G with Raspbian Buster Full Desktop system after it was successfully transferred from microSD to USB-SSD using usb-boot. The system is running fine with the rootfs located on the USB-SSD.
prior to the change (still on native microSD boot), any USB device hot-plugged to RPi4B's vacant USB port is auto-mounted in /media/pi
after using usb-boot to transfer the system to USB-SSD, any USB drive hot-plugged to any USB port is not auto-mounted
however, any USB drive plugged to RPi4B's USB before bootup, the USB drive is always auto-mounted.
so...when running the usb-boot script, was there modification in the system setting that prevents a successfully transferred system from auto-mounting any hot-plugged drives?
if there is... would like to undo that setting myself, to re-enable hot-plugging on a successfully transferred system.
if none... will look at something else....
Code: Select all
if [ -b /dev/mmcblk0 ]; then
USESDC=TRUE
else
USESDC=[b]FLASE[/b]
fi
iznobe wrote: ↑Fri Nov 08, 2019 9:24 ami notice that there is a minor error in your code , about line 101 :Code: Select all
if [ -b /dev/mmcblk0 ]; then USESDC=TRUE else USESDC=[b]FLASE[/b] fi
Just an update...
What to do with the files to boot. That is the mail problem.RonR wrote: ↑Sat Dec 09, 2017 9:15 pmYour problem is not related to the usb-boot script provided in this topic.
raspi-config does not know how to resize Raspbian when it's running from a USB drive, regardess of the method used to put Raspbian on a USB drive.
The attached fix-rc archive (https://www.raspberrypi.org/forums/down ... p?id=19959) contains two solutions to this problem:
1. raspi-config-usb makes a temporary copy of raspi-config, patches it to work, runs the temporary copy, then deletes the temporary copy.
2. patch-rc copies raspi-config to raspi-config-original and patches raspi-config to work.
arasuk wrote: ↑Sun Nov 17, 2019 4:19 pmWhat to do with the files to boot. That is the mail problem.RonR wrote: ↑Sat Dec 09, 2017 9:15 pmYour problem is not related to the usb-boot script provided in this topic.
raspi-config does not know how to resize Raspbian when it's running from a USB drive, regardess of the method used to put Raspbian on a USB drive.
The attached fix-rc archive (https://www.raspberrypi.org/forums/down ... p?id=19959) contains two solutions to this problem:
1. raspi-config-usb makes a temporary copy of raspi-config, patches it to work, runs the temporary copy, then deletes the temporary copy.
2. patch-rc copies raspi-config to raspi-config-original and patches raspi-config to work.
If you can kindly elaborate, that would be fine.. My Raspbian is not booting.