Skip to main content

install grub

Boot into the ubuntu live CD
open a terminal and run :
command:-
"sudo grub"

then:
command:-
"find /boot/grub/stage1"

replace the question marks in the following command with the output of the last command :
command:-
"root (hd?,?)"
If you have more than one linux install, use the one that you want the grub to run from. [like : root (hdo,1) ,probably]
then:
command:-
"setup (hd0)" This will put grub on the MBR of windows so if you want it somewhere else specify that here. In my opinion it is much easier to use the windows MBR for grub, and not bother about putting it somewhere else. If you reallyb want to you cvan move it later on to which ever partition you like, but frankly that just complicates things unnecessarily.

and
command:-
"quit"

Reboot.

Comments

Popular posts from this blog

갤럭시S 프로요 업데이트후 "USB 연결 설정" 없어진다

갤럭시 안드로이드 2.2로 업뎃하고 나니 USB 연결 설정 메뉴가 없어져서 황당 했습니다. 고객센터 전화하니까 자동으로 프로요 부터 자동으로 usb메모리랑 kies랑 를 인식한다고 하던데.. adb devices 해도 잡히는 장비 하나 없어 완전 황당.. 삼성 모바일 홈피가서 kies 프로그램 다운 받아 설치 하니까 그재서야 잡히네요 그전에는 드라이버만 설치 해서 인식 했었는데...

장고 프레임워크 설치하기

# 장고프레임워크 설치 - pip 설치 (파이썬 패키지 관리자 ... 아마도) $ sudo apt-get install python-pip $ sudo easy_install pip   (apt-get 으로 받으면 옛날버전.  updated 2015.07.30 ) $ curl https://bootstrap.pypa.io/get-pip.py | sudo python (참고 : https://pip.pypa.io/en/stable/installing/ ) -- pip를 이용해서 pip 업데이트 방법: $ pip install -U pip - virtualenv 설치 $ sudo pip install virtualenv - 가상환경 만들기 $ virtualenv -p /usr/bin/python3.4 (env-name) - 가상환경 시작 $ source (env-name)/bin/activate (가상환경 종료시  : (env-name)$ deactivate  ) - 장고 설치 (env-name)$ pip install Django( == 1.7 ) - 장고 프로젝트 만들기 (env-name)$ django-admin.py startproject (proj-name)