[MeeGo-dev] create image problem
sd.foolegg at gmail.com
Sat Mar 6 03:35:41 CST 2010
On Mon, Feb 22, 2010 at 12:31 AM, Anas Nashif <nashif at linux.intel.com> wrote:
> For this specific type of image grub 1 is needed. MeeGo does not use grub at all actually, but raw images currently use them, this might change in the future.
> Maybe you want another type of image, i.e. livecd(liveusb), which does not need grub. Alternatively, you can get grub 1 and install it on your system to make it work.
> On 2010-02-21, at 11:20 AM, Lars Tørnes Hansen wrote:
>> nicola at nicoladefilippo.it skrev:
>>> on my xubuntu 9.10 i run
>>> sudo moblin-image-creator --config=developer.ks --format=raw
>>> but i have :
>>> Error: failed to create image : Needed file: /usr/sbin/grub
>>> not found, please check your installation
>>> what's happen?
>>> MeeGo-dev mailing list
>>> MeeGo-dev at meego.com
>> Hi Nicola
>> On my system (Ubuntu 9.10)
>> This command:
>> sudo ls -l /usr/sbin/ | grep "grub"
>> -rwxr-xr-x 1 root root 1480 2009-12-07 23:49 grub-dumpbios
>> -rwxr-xr-x 1 root root 10372 2009-12-07 23:49 grub-install
>> -rwxr-xr-x 1 root root 7084 2009-12-07 23:49 grub-mkconfig
>> -rwxr-xr-x 1 root root 14928 2009-12-07 23:50 grub-mkdevicemap
>> -rwxr-xr-x 1 root root 169712 2009-12-07 23:50 grub-probe
>> -rwxr-xr-x 1 root root 2730 2009-12-07 23:49 grub-reboot
>> -rwxr-xr-x 1 root root 2472 2009-12-07 23:49 grub-set-default
>> -rwxr-xr-x 1 root root 173808 2009-12-07 23:50 grub-setup
>> -rwxr-xr-x 1 root root 60 2009-12-07 23:37 update-grub
>> -rwxr-xr-x 1 root root 35 2009-12-07 23:37 update-grub2
>> -rwxr-xr-x 1 root root 1298 2009-12-07 23:37 upgrade-from-grub-legacy
>> The /usr/sbin/grub file doesn't exists!
>> Maybe Moblin is using Grub legacy (GRUB1), and Ubuntu is using the new Grub (Grub 2).
>> The two versions og GRUB has incompatible configuation files (and probably also tools).
>> This Ubuntu Community Documentation page has more about GRUB2 and Karmic Koala:
>> MeeGo-dev mailing list
>> MeeGo-dev at meego.com
> MeeGo-dev mailing list
> MeeGo-dev at meego.com
I'm using ubuntu 9.10, and get same problem.
I deal this with follow:
download grub deb package( you can use $sudo apt-get install -d grub
to download package, then find it in /var/cache/apt/archives/ )
Extract the package, copy the grub executable file to /use/sbin/
then run mic again. try this, good luck.
More information about the MeeGo-dev