Ubuntu btrfs: how to remove rootflags=subvol=@ from grub.cfg

Posted by mnpria on Ask Ubuntu See other posts from Ask Ubuntu or by mnpria
Published on 2013-11-11T06:44:48Z Indexed on 2013/11/12 10:21 UTC
Read the original article Hit count: 366

Filed under:
|
|
|

When i mount "btrfs" as a root filesytem, the mount info is as below:

root@ubuntu1304Btrfs:~# mount

/dev/mapper/ubuntu1304Btrfs--vg-root on / type btrfs (rw,subvol=@)

Is there a way to have a mount info without the "subvol" information ?

I have tried executing what was mentioned here.

I also updated the grub.cfg. Still rootflags=subvol=@ is not removed.

Is there a way to remove this subvol information ?

root@ubuntu1304Btrfs:/home# mount
/dev/mapper/ubuntu1304Btrfs--vg-root on / type btrfs (rw,subvol=@)
/dev/mapper/ubuntu1304Btrfs--vg-root on /home type btrfs (rw,subvol=@home)

root@ubuntu1304Btrfs:/# stat /
  File: ‘/’
  Size: 262         Blocks: 0          IO Block: 4096   directory
Device: 12h/18d Inode: 256         Links: 1
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-11-11 19:56:04.548121873 +0530
Modify: 2013-11-11 19:55:18.008120103 +0530
Change: 2013-11-11 19:55:18.008120103 +0530
 Birth: -

root@ubuntu1304Btrfs:/# stat /home/
  File: ‘/home/’
  Size: 230         Blocks: 0          IO Block: 4096   directory
Device: 19h/25d Inode: 256         Links: 1
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2013-11-12 12:24:52.346377976 +0530
Modify: 2013-11-12 12:24:50.338377900 +0530
Change: 2013-11-12 12:24:50.338377900 +0530
 Birth: -

© Ask Ubuntu or respective owner

Related posts about 13.04

Related posts about grub2