Could not find System Root

So I think I have the issue where a patch for LVM2 corrupted initrd. I have tried to walk through the solution noted here but am running into an issue where I have several partitions encrypted which is preventing @lipinger script from working.

I believe this is the solution

Issue: Rebooted this morning after installing some updates - now when booting I get

"Waiting for device /dev/mapper/system-root to appear:............Could not find /dev/mapper/system-root"

I pulled the script but believe I am having an issue because I need to decrypt my disk prior to correcting the issue with initrd.

fdisk - Note the USB is just being used to move data and scripts


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt




#         Start          End    Size  Type            Name
 1         2048       321535    156M  EFI System      primary
 2       321536      1157119    408M  Microsoft basic primary
 3     17125376     80035839     30G  Linux LVM       primary
 4     80035840   1953523711  893.4G  Linux LVM       primary
 5      1157120     17125375    7.6G  Linux LVM       primary


Disk /dev/sdb: 4173 MB, 4173332480 bytes, 8151040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000


   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2     8151039     4075519    b  W95 FAT32

blkid - showing encrypted partitions


/dev/sda1: SEC_TYPE="msdos" UUID="36F8-7CA7" TYPE="vfat" PARTLABEL="primary" PARTUUID="60d9ff4b-0260-4ade-b358-da90f76254d3" 
/dev/sda2: UUID="0778cc2d-dadd-4ad3-a561-fe54ef3f837b" TYPE="ext4" PARTLABEL="primary" PARTUUID="ecccaae7-8c74-4e02-a915-dc2dd7b14f32" 
/dev/sda3: UUID="b5f79562-cd73-4d2d-9ae1-7df01196781f" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="13619748-02f5-48cf-a016-daa48dd9ac4c" 
/dev/sda4: UUID="7b7ca471-82b6-4543-b44f-0568d92ddc9b" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="352cf960-b1ac-4ea1-a32a-0cb7efd962ab" 
/dev/sda5: UUID="be572d6f-0bca-44ea-b8eb-0c689373e992" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="34f7a658-a92b-4f02-95ad-713c6d5fac53" 
/dev/loop0: TYPE="squashfs" 
/dev/loop1: TYPE="squashfs" 
/dev/loop2: TYPE="squashfs" 
/dev/loop3: TYPE="squashfs" 
/dev/loop4: TYPE="squashfs" 
/dev/sr0: UUID="2013-11-06-20-55-31-00" LABEL="openSUSE-13.1-DVD-x86_640091" TYPE="iso9660" PTTYPE="dos" 
/dev/sdb1: LABEL="UNTITLED" UUID="3C5F-10F8" TYPE="vfat" 



Rescue mounts - Are about 90% empty, I believe because they are still encrypted.


total 0
drwxr-xr-x  5 root root 100 Apr  6 16:27 .
drwxr-xr-x 21 root root 440 Apr  6 16:27 ..
drwxr-xr-x 11 root root 166 Nov  6  2013 mp_0000
drwxr-xr-x 19 root root 271 Nov  6  2013 mp_0001
drwxr-xr-x  3 root root  26 Apr  6 16:27 mp_0002

Any help to get this recovered quickly is really appreciated.

Your post is a bit short on information, so it is hard to be explicit.

I am using an encrypted LVM.

If I need to do a rescue, then

1: Boot from the install media in rescue mode or from live media. It needs to be the same architecture.

2: Open the encrypted partition.

cryptsetup luksOpen /dev/sda5 cr_lvm

the “cr_lvm” name is just a virtual name, though it is best that it match what is in “/etc/crypttab”. The tricky part is that you cannot yet read “/etc/crypttab”. So I sometimes use an arbitrary name, to read “/etc/crypttab”. And then, I start over and use the name from “/etc/crypttab”.

2: Access the LVM:

vgchange -a y
ls /dev/mapper

The second of those lines will tell you whether you accessed it or not. In your case, the LVM is named “system”, but it could be something else. So I’ll use “lvmname” for that.

3:


mount /dev/mapper/lvmname-root /mnt
mount /dev/mapper/lvmname-home /mnt/home
mount /dev/sda2 /mnt/boot  ### check appropriate device for this
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
chroot /mnt

4: Then, within the “chroot” environment, you should be able to run “mkinitrd”, and possibly grub update commands

