VMWare4.5.x 에 Fedora Core2 설치하기
한 3~4일 삽질 한 것 같네요.
여기 제가 한 내용을 정리해서 올려놓습니다.
다른 분들... 부디 삽질 하더라도... 2~3삽 정도만 삽질해서 된다면... 그러면 다행이겠네요.
P.S 제 과정을 다 거친 후에, 아마 "Error activation XKB configuration" 어쩌고 하는 에러가 뜰 겁니다.
그건 저도 아직 모르겠습니다.
지금은 그냥 Fedora 꼴도 보기 싫습니다 -_-;;;
===============================================
1. 1번 CD를 넣고 VMWare를 Power on 한다.
2. boot 프롬프트(boot:)가 뜨면, "linux vdso=0" 을 입력 후, Enter.
3. 설치 단계를 거쳐가되, boot loader 설정 지점에서 반드시 "advanced boot configuration" 클릭 후, kernel 옵션으로 "vdso=0" 을 입력한다.(당연히 " 뺴고 vdso=0 만 입력하는 거 아시죠... 노파심 -_-a)
4. 나머지 단계는 정상적으로 install 시킨 후, reboot.
5. vmware-tools를 설치한다.(/tmp 디렉토리에 압축 풀어 설치할 것)
6. 재부팅하면 역시 X-Window가 뜨지 않음.
7. /tmp/vmware-tools-distrib/bin 디렉토리에 아래의 파일을 작성한다.
[vmware-fc2t3.patch]
--- vmware-config-tools.pl.before 2004-05-11 19:51:19.608817712 +0200 +++ vmware-config-tools.pl 2004-05-11 20:55:42.508567688 +0200 @@ -2788,7 +2788,7 @@ } sub xserver4 { - return xserver_bin() . '/XFree86'; + return xserver_bin() . '/Xorg'; } sub xserver3 { @@ -2984,7 +2984,7 @@ my $sub; $xversionAll = direct_command(shell_string(xserver4()) . ' -version 2>&1') =~ - /XFree86 Version (\d+\.\d+\.?\d*)/ ? $1: '0.0.0'; + /XFree86 Version (\d+\.\d+\.?\d*)/ ? $1: '4.3.0'; # This search order is issued from the XF86Config man page. if (defined $ENV{'XF86CONFIG'} && file_name_exist($xconfig_path . '/' . @@ -2994,6 +2994,8 @@ file_name_exist('/usr/X11R6/etc/X11/' . $ENV{'XF86CONFIG'})) { $xconfig_path = '/usr/X11R6/etc/X11'; $xconfig_file_name = $ENV{'XF86CONFIG'}; + } elsif (file_name_exist($xconfig_path . '/xorg.conf')) { + $xconfig_file_name = 'xorg.conf'; } elsif (file_name_exist($xconfig_path . '/XF86Config-4')) { $xconfig_file_name = 'XF86Config-4'; } elsif (file_name_exist($xconfig_path . '/XF86Config')) { @@ -3146,6 +3148,18 @@ $xversionAll); } +sub fix_gpm_file { + my $gpm_file = '/etc/sysconfig/gpm'; + if (file_name_exist($gpm_file)) { + my %p; + undef %p; + backup_file_to_restore($gpm_file, 'GPM_FILE'); + print "Fixing " . $gpm_file . "\n"; + $p{'^MOUSETYPE="exps2"$'} = 'MOUSETYPE="ms"'; + internal_sed($gpm_file . $cBackupExtension, $gpm_file, 0, \%p); + } +} + sub fix_mouse_file { my $mouse_file = '/etc/sysconfig/mouse'; # @@ -3179,6 +3193,8 @@ } } } + system('touch ' . $mouse_file); + fix_gpm_file(); return $enableXImps2; } @@ -3499,6 +3515,7 @@ if ($major == 4 && $minor >= 2 && file_name_exist($cX4MouseDriverFile)) { $line =~ s/%MOUSE_DRIVER%/vmmouse/g; + $line =~ s-/dev/mouse-/dev/input/mice-; } else { $line =~ s/%MOUSE_DRIVER%/mouse/g; }
8. 다음 명령을 통해 "vmware-config-tools.pl" 파일을 패치한다.
> patch -p0 vmware-configtools.pl <vmware-fc2t3
9. "vmware-config-tools.pl" 를 다시 실행하되, "vmhgfs module" 을 "build" 할 것이냐는 질문에는 반드시 "NO" 로 대답한다.
10. "startx" 를 수행한다.
10-1. 만일 mouse를 찾을 수 없다는 메시지와 함게 X-Window가 뜨지 않는다면 다음 명령을 수행 후, startx를 재수행한다.
> ln -s /dev/input/mice /dev/mouse[/code]
댓글 달기