How to make Ubuntu adapt to new computer/hardware on every boot?
I have installed an Ubuntu 10.04 LTS distro on a external mobile HDD with 500 GB. I want to use the HDD as a Flash USB, so that I can work with my own OS on every computer I use. I tried to isntall the Flash distributions on the HDD, but they could manage to set the casper file to max 4 Gb, and I want to use the whole HDD.
So I installed Lucid Lynx. The UUID's of root and swap partitions are static, and are written correctly in /boot/grub/grub.cfg, /etc/fstab and /etc/initramfs-tools/conf.d/resume. It runs perfectly most of the time on different computers, but sometimes fails on e.g. reboot. So the question is: Is there anything I can do to make Linux adapt to the new hardware on every boot? Any files to modify or delete? Regards, Andreas |
It should "just work" so when you say it "sometimes fails" please be specific (complete error messages etc.) so we can help you troubleshoot.
|
Hey,
Found the problem :) /etc/initramfs-tools/conf.d/resume wasn't correct as I thought - works like a charm! |
All times are GMT -5. The time now is 07:38 AM. |