5:

exit

I hope that helps.

After a successful reboot, check if swap is properly setup. If not, do that manually and do another “mkinitrd” on the booted system.

nrickert,

Thanks for the quick reply.

Let me know what additional information would be helpful in getting this resolved.

  1. I am booting into rescue mode using a 13.1 OpenSuse dvd, same which was used to install the system.
  2. When I try to open sda5 I get the following
cryptsetup luksOpen /dev/sda5 cr_lvm5
Enter passphrase for /dev/sda5
/dev/mapper/temporary-cryptsetup-1850: mknod for temporary-cryptsetup-1850 failed: Read-only file system
Failed to open temporary keystore device.

So it is complaining about a read only file system but not sure why as I am running this in rescue under “Root” and permissions are 755 on /dev/mapper

Thanks again for the quick response and I am happy to provide additional information which will help resolve the issue.

At this stage, the output from:

# fdisk -l /dev/sda

would be helpful.

I’m not sure about that “read only” problem. It might be referring to the DVD, which is read-only. But booting from the DVD in rescue mode should have provided some sort of read-write file system, usually a ramdisk.

fdisk -l /dev/sda




Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt




#         Start          End    Size  Type            Name
 1         2048       321535    156M  EFI System      primary
 2       321536      1157119    408M  Microsoft basic primary
 3     17125376     80035839     30G  Linux LVM       primary
 4     80035840   1953523711  893.4G  Linux LVM       primary
 5      1157120     17125375    7.6G  Linux LVM       primary



Are those three partitions (flagged as LVM) all encrypted? Are they independent, or are they all part of a single LVM that combines several partitions?

I’m still a little puzzled by the “readonly” problem you are seeing.

Maybe boot the install DVD into install mode, rather than rescue mode. Then, at the first screen (maybe license acceptance screen), use CTRL-ALT-F2 to get to a virtual console. Try opening the encrypted partitions from there. Or download the live rescue CD, which runs XFCE and may be easier to use.

Are those three partitions (flagged as LVM) all encrypted?

Using the “blkid” command I believe they are encrypted because the type is “crypto_LUKS”

blkid output


/dev/sda1: SEC_TYPE="msdos" UUID="36F8-7CA7" TYPE="vfat" PARTLABEL="primary" PARTUUID="60d9ff4b-0260-4ade-b358-da90f76254d3" 
/dev/sda2: UUID="0778cc2d-dadd-4ad3-a561-fe54ef3f837b" TYPE="ext4" PARTLABEL="primary" PARTUUID="ecccaae7-8c74-4e02-a915-dc2dd7b14f32" 
/dev/sda3: UUID="b5f79562-cd73-4d2d-9ae1-7df01196781f" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="13619748-02f5-48cf-a016-daa48dd9ac4c" 
/dev/sda4: UUID="7b7ca471-82b6-4543-b44f-0568d92ddc9b" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="352cf960-b1ac-4ea1-a32a-0cb7efd962ab" 
/dev/sda5: UUID="be572d6f-0bca-44ea-b8eb-0c689373e992" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="34f7a658-a92b-4f02-95ad-713c6d5fac53" 
/dev/loop0: TYPE="squashfs" 
/dev/loop1: TYPE="squashfs" 
/dev/loop2: TYPE="squashfs" 
/dev/loop3: TYPE="squashfs" 
/dev/loop4: TYPE="squashfs" 
/dev/sr0: UUID="2013-11-06-20-55-31-00" LABEL="openSUSE-13.1-DVD-x86_640091" TYPE="iso9660" PTTYPE="dos" 
/dev/sdb1: LABEL="UNTITLED" UUID="3C5F-10F8" TYPE="vfat" 

Are they independent, or are they all part of a single LVM that combines several partitions?

I believe they are independent but I could be wrong. I believe the partitions are as follows.
sda1 = unknown
sda2 = MBR/unknown
sda3 = root/system partition
sda4 = home partition
sda5 = swap partition

Maybe boot the install DVD into install mode, rather than rescue mode. Then, at the first screen (maybe license acceptance screen), use CTRL-ALT-F2 to get to a virtual console. Try opening the encrypted partitions from there. Or download the live rescue CD, which runs XFCE and may be easier to use.

