Comment 15 for bug 1726818

Revision history for this message
Yasuo Honda (yahonda) wrote :

Thanks for the feedback. I am also unable to address the root file system size
by updating /etc/default/grub as below.

### At Vagrant host

$ vagrant init ubuntu/artful64
$ vagrant up
$ vagrant ssh

### At Vagrant guest

1. Root file syste size is 2.2G

vagrant@ubuntu-artful:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.2G 895M 1.3G 42% /

2. Edit /etc/default/grub and modify GRUB_CMDLINE_LINUX_DEFAULT parameter

vagrant@ubuntu-artful:~$ sudo vi /etc/default/grub

- Before change
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0"

- After change
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 noxsave"

3. Execute update-grub

vagrant@ubuntu-artful:~$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.13.0-16-generic
Found initrd image: /boot/initrd.img-4.13.0-16-generic
done
vagrant@ubuntu-artful:~$

4. Reboot the Vagrant guest

vagrant@ubuntu-artful:~$ sudo reboot

5. Root file system size does not change.

$ vagrant ssh

vagrant@ubuntu-artful:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.2G 896M 1.3G 42% /
vagrant@ubuntu-artful:~$

Thanks.