Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Wednesday, March 14, 2012

Install Windows 8 consumer preview at virtualbox

Installed at w8 cp at VirtualBox in Ubuntu 11.10.
The default version of VirtualBox that came with 11.10 is version 4.1.2.
No Windows 8 option, so select others, system will up, and stop at recovery option.

Google found that 4.1.8+ version should already come with w8 option, update to 4.1.8, w8 up without problem.

Windows 8 consumer preview location :
http://windows.microsoft.com/en-US/windows-8/consumer-preview

VirtualBox location :
https://www.virtualbox.org/wiki/Downloads

Sunday, March 04, 2012

Build UEFI EDK2 UnixPkg 64bit under Ubuntu 11.10


Fellow the instruction here :
http://blog.xuite.net/meloscheng/note/56299386

Two place need to modify :

1. Link crt*.o to correct place :

root@neou11:/usr/lib# ls /usr/lib/crt* -l

lrwxrwxrwx 1 root root 32 2012-03-04 02:37 /usr/lib/crt1.o -> /usr/lib/x86_64-linux-gnu/crt1.o
lrwxrwxrwx 1 root root 32 2012-03-04 02:37 /usr/lib/crti.o -> /usr/lib/x86_64-linux-gnu/crti.o
lrwxrwxrwx 1 root root 32 2012-03-04 02:37 /usr/lib/crtn.o -> /usr/lib/x86_64-linux-gnu/crtn.o

2. Use GCC 4.6 instead of 4.4 :


neo@neou11:~/work/edk2-12898/UnixPkg$ svn diff build64.sh
Index: build64.sh
===================================================================
--- build64.sh (revision 12898)
+++ build64.sh (working copy)
@@ -41,7 +41,7 @@
 # Pick a default tool type for a given OS
 #
 TARGET_TOOLS=MYTOOLS
-UNIXPKG_TOOLS=GCC44
+UNIXPKG_TOOLS=GCC46
 NETWORK_SUPPORT=
 case `uname` in
   CYGWIN*) echo Cygwin not fully supported yet. ;;

Then SecMain could be built, and running.

Saturday, January 09, 2010

Ubuntu 文字模式開機

sudo update-rc.d -f gdm remove

or
echo false > /etc/X11/default-display-manager

/etc/X11/default-display-manager 記錄了用哪個 display-manager
如果是 gdm, 多半是 : /usr/sbin/gdm

另, 以下講的更完整:
http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/