I will download the rescue CD but going back to my root issue I believe my main issue is the LVM2 update, as documented in the solution post I noted, the rescue mode was used.

Based on the post by Lipinger, this issue should be recoverable, however without decrypting my partitions I believe that is where I am stuck.

At minimum I would need to recover the data in my home directory and unfortunately my last backup is too old to be sufficient without considerable loss.

nrickert,

I used a bootable usb with the rescue image using the Xfce.

Using the bootable USB I am able to access the various points which are all noted as LVM2_members.


# cryptsetup luksOpen /dev/sda3 cr_lvm
Enter passphrase for /dev/sda3: 
# vgchange -a y
  WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
  Couldn't find device with uuid pOpdt0-4y04-Wzuj-Rmuv-o9p4-e2c4-yFqgeS.
  Couldn't find device with uuid QpS6uy-an2l-NHmy-dkIm-o1Oq-2dcK-12zHqU.
  Refusing activation of partial LV home. Use --partial to override.
# cryptsetup luksOpen /dev/sda4 cr_lvn
Enter passphrase for /dev/sda4: 
# cryptsetup luksOpen /dev/sda5 cr_lvo
Enter passphrase for /dev/sda5: 

From there I am able to mount root, home and swap.


nux:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root     180 Apr  6 20:58 .
drwxr-xr-x 19 root root    4700 Apr  6 20:58 ..
crw-------  1 root root 10, 236 Apr  6 20:50 control
lrwxrwxrwx  1 root root       7 Apr  6 20:56 cr_lvm -> ../dm-0
lrwxrwxrwx  1 root root       7 Apr  6 20:57 cr_lvn -> ../dm-3
lrwxrwxrwx  1 root root       7 Apr  6 20:58 cr_lvo -> ../dm-5
lrwxrwxrwx  1 root root       7 Apr  6 20:57 system-home -> ../dm-4
lrwxrwxrwx  1 root root       7 Apr  6 20:56 system-root -> ../dm-1
lrwxrwxrwx  1 root root       7 Apr  6 20:56 system-swap -> ../dm-2

Now that I am able to access the encrypted partition, I need to correct the initrd to correct the faulty LVM2. This is where I could use some additional help to ensure I get it done correctly.

Look in the root file system. In particular, look at “/etc/fstab” (relative to that system-root). See if there is a separate “/boot” and find where it is.

Maybe, while you are about it, you should look at “/etc/crypttab”. Perhaps print it or hand-write it (should be short). The names used there are the best names to use in “cryptsetup” when unlocking a LUKS file system.

I see no point in having separate partitions if you plan on LVM. LVM is made to expand and can be linked together. Normally you would have one LVM container on a drive with the file systems as separate entities in the container. That way you only need one password. using 3 LVM you would need a password for each.

Very odd setup.

Look in the root file system. In particular, look at “/etc/fstab” (relative to that system-root). See if there is a separate “/boot” and find where it is.

Here is fstab - I am a bit unsure about the whole by-id mapping for boot.

/dev/system/swap     swap                 swap       defaults              0 0/dev/system/root     /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST1000DM003-1CH162_Z1DAFF33-part2 /boot                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST1000DM003-1CH162_Z1DAFF33-part1 /boot/efi            vfat       umask=0002,utf8=true  0 0
/dev/system/home     /home                ext4       acl,user_xattr        1 2

Going back to my root issue, fixing initrd. Based on all the information I have provided, what and where should I mount my filesystem so I can fix this issue where system-root can’t be found when booting?

I just followed the install setup and the only change I made was to have my home mount to have the greatest disk space vs root and for home to be encrypted. Not sure how I ended up with this setup but it is what I have, what I really wish I had a solution for was the patch which totally forked my initrd so I can get this system back up and running.

The “-part2” indicates that it is partition 2 on whatever drive. Looking at your earlier “fdisk” output, it looks as if “/boot” is “/dev/sda2” and your EFI partition is “/dev/sda1”.

For your recovery attempt, try this (after making the LVM accessible):


# mount /dev/mapper/system-root /mnt
# mount /dev/mapper/system-home /mnt/home  ## probably not strictly needed
# mount /dev/sda2 /mnt/boot
# mount /dev/sda1 /mnt/boot/efi
#### and now some bind mounts
# mount --bind /dev /mnt/dev
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
#### next, chroot into the mounted system
# chroot /mnt
# mkinitrd  ### rebuild the "initrd"
# exit  ### leave the chroot environment

