Find the answer to your Linux question:
Results 1 to 9 of 9
Hey All, im a new here so be pasion please (: im having LVM build in my Rhet OS , last week i updated my kernel amd since then , ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5

    Exclamation boot LVM problem


    Hey All,

    im a new here so be pasion please (:

    im having LVM build in my Rhet OS ,

    last week i updated my kernel amd since then , enerytime i reboot the machine , the LVM is broken !

    i almost sure that the problem is in the grub.conf file but i don`t really know what to do

    please help me - it is urgent!!!!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    Post the contents of /boot/grub/grub.conf here.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5

    Hey , thanks!!!

    Quote Originally Posted by Rubberman View Post
    Post the contents of /boot/grub/grub.conf here.


    default=0
    timeout=1
    #fallback=1
    hiddenmenu

    title Amazon Linux 2013.03 (3.4.48-45.46.amzn1.x86_64)
    root (hd0)
    kernel /boot/vmlinuz-3.4.48-45.46.amzn1.x86_64 root=LABEL=/ console=hvc0 LANG=en_US.UTF-8 KEYTABLE=us
    initrd /boot/initramfs-3.4.48-45.46.amzn1.x86_64.img

    title Amazon Linux 2013.03 (3.4.37-40.44.amzn1.x86_64)
    root (hd0)
    kernel /boot/vmlinuz-3.4.37-40.44.amzn1.x86_64 root=LABEL=/ console=hvc0
    initrd /boot/initramfs-3.4.37-40.44.amzn1.x86_64.img


    this is a copy!

    Thanks again! i hopr you will help me (:

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    So you are running this in the Amazon EC2 cloud? In any case, there are a couple of things you can try. One is to remove the " LANG=en_US.UTF-8 KEYTABLE=us" bit from the first (default) entry and see if that works. If not, then set the default entry to 1 and see if it boots into the old kernel ok.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5

    Hey friend

    Quote Originally Posted by Rubberman View Post
    So you are running this in the Amazon EC2 cloud? In any case, there are a couple of things you can try. One is to remove the " LANG=en_US.UTF-8 KEYTABLE=us" bit from the first (default) entry and see if that works. If not, then set the default entry to 1 and see if it boots into the old kernel ok.
    Hey ,

    when i change the default to 1 , the RAID is good but the version is the old one

  6. #6
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5
    what i need to do? ):

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    Set the default back to 0 (to boot new kernel), and remove the stuff I indicated on the end of the line.
    IE, change this line

    kernel /boot/vmlinuz-3.4.48-45.46.amzn1.x86_64 root=LABEL=/ console=hvc0 LANG=en_US.UTF-8 KEYTABLE=us

    to this

    kernel /boot/vmlinuz-3.4.48-45.46.amzn1.x86_64 root=LABEL=/ console=hvc0

    If your RAID driver is still not working properly, then it is possible that the new kernel needs to be reconfigured and rebuilt. Is this a kernel you built, or an update from Amazon?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Just Joined!
    Join Date
    Jun 2013
    Posts
    5
    Quote Originally Posted by Rubberman View Post
    Set the default back to 0 (to boot new kernel), and remove the stuff I indicated on the end of the line.
    IE, change this line

    kernel /boot/vmlinuz-3.4.48-45.46.amzn1.x86_64 root=LABEL=/ console=hvc0 LANG=en_US.UTF-8 KEYTABLE=us

    to this

    kernel /boot/vmlinuz-3.4.48-45.46.amzn1.x86_64 root=LABEL=/ console=hvc0

    If your RAID driver is still not working properly, then it is possible that the new kernel needs to be reconfigured and rebuilt. Is this a kernel you built, or an update from Amazon?
    that is what you ask me to do before - not working

    and yes - it is amazon update

    what could be the problem??

  9. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    Sorry, but I don't know what might be wrong. You probably should submit a trouble ticket to the AWS support team. I've generally found them to be efficient and effective.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •