13.1 install LIBATA switch, LUKS, LVM, initrd, and lots of disks
I successfully upgraded to 13.1 on my smallest desktop system that has only one disk drive. The device name went from hda1 to sda1 in the process. I was expecting that because of the CHANGES_AND_HINTS.TXT. The LIBATA switchover tips steps 3 and 4 didn't work as described with my LUKS encryption and LVM setup, but I knew what I had to do, so no problem.
Now I'm going to upgrade my big desktop system, and I have a question about the LIBATA switchover and the device renaming that will occur. This system has six disk drives. My boot drive currently is /dev/sda1, and Linux is installed in sda and sdb drives using LUKS and LVM. Quote:
Quote:
Then it says to use the sd* name for the root device when creating the initrd. My current boot partition has raw device name /dev/sda1. Will this change at initial install with the LIBATA switchover, or during reboots? If it can change at any reboot, then how do you make an initrd to refer to the proper device? How do you know what the device will be in advance in order to make the initrd? If there's no way to know, then I believe I can boot from the install DVD after the upgrade is complete, run the cryptsetup LUKSOPEN, vgscan, vgmount, mount the encrypted LVM root, chroot into it, mount the /boot partition, and run fdisk -l to see what I have. Then build the initrd, update and run LILO, and boot. But if it could change at any reboot, that will be inconvenient. If anyone can shed some light on what I might expect to see or answer any of my questions, I'd appreciate it. I'm hoping to minimize downtime on this system. |
Best thing to do is boot the install cd and have a look at what changed to what from its command line. I can't say for certain as I didn't burn one this time, but I'd expect devices to have the same name in the install cd's shell as they will on your new running system after the install.
LVM won't care what device name it finds your PV on (it checks them all by default), but you'll need to find the correct names to pass to cryptsetup/luksopen via the mkinitrd -C option. |
All times are GMT -5. The time now is 05:35 PM. |