Anything above following “###” is a comment and you don’t need to enter that. The single "# " at the beginning of the line is the shell prompt, though it might be different.

When done, reboot and see if the problem is solved.

I’m not sure this will solve the problem. If this solves the problem, then the problem should not have occurred in the first place. Still, it is worth trying.

When booting, after this attempt, hit ESC soon after you have provided the encryption key. That way you will see a lot of messages on screen. Maybe they will hint at other problems.

Well I keep telling people they must read the partition scheme screen and understand it before accepting it. It may not be what you thought you set. This comes from not totally understanding partitioning. and the mired of options. The installer does nothing fancy by itself. Often for encryption LVM is used since it is a nice container that is easy to encrypt. However normally you only have one LVM container. A LVM container can hold multiple file systems. LVM containser can be changed together to even across drive to provide a logical file storage space Your set up is just more complicated then it needs to be. I think you may always have problems with it IMO you should take a deep breath and reinstall doing things correctly and paying attention to the scheme screen before accepting what the installer THINKS you want.

So everything mounted as you noted and it looks like my system prior to the issues.

In referencing the solution I noted in my first post, I reviewed mkinitrd vs what was in lipinger noted to correct the issue.

Reading his post there was a few issues so I went ahead and used the options he had noted.


mkinitrd -k vmlinuz-3.11.10-25-desktop -i initrd-3.11.10-25-desktop -B

This completed just fine but the system is still failing to find system-root when booting with the error.


Waiting for device /dev/mapper/system-root to appear:..................Could not find /dev/mapper/system-root

What did I miss which is still preventing the system from finding the system-root?

I hate the take this thread on a tangent however you certainly make some valid points and in the sake of better understanding best practices I have a few questions.

  1. Should root, swap and home be its own partition? if not why?
  2. Would you use a different partitioning scheme when a installing an encrypted setup?
  3. If I was to fix reinstall, what would your recommendation be to setup this system with “Best Practices” in mind, with the home directory having majority of the storage and encrypted?

I have certainly learned a few things trying to recover this system and considering I have been able to backup all my data at this time, while I would hate to loose another 2 hours to reinstall. It might be the best solution in the end.

Thanks for your time, I appreciate a detailed reply.

Ok You need to distinguish between classical partitions and LVM containers. Then we have file systems.

You can put any classical partition and thus file system in a LVM

swap is its own file system so should be separate from any other file system, though it can also be set to use a file on root but I’d expect some speed degradation.

root is the base of the system so it should be in its own partition but some people break out directories to their own partitions to ease maintenance.

home is a directory off of / it does not have to be a separate partition but ease of maintenance and upgrades says it is wise to keep it separate because that is where all users personal data and settings live.

There is no RIGHT way to partition but there are some tried a truly configuration that make life easier. The default swap/root/home partitions are tried and true. LVM is good for encryption and large system because it is extensible and acts as a container thus simplifying encryption. With encrypted LVM you need to make a /boot partition also outside any LVM since grub can’t boot to a LVM or any encrypted partition. So I’d set up a /boot partition about 500 meg then the rest of free space I’d put an encrypted LVM in that LVM I’d add swap/root/home of appropriate size and file system. If you have special needs then you may want to consider other configuration but this one is fine for most Desktop users

I don’t know.

However, I did ask you to check “/etc/crypttab”. You never responded on that.

Up through opensuse 13.1, the “mkinitrd” looked at what was actually mounted, so would work even without an entry in “/etc/crypttab”. With the switch to “dracut”, this is no longer true. People who did not have an entry for their LVM in “/etc/crypttab” ran into problems when they updated 13.1 to 13.2.

I don’t know if that applies to your issue.

That rebuilds for a specific kernel. I hope that is the kernel that you are using.

At some time during 13.1, some people ran into problems with “lvmetad”. You might check “/etc/lvm/lvm.conf” and check the line “use_lvmetad = 0”. If it is not set to 0, try setting to 0. Then you will have to rebuild the “initrd” again after any change.

I never ran into those problems on my systems, so I’m not sure that it is related.e

Sorry I forgot to include that part.

/etc/crypttab


cr_ata-ST1000DM003-1CH162_Z1DAFF33-part3 /dev/disk/by-id/ata-ST1000DM003-1CH162_Z1DAFF33-part3 none       none
cr_ata-ST1000DM003-1CH162_Z1DAFF33-part5 /dev/disk/by-id/ata-ST1000DM003-1CH162_Z1DAFF33-part5 none       none

I am aware of that and that is why I felt the solution first noted applied to my issue.

Checked my lvm.conf and mine is set to zero

I am going to run through the steps again and and post in hopes of correcting this issue.

Your assistance with crypto luks has allowed me to access my home partition and backup everything to an external drive.

@gogalthrop has been so kind to point out the error in my system setup I may just wipe the system and do a clean install with 13.2 if I am unable to resolve the issue.

So I walked through the steps noted and everything works up to the point of booting the system where once again I get the same error.


Waiting for device /dev/mapper/system-root to appear:.........Could not find /dev/mapper/system-root

Here is my terminal of trying to resolve this issue. Posting grub.conf in another post due to length.


linux:~ # mount /dev/mapper/system-root /mnt
linux:~ # mount /dev/mapper/system-home /mnt/home
linux:~ # mount /dev/sda2 /mnt/boot
linux:~ # mount /dev/sda1 /mnt/boot/efi
linux:~ # mount --bind /dev /mnt/dev
linux:~ # mount --bind /proc /mnt/proc
linux:~ # mount --bind /sys /mnt/sys
linux:~ # mount
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=4007128k,nr_inodes=1001782,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,relatime,mode=755)
tmpfs on /var/run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sdb2 on /livecd type udf (ro,relatime,utf8)
/dev/loop0 on /read-only type squashfs (ro,relatime)
/dev/sdb3 on /read-write type btrfs (rw,relatime,space_cache)
overlayfs on / type overlayfs (rw,relatime,lowerdir=/read-only,upperdir=/read-write)
proc on /proc type proc (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=19,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=100)
/dev/mapper/system-root on /mnt type ext4 (rw,relatime,data=ordered)
/dev/mapper/system-home on /mnt/home type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /mnt/boot type ext4 (rw,relatime,stripe=4,data=ordered)
/dev/sda1 on /mnt/boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
devtmpfs on /mnt/dev type devtmpfs (rw,relatime,size=4007128k,nr_inodes=1001782,mode=755)
proc on /mnt/proc type proc (rw,relatime)
sysfs on /mnt/sys type sysfs (rw,relatime)
/dev/sdc on /tmp/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
linux:~ # chroot /mnt
linux:/ # ls -la
total 2399
drwxr-xr-x  23 root root    4096 Mar 20 07:26 .
drwxr-xr-x  23 root root    4096 Mar 20 07:26 ..
-rw-r--r--   1 root root   53915 Mar 20 07:26 .readahead
drwxr-xr-x   2 root root    4096 Mar 31 12:59 bin
drwxr-xr-x   6 root root    3072 Apr  7 11:02 boot
-rw-------   1 root root 3153920 Feb 26 11:33 core
drwxr-xr-x  19 root root    4740 Apr  7 13:53 dev
drwxr-xr-x 133 root root   12288 Apr  6 08:52 etc
drwxr-xr-x   4 root root    4096 Sep 25  2014 home
drwxr-xr-x  15 root root    4096 Mar 31 12:59 lib
drwxr-xr-x   7 root root   12288 Mar 31 12:59 lib64
drwx------   2 root root   16384 Sep 25  2014 lost+found
drwxr-xr-x   2 root root    4096 Sep 27  2013 media
drwxr-xr-x   2 root root    4096 Sep 27  2013 mnt
drwxr-xr-x   4 root root    4096 Dec  9 13:23 opt
dr-xr-xr-x 284 root root       0 Apr  7 11:23 proc
drwx------  11 root root    4096 Apr  6 08:51 root
drwxr-xr-x   2 root root    4096 Sep 25  2014 run
drwxr-xr-x   2 root root   12288 Mar 31 12:59 sbin
drwxr-xr-x   2 root root    4096 Sep 27  2013 selinux
drwxr-xr-x   6 root root    4096 Oct 13 11:07 srv
dr-xr-xr-x  12 root root       0 Apr  7 11:23 sys
drwxrwxrwt  65 root root   16384 Apr  7 11:02 tmp
drwxr-xr-x  13 root root    4096 Nov  6  2013 usr
drwxr-xr-x  16 root root    4096 Sep 25  2014 var
l
linux:/ # ls -la /boot/
total 96966
drwxr-xr-x  6 root root     3072 Apr  7 11:02 .
drwxr-xr-x 23 root root     4096 Mar 20 07:26 ..
-rw-r--r--  1 root root  2682045 Jul 22  2014 System.map-3.11.10-21-desktop
-rw-r--r--  1 root root  2683568 Dec 17 13:36 System.map-3.11.10-25-desktop
lrwxrwxrwx  1 root root        1 Sep 25  2014 boot -> .
-rw-r--r--  1 root root     1484 Oct 18  2013 boot.readme
-rw-r--r--  1 root root   141138 Jul 22  2014 config-3.11.10-21-desktop
-rw-r--r--  1 root root   141179 Dec 17 12:44 config-3.11.10-25-desktop
drwxr-xr-x  3 root root    16384 Dec 31  1969 efi
drwxr-xr-x  2 root root     1024 Sep 25  2014 grub
drwxr-xr-x  7 root root     1024 Mar 31 12:59 grub2
lrwxrwxrwx  1 root root       25 Apr  7 11:02 initrd -> initrd-3.11.10-25-desktop
-rw-------  1 root root 23320183 Mar 31 12:59 initrd-3.11.10-21-desktop
-rw-------  1 root root 23351784 Apr  7 11:02 initrd-3.11.10-25-desktop
-rw-------  1 root root 23320351 Apr  7 10:38 initrd-3.11.10-25-desktop-original
drwx------  2 root root    12288 Sep 25  2014 lost+found
-rw-r--r--  1 root root   620544 Nov  6  2013 message
-rw-r--r--  1 root root   262916 Jul 22  2014 symvers-3.11.10-21-desktop.gz
-rw-r--r--  1 root root   263026 Dec 17 13:49 symvers-3.11.10-25-desktop.gz
-rw-r--r--  1 root root      516 Jul 22  2014 sysctl.conf-3.11.10-21-desktop
-rw-r--r--  1 root root      516 Dec 17 13:49 sysctl.conf-3.11.10-25-desktop
-rw-r--r--  1 root root  6044086 Jul 22  2014 vmlinux-3.11.10-21-desktop.gz
-rw-r--r--  1 root root  6045930 Dec 17 13:48 vmlinux-3.11.10-25-desktop.gz
lrwxrwxrwx  1 root root       26 Jan  9 10:16 vmlinuz -> vmlinuz-3.11.10-25-desktop
-rw-r--r--  1 root root  5183048 Jul 22  2014 vmlinuz-3.11.10-21-desktop
-rw-r--r--  1 root root  5184584 Dec 17 15:26 vmlinuz-3.11.10-25-desktop
linux:/ # mkinitrd -k vmlinuz-3.11.10-25-desktop -i initrd-3.11.10-25-desktop -B


