It's more complicated with SLES 12 and grub. I managed to change it but I'm not sure if all is exactly right.
UUID's changed so the boot didn't work. I changed /etc/default/grub to GRUB_DISABLE_LINUX_UUID=true And I put the root=/dev/disk/by-path/ccw-0.0.0101-part1 into GRUB_CMDLINE_LINUX_DEFAULT That seemed to do the trick, but the cmdline looks a bit odd with 2 root= 's in it. cat /proc/cmdline root=/dev/dasda1 root=/dev/disk/by-path/ccw-0.0.0101-part1 hvc_iucv=8 TERM=dumb crashkernel=103M vmhalt=LOGOFF vmpoff=LOGOFF Is there some doc for getting off the UUID default and using by-path? The UUID isn't great for copying disks or for replication and cloning. -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Mark Post Sent: Thursday, December 15, 2016 10:16 AM To: [email protected] Subject: Re: [LINUX-390] Expanding root file system >>> On 12/15/2016 at 12:26 PM, Marcy Cortes <[email protected]> >>> wrote: > Hey Mark Post, > > You wrote this nice guide to doing it in SLES 11. > Do you have a SLES 12 process? No. If you did NOT use btrfs for your file system, then the process would be pretty much the same, except for the zipl part. That would be replaced with a grub2-install step. If you did use btrfs, then you can simply add another volume to the file system with "btrfs-device add". Make sure you use YaST to bring the volume online and format it, or you'll need to run mkinitrd manually. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] 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/ ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] 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/
