[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.
>
> Anas
>
>
> On 2010-02-21, at 11:20 AM, Lars Tørnes Hansen wrote:
>
>> nicola at nicoladefilippo.it skrev:
>>> Hi,
>>> on my xubuntu 9.10 i run
>>> sudo moblin-image-creator --config=developer.ks --format=raw
>>> --cache=mycache
>>>
>>> but i have :
>>> Error: failed to create image : Needed file: /usr/sbin/grub
>>> not found, please check your installation
>>>
>>> what's happen?
>>>
>>> Nicola
>>> _______________________________________________
>>> MeeGo-dev mailing list
>>> MeeGo-dev at meego.com
>>> http://lists.meego.com/listinfo/meego-dev
>>>
>>>
>> Hi Nicola
>>
>> On my system (Ubuntu 9.10)
>>
>> This command:
>>
>> sudo ls -l /usr/sbin/ | grep "grub"
>>
>> gives:
>>
>> -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:
>> https://help.ubuntu.com/community/Grub2
>>
>> /Lars
>> _______________________________________________
>> MeeGo-dev mailing list
>> MeeGo-dev at meego.com
>> http://lists.meego.com/listinfo/meego-dev
>
> _______________________________________________
> MeeGo-dev mailing list
> MeeGo-dev at meego.com
> http://lists.meego.com/listinfo/meego-dev
>
hi,
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.
b.rgds
More information about the MeeGo-dev
mailing list