Kernel image:   /boot/vmlinuz-3.11.10-25-desktop
Initrd image:   /boot/initrd-3.11.10-25-desktop
KMS drivers:     i915
Root device:    /dev/system/root (mounted on / as ext4)
Microcode: Adding Intel microcode 06-3c-03
Kernel Modules:    thermal_sys thermal processor fan dm-mod dm-crypt dm-log dm-region-hash dm-mirror dm-snapshot scsi_dh scsi_dh_emc scsi_dh_alua scsi_dh_rdac scsi_dh_hp_sw video button i2c-algo-bit drm drm_kms_helper i915 xhci-hcd hid-logitech-dj hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ohci-pci 
Features:       acpi dm intel_microcode kms plymouth block usb resume.userspace resume.kernel
Did not refresh the bootloader. You might need to refresh it manually.
linux:/ # cd boot/
linux:/boot # ls -la
total 96966
drwxr-xr-x  6 root root     3072 Apr  7 14:01 .
drwxr-xr-x 23 root root     4096 Mar 20 07:26 ..
-rw-r--r--  1 root root  2682045 Jul 22  2014 System.map-3.11.10-21-desktop
-rw-r--r--  1 root root  2683568 Dec 17 13:36 System.map-3.11.10-25-desktop
lrwxrwxrwx  1 root root        1 Sep 25  2014 boot -> .
-rw-r--r--  1 root root     1484 Oct 18  2013 boot.readme
-rw-r--r--  1 root root   141138 Jul 22  2014 config-3.11.10-21-desktop
-rw-r--r--  1 root root   141179 Dec 17 12:44 config-3.11.10-25-desktop
drwxr-xr-x  3 root root    16384 Dec 31  1969 efi
drwxr-xr-x  2 root root     1024 Sep 25  2014 grub
drwxr-xr-x  7 root root     1024 Mar 31 12:59 grub2
lrwxrwxrwx  1 root root       25 Apr  7 14:01 initrd -> initrd-3.11.10-25-desktop
-rw-------  1 root root 23320183 Mar 31 12:59 initrd-3.11.10-21-desktop
-rw-------  1 root root 23351825 Apr  7 14:01 initrd-3.11.10-25-desktop
-rw-------  1 root root 23320351 Apr  7 10:38 initrd-3.11.10-25-desktop-original
drwx------  2 root root    12288 Sep 25  2014 lost+found
-rw-r--r--  1 root root   620544 Nov  6  2013 message
-rw-r--r--  1 root root   262916 Jul 22  2014 symvers-3.11.10-21-desktop.gz
-rw-r--r--  1 root root   263026 Dec 17 13:49 symvers-3.11.10-25-desktop.gz
-rw-r--r--  1 root root      516 Jul 22  2014 sysctl.conf-3.11.10-21-desktop
-rw-r--r--  1 root root      516 Dec 17 13:49 sysctl.conf-3.11.10-25-desktop
-rw-r--r--  1 root root  6044086 Jul 22  2014 vmlinux-3.11.10-21-desktop.gz
-rw-r--r--  1 root root  6045930 Dec 17 13:48 vmlinux-3.11.10-25-desktop.gz
lrwxrwxrwx  1 root root       26 Jan  9 10:16 vmlinuz -> vmlinuz-3.11.10-25-desktop
-rw-r--r--  1 root root  5183048 Jul 22  2014 vmlinuz-3.11.10-21-desktop
-rw-r--r--  1 root root  5184584 Dec 17 15:26 vmlinuz-3.11.10-25-desktop
linux:/boot # ls -la grub
total 188
drwxr-xr-x 2 root root   1024 Sep 25  2014 .
drwxr-xr-x 6 root root   3072 Apr  7 14:01 ..
-rw-r--r-- 1 root root   8608 Sep 27  2013 e2fs_stage1_5
-rw-r--r-- 1 root root   7904 Sep 27  2013 fat_stage1_5
-rw-r--r-- 1 root root   7136 Sep 27  2013 ffs_stage1_5
-rw-r--r-- 1 root root   7136 Sep 27  2013 iso9660_stage1_5
-rw-r--r-- 1 root root   8608 Sep 27  2013 jfs_stage1_5
-rw-r--r-- 1 root root   7296 Sep 27  2013 minix_stage1_5
-rw-r--r-- 1 root root   9632 Sep 27  2013 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 Sep 27  2013 stage1
-rw-r--r-- 1 root root 102058 Sep 25  2014 stage2
-rw-r--r-- 1 root root   7488 Sep 27  2013 ufs2_stage1_5
-rw-r--r-- 1 root root   6688 Sep 27  2013 vstafs_stage1_5
-rw-r--r-- 1 root root   9320 Sep 27  2013 xfs_stage1_5
linux:/boot # ls -la grub2/
total 24
drwxr-xr-x 7 root root 1024 Mar 31 12:59 .
drwxr-xr-x 6 root root 3072 Apr  7 14:01 ..
drwxr-xr-x 2 root root 1024 Nov  5  2013 backgrounds
drwxr-xr-x 2 root root 1024 Sep 25  2014 fonts
-rw------- 1 root root 7524 Mar 31 12:59 grub.cfg
-rw-r--r-- 1 root root 1024 Sep 25  2014 grubenv
drwxr-xr-x 2 root root 1024 Feb  2 16:31 locale
drwxr-xr-x 3 root root 1024 Sep 25  2014 themes
drwxr-xr-x 2 root root 7168 Feb  2 16:31 x86_64-efi