Discussion:
[ubuntu-us-mi] Ubuntu on Lenovo x120e
Eric Beversluis
2011-08-31 19:43:14 UTC
Permalink
Hi. I'm having serious trouble getting Ubuntu to run on my new x120e. I
was referred to this list by the guys at grlug list.

I've reformatted the HDD into three partitions: about 15GB for /, about
280GB for /home, and about 10GB for swap.

I installed 10.04 first and, despite several days of searching, was
unable to find out how to get more than 1080x768 resolution, even tho
the computer's natural resolution is 1360x768.

So I decided to try 11.04. This installed fine and the installation
screens and liveCD all show lovely resolution.

Unfortunately, once the 11.04 is installed, it won't open. I get this
error:

error: invalid arch independent ELF magic
grub rescue>

Again I've searched around but haven't found anything that works. Wh

When I try to do 'grub-install' I get this error:

cannot stat `aufs'

Again searching Google I mostly find "try this and try that" and nothing
that clearly works.

When I Google "ELF magic" the only things that come up are about
SantaClaus.

I also tried downloading and installing grub-efi, but that didn't help
either.

I'd love to be able to use my new laptop without days and days of
frustrating efforts.

Does anyone have any solutions?

Thanks.
Craig Maloney
2011-08-31 19:57:05 UTC
Permalink
Post by Eric Beversluis
Hi. I'm having serious trouble getting Ubuntu to run on my new x120e. I
was referred to this list by the guys at grlug list.
...
[ELF Magic foo removed]
Post by Eric Beversluis
Does anyone have any solutions?
I ran into the same problems with my x120e. The quick solution would be
to reload the machine so it can set up the EFI stuff correctly.

Here's a thread from the Ubuntu Forums that may be of some help:

http://ubuntuone.com/6wNy6AMch7owJ9UpDp1Cur

I did rescue my machine from an upgrade that completely obliterated my
EFI setup. It's not fun, but it can be worked around. However, unless
you have anything that you desperately need on that laptop, you'd be
better off just doing a fresh install.

hope this helps!
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 20:04:56 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
Hi. I'm having serious trouble getting Ubuntu to run on my new x120e. I
was referred to this list by the guys at grlug list.
...
[ELF Magic foo removed]
Post by Eric Beversluis
Does anyone have any solutions?
I ran into the same problems with my x120e. The quick solution would be
to reload the machine so it can set up the EFI stuff correctly.
http://ubuntuone.com/6wNy6AMch7owJ9UpDp1Cur
I did rescue my machine from an upgrade that completely obliterated my
EFI setup. It's not fun, but it can be worked around. However, unless
you have anything that you desperately need on that laptop, you'd be
better off just doing a fresh install.
hope this helps!
--
Your link doesn't seem to work.

I had just done a fresh install--that's the one that's giving me all the
trouble. Meantime I've reformatted the whole disk with gparted and am
installing again.
Craig Maloney
2011-08-31 20:21:03 UTC
Permalink
Post by Eric Beversluis
Your link doesn't seem to work.
Feh, here's the link: http://ubuntuforums.org/showthread.php?t=1836644
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Craig Maloney
2011-08-31 19:59:43 UTC
Permalink
Post by Eric Beversluis
Unfortunately, once the 11.04 is installed, it won't open. I get this
error: invalid arch independent ELF magic
grub rescue>
Also, which version of 11.04 are you using? Did you get the error just
after an install? And did you let Ubuntu partition the drive for you, or
did you partition manually?
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 20:08:21 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
Unfortunately, once the 11.04 is installed, it won't open. I get this
error: invalid arch independent ELF magic
grub rescue>
Also, which version of 11.04 are you using? Did you get the error just
after an install? And did you let Ubuntu partition the drive for you, or
did you partition manually?
64-bit: is that what you're asking?

I used the existing partitions from my 10.04 error. Told Ubuntu to
reformat the /dev/sda1 partition (root) but to leave the /dev/sda3
partition (/home) alone.

This time around I'm going with a completely new repartitioning done by
Ubuntu.
Post by Craig Maloney
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Craig Maloney
2011-08-31 20:20:10 UTC
Permalink
Post by Eric Beversluis
64-bit: is that what you're asking?
Actually I was thinking you might have used the alternate install or
something else, but I'm pretty sure you're using the live CD.
Post by Eric Beversluis
I used the existing partitions from my 10.04 error. Told Ubuntu to
reformat the /dev/sda1 partition (root) but to leave the /dev/sda3
partition (/home) alone.
This time around I'm going with a completely new repartitioning done by
Ubuntu.
Yeah, that should give you the best results. Unfortunately EFI needs
it's own partition, or it gets very cranky.

Best of luck, and let us know how it turns out!
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 20:33:34 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
64-bit: is that what you're asking?
Actually I was thinking you might have used the alternate install or
something else, but I'm pretty sure you're using the live CD.
Post by Eric Beversluis
I used the existing partitions from my 10.04 error. Told Ubuntu to
reformat the /dev/sda1 partition (root) but to leave the /dev/sda3
partition (/home) alone.
This time around I'm going with a completely new repartitioning done by
Ubuntu.
Yeah, that should give you the best results. Unfortunately EFI needs
it's own partition, or it gets very cranky.
Best of luck, and let us know how it turns out!
This time after the install I got "Operating system not found."

Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
Craig Maloney
2011-08-31 20:40:29 UTC
Permalink
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.

My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 20:56:07 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.
My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 20:59:48 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.
My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
So I'd have to go back later and re-partition to get my separate /home
partition?

Why doesn't the Ubuntu installer either check for this automatically or
prompt one to check if it's an EFI system? I doubt if I'm alone in not
having known there was such a thing as EFI.
Craig Maloney
2011-08-31 21:04:24 UTC
Permalink
Post by Eric Beversluis
Post by Craig Maloney
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.
My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
So I'd have to go back later and re-partition to get my separate /home
partition?
Assuming you're still looking to have the separate partition, yes.
Again, this is the quick and dirty way to get this to work. You are more
than welcome to try to set this up manually, and it can be done, but
trust me: it's not something I'd recommend unless you already have some
data on the machine that you can't get off any other way.
Post by Eric Beversluis
Why doesn't the Ubuntu installer either check for this automatically or
prompt one to check if it's an EFI system? I doubt if I'm alone in not
having known there was such a thing as EFI.
I'm not sure why it doesn't do this by default, but I can assure you
that it should work. :)
--
--------------------------------------------------------------------
Craig Maloney (craig at decafbad.net) http://decafbad.net
"Work hard, rock hard, eat hard, sleep hard, grow big,
wear glasses if you need 'em." -- The Webb Wilder Credo
Eric Beversluis
2011-08-31 22:40:59 UTC
Permalink
Post by Craig Maloney
Post by Eric Beversluis
Post by Craig Maloney
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.
My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
So I'd have to go back later and re-partition to get my separate /home
partition?
Assuming you're still looking to have the separate partition, yes.
Again, this is the quick and dirty way to get this to work. You are more
than welcome to try to set this up manually, and it can be done, but
trust me: it's not something I'd recommend unless you already have some
data on the machine that you can't get off any other way.
Post by Eric Beversluis
Why doesn't the Ubuntu installer either check for this automatically or
prompt one to check if it's an EFI system? I doubt if I'm alone in not
having known there was such a thing as EFI.
I'm not sure why it doesn't do this by default, but I can assure you
that it should work. :)
Well that worked, finally (after three days). Don't know why "LTS" with
10.04 doesn't include updated drivers for graphics. I would have loved
to stick with it so as not to have to waste time learning a new system
(several minutes here to find the "system" menu; another several minutes
to find the terminal; more time to figure out how panels work now...).
Unfortunately two days spent trying to figure out how to get the
1366x768 resolution I paid for rather than just the 1066x768 that Lucid
was willing to give me. And for some reason none of this EFI stuff
seemed to be a problem for 10.04.

Thanks for the help. I suppose eventually I'll enjoy 11.04--until 13
months from now, when I'll have to go through another update.
Eric Beversluis
2011-08-31 22:53:44 UTC
Permalink
Post by Eric Beversluis
Post by Craig Maloney
Post by Eric Beversluis
Post by Craig Maloney
Post by Eric Beversluis
This time after the install I got "Operating system not found."
Are you saying EFI need a /boot partition? or a are a / partition and
a /home appropriate?
It needs a separate FAT partition, which Ubuntu mounts as /boot/efi.
My recommendation is to not try partitioning anything at all; just erase
everything and let Ubuntu handle the partitioning. Otherwise you'll
prevent it from working.
So I'd have to go back later and re-partition to get my separate /home
partition?
Assuming you're still looking to have the separate partition, yes.
Again, this is the quick and dirty way to get this to work. You are more
than welcome to try to set this up manually, and it can be done, but
trust me: it's not something I'd recommend unless you already have some
data on the machine that you can't get off any other way.
Post by Eric Beversluis
Why doesn't the Ubuntu installer either check for this automatically or
prompt one to check if it's an EFI system? I doubt if I'm alone in not
having known there was such a thing as EFI.
I'm not sure why it doesn't do this by default, but I can assure you
that it should work. :)
Well that worked, finally (after three days). Don't know why "LTS" with
10.04 doesn't include updated drivers for graphics. I would have loved
to stick with it so as not to have to waste time learning a new system
(several minutes here to find the "system" menu; another several minutes
to find the terminal; more time to figure out how panels work now...).
Unfortunately two days spent trying to figure out how to get the
1366x768 resolution I paid for rather than just the 1066x768 that Lucid
was willing to give me. And for some reason none of this EFI stuff
seemed to be a problem for 10.04.
Thanks for the help. I suppose eventually I'll enjoy 11.04--until 13
months from now, when I'll have to go through another update.
So how do I get it to boot up without taking me to grub first?
Wolfger
2011-09-01 14:52:24 UTC
Permalink
On Wed, Aug 31, 2011 at 3:43 PM, Eric Beversluis
Post by Eric Beversluis
When I Google "ELF magic" the only things that come up are about
SantaClaus.
A little advice on your Google-fu. Just as you can add terms, you can
also exclude terms. For example, search:
"ELF magic" Ubuntu -Santa
I think you'll see much more relevant results. :-)

--
Wolfger

This work is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License.
http://creativecommons.org/licenses/by-nc-sa/3.0/
Eric Beversluis
2011-09-01 14:59:43 UTC
Permalink
Post by Wolfger
On Wed, Aug 31, 2011 at 3:43 PM, Eric Beversluis
Post by Eric Beversluis
When I Google "ELF magic" the only things that come up are about
SantaClaus.
A little advice on your Google-fu. Just as you can add terms, you can
"ELF magic" Ubuntu -Santa
I think you'll see much more relevant results. :-)
--
Wolfger
Thanks. I didn't know that. And I do so much in Google.
Christopher House
2011-09-01 15:00:26 UTC
Permalink
Or google the whole phrase in quotes "error: invalid arch independent ELF
magic"
Post by Wolfger
On Wed, Aug 31, 2011 at 3:43 PM, Eric Beversluis
Post by Eric Beversluis
When I Google "ELF magic" the only things that come up are about
SantaClaus.
A little advice on your Google-fu. Just as you can add terms, you can
"ELF magic" Ubuntu -Santa
I think you'll see much more relevant results. :-)
--
Wolfger
This work is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License.
http://creativecommons.org/licenses/by-nc-sa/3.0/
--
ubuntu-us-mi mailing list
ubuntu-us-mi at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-mi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-mi/attachments/20110901/7d5ebd5c/attachment.html>
Jay R. Wren
2011-09-01 15:16:59 UTC
Permalink
https://www.google.com/support/websearch/bin/static.py?hl=en&page=guide.cs&guide=1221265&answer=136861&rd=1
Post by Christopher House
Or google the whole phrase in quotes "error: invalid arch independent
ELF magic"
On Thu, Sep 1, 2011 at 10:52 AM, Wolfger <wolfger at gmail.com
On Wed, Aug 31, 2011 at 3:43 PM, Eric Beversluis
<ebever at researchintegration.org
Post by Eric Beversluis
When I Google "ELF magic" the only things that come up are about
SantaClaus.
A little advice on your Google-fu. Just as you can add terms, you can
"ELF magic" Ubuntu -Santa
I think you'll see much more relevant results. :-)
--
Wolfger
This work is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License.
http://creativecommons.org/licenses/by-nc-sa/3.0/
--
ubuntu-us-mi mailing list
ubuntu-us-mi at lists.ubuntu.com <mailto:ubuntu-us-mi at lists.ubuntu.com>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-mi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-mi/attachments/20110901/4cc38177/attachment.html>
Loading...