Docker requires Linux Kernel Version 4.1

I’d like to understand this in a bit more detail if I can - to make sure I don’t break this any further!

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 50G 0 disk ├─sda1 8:1 0 487M 0 part /mnt ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 49.5G 0 part ├─vg_ucs-root (dm-0) 254:0 0 47.5G 0 lvm / └─vg_ucs-swap_1 (dm-1) 254:1 0 2G 0 lvm sr0 11:0 1 1024M 0 rom

ls -l /dev/vg_ucs/*

lrwxrwxrwx 1 root root 7 Feb 1 12:47 /dev/vg_ucs/root -> ../dm-0 lrwxrwxrwx 1 root root 7 Feb 1 12:47 /dev/vg_ucs/swap_1 -> ../dm-1

Building off another UCS Slave systems fstab, I’ve come up with:

[code]# /etc/fstab: static file system information.

/dev/mapper/vg_ucs-root / ext4 acl,errors=remount-ro,user_xattr 0 1
proc /proc proc defaults 0 0
/dev/sda1 /boot ext4 defaults,acl,user_xattr 0 0
/dev/mapper/vg_ucs-swap_1 none swap sw 0 0
/dev/sr0 /cdrom auto user,noauto,exec 0 0[/code]

Does that correct? I’m guessing - but it looks like my swap space is vg_ucs-swap_ rather than sda2? Do I also need to include sda2?

No then you don’t need /dev/sda2. The /etc/fstab you’ve created seems to be correct for me. You should try it with it after you hvae copied the new kernel and the other stuff from /boot.

That didn’t work very well! The steps I followed were:

Mounted sda1

mount /dev/sda1 /mnt

Copied the kernel:

rsync -avzog --protect-args --delete --progress --include=* --include=. /boot/ /mnt/

Replaced fstab with

[code]# /etc/fstab: static file system information.

/dev/mapper/vg_ucs-root / ext4 acl,errors=remount-ro,user_xattr 0 1
proc /proc proc defaults 0 0
/dev/sda1 /boot ext4 defaults,acl,user_xattr 0 0
/dev/mapper/vg_ucs-swap_1 none swap sw 0 0
/dev/sr0 /cdrom auto user,noauto,exec 0 0[/code]

rebooted (or tried to)

Error message at boot:

error: file '/grub/i386-pc/normal.mod' not found. Entering rescue mode... grub rescue>

System restored from backup.

Ah sorry for the mistake. I think it should work so:

rsync -avzog --protect-args --progress --include=* --include=. /boot/ /mnt/

Thats fixed it!

Thanks for your help #Grandjean & #SirTux

Mastodon