I just installed Ub 10.04.2 LTS -64bit on a new drive in my new laptop. Didn't allocate enough space for /boot partition, and Update Manager choked on updating the kernel -- or at least I think that's it... (grin)
I found and followed 2nd paragraph in [ Can I expand my /boot without upsetting the system? ]. I'm now going to boot the LiveCD I used to install (64-bit) and trust GParted to move partitions and increase size of sda1 to 1GB (now 100MB). I've done similar things with other distros, so I'm hopeful this will work; but how do I get my /boot partition set back to sda1 once I have it big enough?
Will I need to:
- mount -t ext4 /dev/sda1 /mnt
- cp -ax /boot/. /mnt
- gedit /etc/fstab ;un-comment '/boot partition' line (didn't remove)
- --then how do I deal with the 'new' boot directory, from a live & mounted root filesystem, before re-running grub-install /dev/sda?
Or, have I completely lost my mind to think this could be easily accomplished?
Also, is it necessary to have /boot in a separate partition to be able to multi-boot several (possibly 10 or more, eventually) separate distros?
Some day I'll investigate Virtual Machines as I'm sure they're more efficient (and why I got a dual-core AMD), but for now, I'm still hoping to customize an installation which survives a shut-down/ power-up cycle -- in less than seventy-something reinstalls! (grin) Some might even call me dangerous...
BTW, I dropped the 'sudo' part because I run one terminal window as root -- which might explain the huge number of reinstalls. Oh, to be cut-apart by the sharp edge of a learning curve! (smile)
Thanks so much, in advance!
--Tom
dpkg -l 'linux-image-*' | grep ^ii
to get a list of old kernels and remove all but the latest./boot
.df -h
when the partition is mounted.