grub.cfg & Restructuring Partitions
I just installed Debian on a brand new machine with a Revo SSD drive, and laid out these partitions:
lvm partition with root on it (usr, etc. are on a hard drive)
My old Linux system had a boot partition of 32M, and, with a couple of kernels, was only half full. I started out with squeeze, then decided I wanted to go ahead and put sid on it, and don't have enough room in /boot (/ is on the lvm section).
So, since I have 12G of RAM, I allocated 12G of swap, but I doubt I'll need that much. I could just increase the boot partition into the swap for enough room (booting from my install cdrom as the "live" cd), but I'd rather have /boot on the logical volume anyway, and therein lies my problem.
I spent 2-3 days decoding lvm root on the SSD raid drive before I actually had a bootable system. I'm under the impression that /boot can be on an lvm logical volume, but this is how I finally got to a bootable state. Now, instead of reinstalling everything, I'm wondering if I can just get a boot directory on my root lvm, copy everything from the "hard" boot partition into it, and reboot.
Here's an excerpt (for one kernel) from my grub.cfg file:
So, is it remotely possible to believe that I can make a boot2 directory in the SSD root logical volume and make these changes in device.map:
If this will even work in principle, the msdos1 is a show-stopper, since that's a reference to a "hard" partition instead of an lvm volume, but I don't know what to replace it with or how to reference it, unless it is one of the choices in my "conceptual grub" comments.
I've been through the grub2 documentation, and, so far, haven't even seen the "msdos1" flag documented.
Is there a grub/lvm/RAID/SSD expert out there somewhere?
|All times are GMT +2. The time now is 02:11.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.