리눅스를 설치하려고 하는데요.. 윈도우를 유지시키는 방법

aisitei의 이미지

검색하는 법을 몰라서 이렇게 바로 글을 올립니다.
리눅스를 설치하려고 하는데 윈도우와 우선 같이 쓰려고 합니다.

그럴려면 윈도우 먼저 깔고 리눅스를 설치해야하나요??
리눅스 먼저 깔로 윈도우 까는법은 없는지....
그럴려면 VMware를 써야하는지....

답변 부탁드립니다.

paperplane의 이미지

리눅스 먼저 깔고 윈도우 까신 다음에

부트 디스크나 LiveCD 등으로 부팅하시고

grub을 MBR에 설치해 주시면 될 거 같습니다.

자세한 방법은 grub 사용법을 찾아보시면 잘 나와있을 겁니다.

랜덤여신의 이미지

1. 윈도우 설치 -> 리눅스 설치
문제 없습니다.

2. 리눅스 설치 -> 윈도우 설치
윈도우는 다른 OS 를 생각하는 마음(...)이라고 해야 하나, 아무튼 그런게 없기 때문에, 리눅스가 설치된 시스템에 윈도우를 설치하면, MBR 에 설치되어 있는 리눅스 부트 로더(grub 같은)를 말끔히 지워 주십니다.
따라서 윈도우를 설치한 다음에 리눅스 부트 로더를 부활시켜야 하는데... 저 같은 경우에는 Gentoo LiveCD 로 부팅한 다음, 리눅스 파티션을 마운트(/boot 파티션이 따로 존재한다면 그것도 마운트 해야 합니다)하고, chroot 로 리눅스 시스템으로 들어갑니다. 그 후 grub 콘솔에서 grub 복구를 하면 됩니다.

mkdir /mnt/barosl
mount /dev/hd? /mnt/barosl
mount /dev/hd? /mnt/barosl/boot (/boot 파티션이 존재 한다면)
mount -t proc none /mnt/barosl/proc
chroot /mnt/barosl
source /etc/profile

grub (이러면 잠시 후 grub 콘솔이 뜹니다)
root (hd0,?) (? 자리에 /boot 파티션이나 없으면 / 파티션의 인덱스를 적어 주셔야 합니다. 이 때 주의하셔야 할 것은 hda1, hda2, hda3 식으로 나가는 것이 아니라 0, 1, 2 이렇게 0 부터 시작한다는 겁니다)
setup (hd0)
quit

ps:
이와 같은 잔재주들은 젠투 설치를 한번 해 보시면 익히실 수 있습니다. -_-a
젠투 설치 문서의 grub 설정 부분을 읽어 보세요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.