loader

http://askubuntu.com/questions/221835/installing-ubuntu-on-a-pre-installed-uefi-supported-windows-8-system

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair

Now run boot-repair


universal-usb-installer
System - Administration - Startup Disk Creator

unetbootin

http://zhidao.baidu.com/question/239258754.html





ERROR:
Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.

sudo apt-get install linux-headers-`uname -r` then run the Nvidia installer.


http://hi.baidu.com/albertleemon/item/bdf1dc0962e4d16ed45a1120



package map;

import java.awt.event.KeyEvent;

import javax.swing.JFrame;


public class Mainloader {
  
 public String spl ="  ";
 public static String[][] mlist;
 private  int init_x;
 private  int init_y;
 public static volatile int  location_x;
 public static volatile int location_y;
 JFrame jframe;
 public String record="  ";
 
  public Mainloader(){
   jframe = new JFrame(){
    int loc_x,loc_y;
    public void setCurrentFigure(int x, int y){
     this.loc_x = x;
     this.loc_y = y;
    }
   };
   jframe .addKeyListener(new java.awt.event.KeyAdapter(){     
    public void keyPressed(KeyEvent e){     
     if(e.getKeyCode()==KeyEvent.VK_RIGHT){
      if(location_x<(init_x-1)){
      mlist[location_y][location_x]=record;
      location_x++;}}       
     else if(e.getKeyCode()==KeyEvent.VK_LEFT){
      if(location_x>0){
       mlist[location_y][location_x]=record;
      location_x--;}}
     else if(e.getKeyCode()==KeyEvent.VK_DOWN){
      if(location_y<(init_y-1)){
       mlist[location_y][location_x]=record;
      location_y++;}}
     else if(e.getKeyCode()==KeyEvent.VK_UP){
      if(location_y>0){
       mlist[location_y][location_x]=record;
      location_y--;}}
     }   
    });
   jframe.setVisible(true);
  }
  public Mainloader(String spl){
   this();
   this.spl=spl;
  }
    
  public void show(){
   StringBuffer bo = new StringBuffer();
   for(int i=0;i<init_x;i++){   
    for(int j=0;j<init_y;j++){
     bo.append(mlist[i][j]);
    }
    bo.append("\n");
   }
   System.out.print(bo.toString());
  }
  
  public void initMl(int x, int y){
   init_x =x;
   init_y =y;
   location_x = init_x/2 -1;
   location_y = init_y/2 -1;
   mlist = new String[init_y][init_x];
   for(int i=0;i<init_x;i++){   
    for(int j=0;j<init_y;j++){
     mlist[i][j]=spl;
    }
   }
  }
  
  public void setMl(String val){
   //mlist[location_x][location_y] = val;
   if(location_y>-1&&location_x>-1&&location_y<init_y&&location_x<init_x)
   mlist[location_y][location_x] = val;
  }
  
//  public void setMl(int x, int y, String val, Boolean aroundshow){
//   mlist[x][y] = val;
//   mlist[x][y+1] = val;
//   mlist[x][y-1] = val;
//   
//   mlist[x-1][y] = val;
//   mlist[x-1][y+1] = val;
//   mlist[x-1][y-1] = val;
//   
//   mlist[x+1][y] = val;
//   mlist[x+1][y-1] = val;
//   mlist[x+1][y+1] = val;
//  }
  
  public String getSpl() {
   return spl;
  }

  public void setSpl(String spl) {
   this.spl = spl;
  }
}

 

 

package entry;

import java.awt.event.KeyEvent;
import java.io.IOException;

import io.Reader;
import map.Mainloader;

public class Lunacher {
 
 public static void main(String args[]) throws InterruptedException, IOException{

  
  Mainloader ml = new Mainloader();
  int size = 30;
  
  ml.initMl(size, size);
  Thread.currentThread();
  while(true){

   ml.setMl(" x");
   Thread.sleep(80);
   ml.show();
   
  }
  


 }
}



Boot successfully repaired.


Please write on a paper the following URL:
http://paste.ubuntu.com/1616884/


In case you still experience boot problem, indicate this URL to:
boot.repair@gmail.com or to your favorite support forum.


You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/grubx64.efi file!


The boot files of [The OS now in use - Ubuntu 12.10] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值