You are not logged in.

#1 2013-09-20 15:47:49

n_t
Member
Registered: 2013-02-01
Posts: 48

Switch to aufs-friendly kernel

Hey,

I'm just installing docker on arch linux using yaourt, as recommended here: http://docs.docker.io/en/latest/installation/archlinux/.

One of the final steps is to tell my bootloader, in my case grub, to use the aufs-friendly kernel. I don't know how to do this, and I'm scared I will make a horrible mess of it. I've been reading the grub documentation, and also found this potentially useful advice http://unix.stackexchange.com/questions … -archlinux.

However, I would love some help to save me doing something stupid. Hope you can understand.

Offline

#2 2013-09-22 07:51:11

apex
Member
Registered: 2013-09-22
Posts: 29

Re: Switch to aufs-friendly kernel

n_t wrote:

Hey,

I'm just installing docker on arch linux using yaourt, as recommended here: http://docs.docker.io/en/latest/installation/archlinux/.

One of the final steps is to tell my bootloader, in my case grub, to use the aufs-friendly kernel. I don't know how to do this, and I'm scared I will make a horrible mess of it. I've been reading the grub documentation, and also found this potentially useful advice http://unix.stackexchange.com/questions … -archlinux.

However, I would love some help to save me doing something stupid. Hope you can understand.

I use Cario Dock, works flawless, at least on my rolling release with KDE.  I suggest this because what you are tying to do is not available but I will be glad to show you how to run grub commands.

What you are looking for is in the grub file itself.

sudo nano /etc/default/grub
Find the line:
GRUB_CMDLINE_LINUX=""

change to:
GRUB_CMDLINE_LINUX="your_parameter_here"

replace "your_parameter_here" with what you want to load, include quotes.

contro x to exit, don't forget to save.

Then run: sudo grub-mkconfig -o /boot/grub/grub.cfg

As far as aufs goes, seems to be a no go as it is Flagged out-of-date (2013-09-19) so I do not know what alternatives you have other than to use another dock program like I did.

Last edited by apex (2013-09-22 07:54:25)

Offline

#3 2013-09-25 16:09:27

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: Switch to aufs-friendly kernel

The Docker program that he's looking for isn't a window manager docker - its a devops tool that just came out.  Easy to confuse them though.

One place to find the GRUB rebuild command is here:

https://wiki.archlinux.org/index.php/Linux-ck

It says this:

Note: As with *any* additional kernel, users will need to manually edit their boot loader's config file to make it aware of the new kernel images. For example, users of GRUB should execute "grub-mkconfig -o /boot/grub/grub.cfg". Syslinux, GRUB-legacy, etc. will need to be modified as well.

Once you reboot you'll have an option to boot the AUFS patched kernel, your stock kernel will be there as an option too.

Offline

Board footer

Powered by FluxBB