Ive noticed a really annoying behaviour in Ubuntu: whenever I restart or shutdown the PC from a Live session, the USB stick becomes unavaliable when it reboots/turns on (as if the "safe removal" feature from windows was used)
Ive noticed this in 10.04, 10.10, 11.04, and even Linux Mint 10 and 11. Also happens with all USB sticks Ive tried (like 4 different models), in all machines (tested in like 5). So I think this is rather a feature than a bug/hardware issue.
But its really annoying. After playing in a Live Session, i must physically unplug-and-replug the USB stick so it works again.
Is there any way to disable this behaviour? So I can reboot my PC and use the Live Session again without unplugging and replugging the USB stick?
For those who might be interested, I've found the culprit: When you shutdown a live session, Ubuntu ejects its media. for an USB stick, this means powering down the USB port.
A workaround is to edit
/boot/grub/grub.cfg
, and change the line:to add the parameter
noeject
(noprompt
is also useful, so it does not ask for ENTER to eject CD when shutting down)Like this:
Presto :D