Rexx Magnus |
06-11-2013 11:14 AM |
Bootable (portable) SD card - system updates add fixed disks to grub
I've created an encrypted bootable SD card that I can take anywhere. I have a problem when running the updates on it - often grub will redetect any fixed disks in the computer and add those to the boot menu. Sometimes it actually updates grub ON those fixed disks.
I had to originally install the SD card by booting with the drives disconnected (SD card in USB reader) - it worked fine once you rebooted with the disks reconnected. Ideally, I want to be able to use this on any computer without affecting the built in drives.
On my laptop and desktop machines, I cannot disable the drives from the bios and disconnecting the drives when I'm on my laptop is not practical.
Is there a way of making the updates to grub etc. only apply on the specific drive that I've booted off. fstab is set up to use the UUID of the partition when mounting, so that it specifically refers to the encrypted USB drive.
I was using Debian Wheezy for this, and either want to use Debian, Mint or another Debian based distro for the install, so any instructions that might be specific to Debian would be helpful.
|