On Mon, Dec 19, 2016 at 05:33:55PM -0700, Mark Post wrote:
> >>> On 12/19/2016 at 06:07 AM, Benjamin Block <bbl...@linux.vnet.ibm.com> 
> >>> wrote: 
> > AFAIK its the same for btrfs as for the first case you mentioned. If you
> > change rootfs-dependencies, you'll need to make sure you rebuild the
> > "stage1"-initramfs.. so call grub2-install. And then you'll also have to
> > rebuild the normal initramfs.
> 
> The first part is true, not the second.  By using YaST to online and
> format the DASD volume, YaST calls mkinitrd to rebuild /boot/initrd.
> Once you're done, you can copy that initrd to /boot/zipl, then run
> zipl -c /boot/zipl/config.
> 

But isn't that all handled automatically by grub2-install? It rebuilds
the stage1-initramfs and also executes zipl AFAIK, and you don't have to
care about the "bloody" details, like which initrd to copy and what
zipl-config to use.

Anyway I just wanted to share some awareness, because I "bricked"
already one (development) VM because I tried exactly this - extending
btrfs with a second DASD - and forgot to rebuild the stage1 zipl and
initramfs.


                                                    Beste Grüße / Best regards,
                                                      - Benjamin Block
-- 
Linux on z Systems Development         /         IBM Systems & Technology Group
                  IBM Deutschland Research & Development GmbH 
Vorsitz. AufsR.: Martina Koederitz     /        Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: AmtsG Stuttgart, HRB 243294

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to