Thứ Hai, 22 tháng 6, 2009

[P09] Làm gì khi chương trình thiếu bộ Uninstaller

Quản trị mạng – Bạn sẽ sử lý ra sao nếu một chương trình nào đó không cần sử dụng đến, và bạn muốn hủy bỏ cài đặt nó nhưng lại thiếu bộ uninstaller.

Trước tiên bạn cần tìm ra xem liệu bạn có một chương trình mà mình không mong muốn hay chỉ là một shortcut. Để tìm ra, bạn chỉ cần khởi chạy nó. Nếu tất cả những gì bạn nhận được là một thông báo lỗi thì đó chỉ là một shortcut.

Loại bỏ chương trình một cách dễ dàng: Xóa shortcut đó.

Tuy nhiên điều gì sẽ xảy ra nếu chương trình đó được khởi chạy thực sự? Nếu nó thiếu một bộ hủy cài đặt (uninstaller), việc remove nó sẽ không dễ dàng chút nào.

Và làm thế nào để biết được chương trình đó thiết bộ hủy bỏ cài đặt? Để bảo đảm được điều đó, bạn cần phải tìm trong cả menu con trong menu Start của chương trình và thành phần Add or Remove Programs của Control Panel (Programs and Features trong Vista).

Nếu không có một bộ hủy cài đặt thực sự bạn hãy thực hiện theo một số hướng dẫn dưới đây.

Hãy tìm ra giải pháp trên web. Vào cỗ máy tìm kiếm ưa thích của bạn và tìm tên chương trình, phiên bản và từ uninstall. Nếu các trường đó không hiện hữu kết quả nào, khi đó hãy thử với từ remove. Hy vọng bạn sẽ tìm được các hướng dẫn.

Nếu không, bạn sẽ phải tự remove chương trình của mình. Thực hiện theo các bước dưới đây để remove nó:

1) Back up registry của bạn. Đôi khi điều tồi tệ có thể xảy ra trong các bước thực hiện, chính vì vậy để bảo đảm chắc chắc và có thể khôi phục về trạng thái an toàn trước đó, phải backup registry của mình.

Để khởi chạy bộ soạn thảo Registry của Windows, bạn hãy chọn Start, Run (hoặc chỉ là Start trong Vista), đánh regedit, và nhấn ENTER. Để tạo một back up, hãy chọn File, Export. Trong phần 'Export range,' chọn All nếu không bạn cần phải thực hiện một số công việc trong hộp thoại này.

Thao tác này sẽ giúp bạn tạo một file .reg và tất cả những gì bạn cần khi khôi phục Registry là kích đúp vào nó và xác nhận rằng bạn muốn thay đổi Registry.

Tuy nhiên cách back up này cũng có vấn đề. Việc khôi phục toàn bộ Registry từ backup này không phải lúc nào cũng làm việc tốt. Ngay cả khi nó làm việc, nó cũng có thể xóa các key mới vừa được tạo khi bạn thực hiện backup.

Tuy nhiên chúng tôi có một giải pháp khác ở đây đó là sử dụng phần mềm ERUNT.

Chương trình này làm việc tốt trên các hệ điều hành Windows NT, Windows 2000, Windows XP và Vista. Tuy nhiên trong hệ điều hành Vista, bạn cần có một số mẹo nhỏ: Không khởi chạy ERUNT đơn giản bằng cách kích vào shortcut của nó và hãy kích phải vào shortcut và chọn Run as administrator.

Có một hạn chế ở đây đó là bạn không thể tự động chạy ERUNT mỗi khi khởi động bên trong Vista.

2) Tìm đường dẫn và tên file. Bạn sẽ cần đến các thông tin này cho một số bước khác. Kích chuột phải vào shortcut của chương trình trên menu Start của bạn và chọn Properties. Mọi thứ trong trường Target bên phía trái của dấu / cuối cùng là đường dẫn của chương trình; mọi thứ bên phía phải còn lại chính là tên của file. Cho ví dụ, nếu trường Target là "C:\Program Files\Bloat Software\SlowNBuggy.exe” thì đường dẫn của file sẽ là C:\Program Files\Bloat Software và tên file sẽ là SlowNBuggy.exe.

Hãy để cửa sổ Properties mở đó, vì bạn sẽ cần đến đường dẫn và tên file nhiều lần.

3) Kiểm các bộ autoloader. Chọn Start, Run (bạn không phải chọn Run trong Vista), đánh msconfig, và nhấn ENTER. Kích tab Startup. Quan sát bất cứ thứ gì có liên quan đến chương trình, gồm có đường dẫn hoặc tên file. Nếu tìm ra, hũy hủy chọn nó.

Tuy nhiên trước khi bạn hủy chọn một thứ gì đó bởi đường dẫn của nó, hãy bảo đảm rằng nó gồm có đường dẫn hoàn chỉnh. Vấn đề này là để tránh việc remove mọi thứ trong C:\Program Files.

Nếu bạn hủy chọn một thành phần nào đó, khi đó bạn sẽ bị yêu cầu khởi động lại khi đóng msconfig.

4) Xóa thư mục chương trình. Đó là đường dẫn mà chúng tôi đã giới thiệu cho bạn ở trên. Cho ví dụ, nếu đường dẫn của bạn là C:\Program Files\Bloat Software, khi đó hãy vào C:\Program Files và xóa thư mục Bloat Software.

Bạn có thể sẽ phải xác nhận hành động xóa này.

5) Xóa Registry. Có thể còn có thứ gì đó sót lại phía sau bởi vị khách mời không mong muốn của bạn. Bạn có rất nhiều phần mềm để làm sạch Registry của mình như: EasyCleaner, CCCleaner, Reg Organizer.

6) Xóa shortcut. Đóng cửa sổ Property mà bạn đã mở trong bước 2, sau đó xóa shortcut trong menu Start.

Khi đó chương trình sẽ được remove hoàn toàn.

Văn Linh (Theo PCworld)

[P08] Khôi phục tính năng bị mất và cài đặt Backup Utility của XP vào Windows Vista

Quản trị mạng - Nếu bạn đã từng sử dụng Windows XP thì chắc hẳn các bạn sẽ biết được rằng tính năng Backup Utility không hề được Microsoft hỗ trợ trong phiên bản XP Home Edition mà chỉ được giới thiệu trong Professional Edition. Đây là một tiện ích khá hiệu quả và dễ sử dụng trong hệ điều hành XP, tuy nhiên trong hệ điều hành mới Vista, Microsoft đã phát triển Backup and Restore Center nhưng tùy chọn Backup Files lại khá khó chịu. Vậy có cách nào để sử dụng tiện ích Backup Utility trong Vista? Nếu bạn có một CD XP Pro, bạn có thể cài đặt Backup Utility trong phiên bản XP Home thậm chí cả cài đặt trong Vista. Trong bài này chúng tôi sẽ giới thiệu cho các bạn mẹo để có thể cài đặt tiện ích Backup Utility này trong Windows Vista.

Cách thực hiện như sau:

Copy các file

Để copy các file Backup Utility của XP, bạn cần truy cập vào cài đặt đang làm việc của XP Pro. Để thực hiện điều đó, bạn cần phải khởi chạy Windows Explorer và điều hướng đến thư mục C:\Windows\System32. Khi đó, bạn cần phải tìm đến các file sau:

  • Ntbackup.exe — Windows Backup Utility executable
  • Ntmsapi.dll — Removable Storage Public Interfaces
  • Vssapi.dll — Volume Shadow Coy Requestor/Writer

Sau đó bạn có thể copy chúng vào một thư mục trên ổ USB để dễ dàng vận chuyển sang hệ thống Vista, xem thể hiện trong hình A bên dưới.

Hình A: Tạo một thư mục trên ổ đĩa USB và copy Backup Utility và copy các file cần thiết vào thư mục đó

Khi bạn cắm ổ Usb vào hệ thống Vista, bạn có thể copy toàn bộ thư mục Backup Utility vào thư mục C:\Program Files, như thể hiện trong hình B. Rõ ràng, bạn sẽ bắt gặp một số nhắc nhở của UAC và sẽ phải xử lý chúng sao cho thích hợp.

Hình B: Bạn có thể copy toàn bộ thư mục Backup Utility vào thư mục C:\Program Files trên hệ thống Vista

Khi bạn đã copy thư mục Backup Utility, bạn có thể mở nó, kích chuột phải vào file Ntbackup.exe, và chọn lệnh Send To | Desktop (Create Shortcut), như thể hiện trong hình C. Sau đó bạn có thể chuyển shortcut đến menu Start nếu muốn.

Hình C: Tạo một shortcut cho file Ntbackup.exe

Vô hiệu hóa hệ thống Removable Storage Management

Lúc này, bạn đã có các file cần thiết để chạy Backup Utility của XP trên hệ thống Vista, bạn cần kích hoạt hệ thống Removable Storage Management. Để thực hiện điều đó, hãy truy cập vào Control Panel, chọn Programs, sau đó kích Turn Windows Features On hoặc Off. Khi thực hiện như vậy, bạn sẽ bắt gặp các nhắc nhở của UAC và phải xử lý cho thích hợp với nó.

Khi hộp thoại Windows Features xuất hiện, hãy kéo danh sách, tìm và tích vào hộp kiểm Removable Storage Management, như thể hiện trong hình D. Để tiếp tục, kích OK.

Hình D: Tích vào hộp kiểm Removable Storage Management trong hộp thoại Windows Features

Chạy Backup Utility

Khi bạn đã kích hoạt hệ thống Removable Storage Management, chỉ tìm và kích shortcut Ntbackup.exe. Khi đó, Backup Utility sẽ khởi chạy và bạn có thể chọn ra file hay thư mục nào mà bạn muốn backup, xem thể hiện trong hình E.

Hình E: Backup Utility của Windows XP đang chạy trên hệ thống Vista, bạn có thể chọn ra file và thư mục nào mà bạn muốn backup.

(Cho dù hệ thống Removable Storage Management được kích hoạt, bạn vẫn có thể gặp phải cảnh báo về Removable Storage Service. Chỉ cần chọn hộp kiểm “Don’t Alert Me Again” và kích OK)

Văn Linh (Theo Techrepublic)

Thứ Bảy, 13 tháng 6, 2009

[P07] Luật sư Lê Công Định

http://www.vnexpress.net/GL/Phap-luat/2009/06/3BA10200/

Luật sư âm mưu chống lại nhà nước bị bắt

11h trưa nay, cơ quan an ninh điều tra Bộ Công an đã bắt luật sư Lê Công Định, 41 tuổi, ngụ quận 7, TP HCM để điều tra về hành vi câu kết chống lại nhà nước, âm mưu lật đổ chế độ cộng sản tại Việt Nam

Luật sư Lê Công Định hiện giữ chức Trưởng văn phòng luật sư Lawyer, có trụ sở trên đường Nguyễn Huệ, quận 1, TP HCM.

Luật sư Lê Công Định lúc bị bắt trưa 13/6. Ảnh: CAND.

Luật sư Định bị bắt theo Điều 88 – Bộ Luật hình sự, vì đã có những hành vi câu kết với các thế lực thù địch chống nhà nước Cộng hòa Xã hội Chủ nghĩa Việt Nam.

Theo cơ quan điều tra, từ năm 2005 ông Định đã móc nối với các tổ chức lưu vong tại nước ngoài hoạt động với mục tiêu lật đổ chế độ Cộng sản tại Việt Nam theo phương thức: lập các tổ chức chính trị đối lập "Đảng lao động" và "Đảng xã hội" để tập hợp lực lượng; đánh từ ngoài vào trong để gây rối loạn trong nước.

Luật sư Định bên cô vợ hoa hậu Ngọc Khánh. Ảnh: danong.com
Luật sư Định bên vợ, Hoa hậu Việt Nam 1998 Nguyễn Thị Ngọc Khánh. Ảnh: danong.com.

Với bí danh Chị Tư, luật sư Định, phụ trách cải cách hành chính, ủng hộ về luật pháp cho các tổ chức chính trị chống đối; liên hệ với tổ chức "Việt Tân" và "nhóm hành động", được gọi là "Nhóm nghiên cứu Chấn" do Trần Huỳnh Duy Thức "bí danh chị Ba" trực tiếp chỉ đạo tại TP. HCM. Từ năm 2005 đến nay, ông Định giữ vai trò tham mưu góp ý xây dựng cương lĩnh của tổ chức "Tập hợp thanh niên dân chủ", một số tổ chức phản động lưu vong ở Mỹ và Châu Âu.

Tài liệu của cơ quan điều tra cũng khẳng định, luật sư Lê Công Định đã nhiều lần sang Mỹ, Thái Lan gặp Nguyễn Sĩ Bình, người được cho là cầm đầu tổ chức "Đảng nhân dân hành động" tại Mỹ và Đảng Dân Chủ Việt Nam (Bí danh Chị Hai) đánh giá những vấn đề kinh tế, chính trị của Việt Nam và đề ra kế hoạch hoạt động chuẩn bị cho thời điểm Việt Nam xảy ra biến động chính trị lật đổ chế độ cộng sản vào năm 2010. Ngoài ra, ông Định còn soạn thảo Tân Hiến pháp cho Việt Nam.

Luật sư này từng ra nước ngoài tham gia khóa huấn luyện phương thức đấu tranh bất bạo động để làm nòng cốt cho "phong trào dân chủ" ở trong nước.

Theo luật sư Bùi Quang Nghiêm, Phó chủ nhiệm Đoàn luật sư TP HCM, ông Lê Công Định từng giữ chức Phó chủ nhiệm Đoàn luật sư thành phố từ năm 2005 đến 2008.

Vụ việc đang được các cơ quan chức năng tiếp tục điều tra làm rõ để xử lý.

Điều 88 Bộ Luật hình sự Việt Nam quy định các tội danh: Tuyên truyền xuyên tạc, phỉ báng chính quyền nhân dân; Tuyên truyền những luận điệu chiến tranh tâm lý, phao tin bịa đặt, gây hoang mang trong nhân dân; Làm ra, tàng trữ, lưu hành các tài liệu, văn hoá phẩm có nội dung chống Nhà nước Cộng hòa xã hội chủ nghĩa Việt Nam,

Người phạm tội có thể bị phạt tù từ ba năm đến mười hai năm. Nếu trường hợp đặc biệt nghiêm trọng thì bị phạt tù từ mười năm đến hai mươi năm.

An Nhơn

Thứ Sáu, 12 tháng 6, 2009

Thứ Tư, 10 tháng 6, 2009

[P05] How to dual-boot Windows XP and Linux

http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm?page=1

How to dual-boot Windows XP and Linux, on a system where you have already installed XP. Easy step-by-step tutorial that doesn't assume prior knowledge of Linux.

Page 1 - Intro

Updated 5 June 2008 to use Ubuntu 8.04 and Windows XP SP3

Scenario: You want the simplest way to dual-boot XP and Linux. You've already installed Windows XP and now want to dual-boot it with Ubuntu 8.04

Summary of tutorial: This is an updated tutorial (we previously used Ubuntu 7.04 and GPartEd (GNOME Partition Editor), but in this tutorial, we'll use Ubuntu 8.04 to make space on the XP partition and then use the GRUB bootloader to dualboot XP and Ubuntu.

This tutorial has been tested on a VMWare Workstation 6.0.3 virtual machine.

Page 2 - Boot Ubuntu from the Live CD

As we're assuming that XP has already been installed (either via an OEM or self-installation) I won't run through the XP installation process. We'll further assume that XP has been installed to a single NTFS partition which takes up the whole disk.

One interesting thing to note though - Ubuntu is happy to read NTFS partitions, so one potential configuration option is to either create a 2nd NTFS partition which will house data for access by both operating systems, or simply a 2nd hard drive, again formatted with NTFS.

Install Ubuntu

You'll need the latest desktop ISO of Ubuntu (8.04). You can choose a list of download mirrors from the Ubuntu website, or use this link from Planetmirror. Download the ISO and burn it to CD to create bootable Ubuntu CD.

Boot the XP machine from the CD and select "Install Ubuntu" from the boot menu.

Once the Live CD has loaded, on the Welcome screen choose your language and select Forward.

On the "Where are you" (timezone) page, select your location and then Forward.

On the next screen, choose the appropriate keyboard layout and then Forward.

Page 3 - Make room on the disk for Ubuntu

Ubuntu will then load the disk partitioner to determine where it's going to be installed. The default option is that Ubuntu will resize the Windows XP NTFS partition to make space for the Ubuntu install. You can drag the dividing line left or right to increase or decrease the amount of space to be freed up.

Once you're happy with the selection, click Forward.

Ubuntu then prompts you to commit the changes (despite what the warning, it won't take very long). Click Continue - the screen disappears and then click Forward again.

Page 4 - Set up Ubuntu

On the "Who are you?" screen, enter your username and password details, then click Forward.

On the Migrate Documents and Settings screen, if Ubuntu finds any user accounts to migrateit will happily import user settings from XP to Ubuntu. If it doesn't find any, obviously this isn't an option. Select as much or as little as you wish and click Forward.

On the "Ready to install" screen, you'll see that Ubuntu now has enough information to commence the installation. In the summary under Migrate Assistant, it should say "Windows XP Professional" along with any user account details you selected in the previous step

This means that regardless of whether Ubuntu found any user account to migrate, it certainly knows that Windows XP is installed on the other partition Click Install.

See the install through and then let it boot into Ubuntu.

When the install is complete the system will reboot. When the GRUB boot menu is displayed, have a look at the last entry in the list.

After the Ubuntu boot options, there will be an entry "Other operating systems" and beneath that "Microsoft Windows XP Professional". By default Ubuntu will load itself after 10 seconds, but you can select the XP option and the OS will boot normally.

The GRUB bootloader is decidedly better than XP's and XP doesn't handle dualbooting non-Microsoft operating systems very well, so there's little point trying to restore the XP bootloader. Be happy with GRUB!

End,

[P04] How-to Dual Boot Windows XP and Fedora or Red Hat Linux

http://www.overclockersclub.com/guides/dual_boot_fedora_xp/


Introduction

I was sitting here today thinking about all the times I've been asked to help someone setup a dual boot system with Windows XP and surprisingly, Red Hat or Fedora Linux. I say surprisingly, because in my opinion Red Hat and Fedora has always been the easiest Linux distros to install on a dual boot setup. Apparently it's not, as there are still quite a few people who ask me for help.

I'm far from a Linux expert, but I have managed to learn enough about it to be dangerous, and maybe even helpful on occasion. So I thought I'd put together a little "how-to" on installing Red Hat/Fedora on a system that already has Windows XP on it.

My suggestion to anyone wanting to dual boot Windows and Linux is to use two separate hard drives; one drive for Linux, and one drive for Windows. This just makes things easier, though it's really not any harder on system with one drive and multiple partitions.

Like I said, this guide is going with the assumption that you already have Windows installed, and that it resides on a separate hard drive than what you will be using for Linux.

Pre-Install Notes
**Note #1: It is highly recommended that you read through this entire guide at least once prior to using it as a reference while installing Fedora.

**Note #2: You can click on any image in this document to get a larger image (600x450 in most cases).

**Note #3: Red Hat has their own guide on how to configure a dual boot system, it can be found here. Red Hat's guide is more technical and less graphical than this guide is intended to be.

**Note #4: It is highly recomended that you back up any and all data before attempting to install Red Hat or Fedora Core 1.

**Note #5: This guide uses Fedora Core 1 for examples and screenshots. There is little differance in the install of Fedora Core 1 and Red Hat Linux 9.0.

Obtaining Fedora/RedHat
The first thing we want to do is download the Red Hat or Fedora Linux Operating System, you can follow this guide using Red Hat 9 or the Fedora Core 1. You can download Red Hat 9 directly from Red Hat, or get it off of one of the mirrors, and likewise you can download Fedora Core 1 from the Fedora Project or via one of the many mirrors.

Getting Fedora Core 1
The CDs for Fedora should be located in /pub/fedora/linux/core/1/i386/iso/ on any of the FTPs you visit. You'll probably see several different files once in that directory, looks for these three files:

yarrow-i386-disc1.iso (md5sum: 76ef22495d186580e47efd8d7a65fe6b)
yarrow-i386-disc2.iso (md5sum: fd23fe32fafe7557f5d1fa1d31100580)
yarrow-i386-disc3.iso (md5sum: 6a26b34069639d0c31465d4079a8e1b2)

Yarrow is just the "code name" for Fedora Core 1, much the same way Microsoft has used "code names" for the Operating systems (i.e. Janus, Chicago, Memphis, Cairo, Odyssey, Whistler, Longhorn, etc.).

Getting Red Hat 9
The CDs for Red Hat 9 should be located in /pub/redhat/linux/9/en/iso/i386/ on any of the FTPs you visit. You'll probably see several different files once in that directory, looks for these three files:

shrike-i386-disc1.iso (md5sum: 34048ce4cd069b624f6e021ba63ecde5)
shrike-i386-disc2.iso (md5sum: 6b8ba42f56b397d536826c78c9679c0a)
shrike-i386-disc3.iso (md5sum: af38ac4316ba20df2dec5f990913396d)

Just as Yarrow was the "code name" for Fedora Core 1, Shrike is the code name for Red Hat 9. Each version will have a different code name, you'll get use to it in time. ;)

The other files found in the FTP directories are the SRPMS or source code. If you are just starting out, you won't need to mess with those for a while. ;) Once you have finished downloading the CDs, you'll obviously need to burn them to disk. The files are in an iso CD image, so you can burn them using Nero, EZ CD Creator, or whatever CD burning program you like.

Installing Fedora
Once the files are burnt to disk, it's time to put CD 1 back in the drive and reboot the computer.

Assuming you have a bootable CD-ROM, and have the drive enabled as a bootable drive, you should see a screen asking how to install Fedora.

At the boot: line, you can pass parameters here depending on your system and hardware. A list of available boot options can be found here.

I don't have to pass anything to installed Fedora on my system, so I'll just hit to install in graphical mode. Enter any of the parameters into the boot: line and then hit .

You'll then see some text fly by as Fedora probes (think plug-and-play here, not aliens) your system hardware. Hopefully some of the information looks familiar. Like your CD/DVD drives, Hard Disk, etc.

After that you should you should see a screen that appears that allows you to check the CD's for errors, or skip and proceed with the install. This is a nifty little feature that I wish Microsoft would incorporate with Windows installer. I can't count how many times, I've tried to install Windows only to find that the CD was unreadable during the last 5 min of the install. � That's enough of that, I'll try and stay away from the reasons I like Linux more than Windows during the rest of this article.

Either check your CD, or skip on to the install, and we'll see the Anaconda installer starts up, which is Red Hat's system installer.

If all went well, a nice graphical installer screen should have come up welcoming you to the Fedora Core. Click Next.

You're first choice is to select the language used during the install process. Chose English (or whatever other language you want) and click next.

Next we get to select the appropriate keyboard type for the system. If you don't know what keyboard type you have, select U.S. English and click next.


The next item to select is the mouse. If the system was able to probe your mouse, the correct option should be listed. If you connect to a KVM switch, the probe will probably be unsuccessful and you'll want to manually select what type of mouse you have. In my case, I have an unsupported mouse and have it connected to a KVM, so I'll select Wheel Mouse (PS/2) from the generic list. Select your mouse, and click next.

The third thing we get to configure is the monitor. Just like the mouse and keyboard if the system was able to probe your monitor successfully, it'll be selected. Otherwise you'll need to select your monitor from the long list of models. In my case, I'm using a Generic CRT display 1600x1200. Chose your monitor value and click next.

Now that the keyboard, mouse, and monitor have been configured, we are asked what type of install we want to do. The options are:
- Personal Desktop
- Workstation
- Server
- Custom

For those of you installing Fedora for the first time, I would suggest you just go with the Personal Desktop option. As you get more failure with Fedora/Linux you can go back and experiment with the other options. The custom option is exactly what you would expect. It allows you to select each and every component that gets installed. So, we are just going to select Personal Desktop and click next.

In order to install Fedora the Hard Disk is going to have to be formated with a Linux partition. We have the option of allowing the Fedora installer to partition or to do it manually. We'll let Fedora do it, so just click next. Don't worry, we're not going to erase Windows.

The next screen ask us what drives we are going to use for our installation. You should also see a box that list several drives that you can (un)select.

I'm sure some of you are probably asking what the heck hda and hdb are. These are your hard drives. hda is the primary master, and hdb is the primary slave. If we had more hard drives, they would be hdc, hde, and so on.

As I mentioned at the start of this guide, we are configuring a dual boot system with Windows installed on one hard disk (hda), and Fedora Linux to be installed on the 2nd disk (hdb). Since Windows was installed on the first disk (hda), we obviously don't want to over write it when we install Fedora (hard to dual boot with only one OS :p), we will uncheck hda. This tells Fedora to only use hdb for the install.

If the hard disk you are installing Fedora is unpartitioned/formated, don't worry about any of the top options. If you have the disk formated with NTFS, FAT32, FAT16, or anything else, select Remove all partitions on this system. Don't worry, it doesn't really mean ALL partitions, it's only talking about those on the hard disk we selected.

Also, we want to check the box below that says Review and Modify the partitions, so select that and click next.


Since we selected the review and modify box on the last screen, we get a nice little display of the hard drives layout. Even though we told Fedora not to use hda in the install, information about that drive, and all other drives is still displayed.

Post Configuration
On the first boot, you'll come across the Fedora post install configuration/setup. Just a few little things here to take care of.

First, we have to accept the License Agreement.

Next we'll select the system time and date, or tell Fedora to use Network Time Protocol.

Then we'll add a user, this will be who you will want to log in as when not doing admin functions. Logging in as root all the time is not recommended!

Next you'll get to play a test sound to make sure the sound card was set up correctly. If you use digital output, you'll probably not hear anything, and will need to install updated drivers, or do some configuration to the sound settings later.


If any additional CDs were needed, you have the option of installing software from it here.

That's it, post configuration is done. Click next to exit this section.

And you should now see a login box. Enter your user name, and hit enter, enter your password, and hit enter, and you'll be logged in (assuming the user name and password are correct).

Fedora will start up, well, actually the Gnome desktop will start up, and you'll see some icons in the progress bar as various components of the Operating system is started.

Congratulations, you should now be looking at the Gnome desktop.

Play around, and ask for help. You've just entered a whole new world.

End,


[P03] Linux và Windows XP trên cùng một PC

Khi bật máy, nếu muốn cả Linux và XP cùng khởi động để chọn lựa sử dụng, bạn có thể làm theo hướng dẫn sau đây.

Thử nghiệm được thực hiện với Ubuntu 7.04 (một phiên bản của Linux) và Windows XP Service Pack 2. Trong đó, Ubuntu được cài đặt trước, XP được cài sau trên ổ cứng Seagate 80 GB SATA.

Cài đặt Ubuntu

Bước đầu tiên là phải tạo đủ không gian trên đĩa để cài đặt Windows XP. Bản thân đĩa Ubuntu Live CD đã chứa trình biên tập GNOME Partition Editor để thay đổi dung lượng phân vùng (“khoảng đất” riêng biệt trên đĩa cứng) cho Linux nhưng đĩa cho Ubuntu 7.04 lại cài file hệ thống khi kiểm tra và gây ra lỗi. Thay vào đó, người dùng nên dùng GParted Live CD hoạt động độc lập. GParted LiveCD ISO có sẵn tại trang này và bạn có thể ghi nó vào đĩa CD để khởi động hệ thống từ đó (ví dụ có thể dùng bản 0.3.4-7).

Khởi động máy từ GParted LiveCD. Tùy vào hệ thống, bạn có thể chọn lựa chọn khởi động cấu hình tự động.

Trong khi khởi động, nhấn nút Enter 2 lần khi gặp dấu nhắc đợi lệnh để chọn sơ đồ bàn phím và cài đặt ngôn ngữ. Khi giao diện GUI chính hiện ra, nhấn chuột phải vào phân vùng chính (tùy vào cách cài đặt của bạn, có thể là /dev/sda1) và chọn Resize/Move.

Dùng thanh trượt này để tạo đủ không gian chứa cài đặt XP sau này và nhấn vào Resize/Move.

Khi đã xong, thoát GParted và khởi động lại máy từ đĩa Windows XP CD.

Cài đặt Windows XP

Khi đĩa CD tải xong, nhấn phím Enter để cài đặt Windows XP, sau đó nhấn F8 để chấp nhận thỏa thuận mua bản quyền.

Khi màn hình phân vùng hiện ra, bạn có thể thấy Windows Setup nhận ra hai phân vùng Ubuntu đã có và chỉ định tên ổ bằng chữ cái (mặc dù không thể đọc dữ liệu từ chúng).

Khoảng không gian đã tạo cho Windows XP xuất hiện ở đây, chọn nó và nhấn Enter.

Do phân vùng hoạt động chính (/dev/hda1) được đánh dấu là khởi động được, Windows không thể cài đặt được cho đến khi phân vùng này được đánh dấu là không hoạt động để phân vùng mới “chiếm quyền”. Hãy nhấn Enter để thay đổi và sau đó định dạng lại phân vùng mới.

Không may là XP phát hiện ra 2 phân vùng Ubuntu và đã chỉ định tên ổ cho chúng nên phân vùng mới định dùng để cài sẽ được chỉ định là ổ F. Đây không phải là chữ cái chuẩn dành cho ổ của Windows.

Tuy nhiên, vấn đề này chỉ gây khó khăn với những ứng dụng cũ cần mặc định nơi cài đặt là ổ C.

Khởi động lại máy khi Windows đã được cài đặt và bạn sẽ thấy máy khởi động ngay vào XP. Do thành phần nạp khởi động GRUB của Ubuntu trong Master Boot Record đã bị ghi đè nên Ubuntu lúc này chưa khởi động được.

Có khá nhiều cách làm cho phân vùng Ubuntu khởi động được nhưng khá cầu kỳ và phải dùng đến phân vùng FAT32 (FAT32 có thể dùng cho cả Ubuntu và Windows). Tuy nhiên, cách đơn giản hơn là cài đặt lại GRUB làm thành phần nạp hệ thống.

Cài đặt lại GRUB vào Master Boot Record

Khởi động máy bằng cách dùng Ubuntu Live CD.

Vào trình biên tập GNOME Partition Editor và bạn có thể thấy Windows XP Partition được coi là /dev/hda2 và được đánh dấu làm phân vùng khởi động.

Nhấn chuột phải vào phân vùng Windows và chọn Manage Flags.

Bỏ dấu ở “boot” và chọn Close.

Nhấn chuột phải vào phân vùng chính của Ubuntu (/dev/hda1), chọn Manage Flags và đánh dấu vào “boot”, nhấn Close.

Bây giờ cài đặt lại GRUB. Mở Terminal (Applications, Accessories, Terminal) và gõ vào dòng sudo grub

Ứng dụng GRUB sẽ hoạt động. Gõ tiếp find /boot/grub/stage1

Lệnh này sẽ tìm nơi GRUB được cài đặt và bạn sẽ nhận được kết quả là hd(0,0).

Đổi vị trí bằng cách gõ root (hd0,0)

Bây giờ bạn chuẩn bị cài đặt lại GRUB vào Master Boot Record chứ không phải vào phân vùng Ubuntu nữa.

Gõ setup (hd0)

Việc này sẽ giúp lưu GRUB vào Master Boot Record. Gõ vào dòng QUIT và EXIT để thoát khỏi GRUB và Terminal. Sau đó, khởi động lại hệ thống. Ubuntu sẽ xuất hiện khi khởi động.

Chỉnh sửa menu khởi động

Điều cần làm tiếp theo là chỉnh sửa menu khởi động GRUB để cho phép Windows XP nạp khi khởi động.

Khởi động hệ thống vào hệ điều Ubuntu và vào tiện ích Terminal. Gõ vào dòng sudo gedit /boot/grub/menu.lst

Việc này sẽ giúp nạp tập tin menu GRUB (về cơ bản là một tập tin văn bản) bên trong GEdit.

Xuống mục sau “## ## End Default Options ##". Ở đó có các thành phần của menu GRUB.

Để tạo một đầu mục mới, kéo xuống tới gần cuối danh sách và gõ các dòng sau:

title Windows XP

root (hd0,1)

makeactivechainloader +1

Việc này sẽ đặt một mục trong menu khởi động để nạp Windows XP từ phân vùng của nó (hd0,1).

Nếu muốn tùy chọn nhiều hơn, lên phía trên MENU.LST và tìm dòng TIMEOUT. Giá trị bằng số được chỉ định cho TIMEOUT xác định khoảng thời gian truy nhập vào menu khởi động (tính bằng giây) trước khi hệ điều hành mặc định tải xuống.

Để cấu hình cho hệ thống khởi động song song, tốt hơn nên nâng giá trị này lên.

Ngay trên TIMEOUT là DEFAULT. Tính năng này xác định hệ điều hành nào được khởi động mặc định.

Hệ thống đếm số bắt đầu từ 0 và đếm lên. Vì vậy DEFAULT = 0 nghĩa là Ubuntu luôn khởi động mặc định. Nếu muốn Windows XP luôn khởi động chính, hãy thay đổi giá trị của nó về 0.

Lưu MENU.LST và thoát khỏi GEdit rồi khởi động lại hệ thống. Gõ phím ESC khi được yêu cầu lấy menu khởi động. Đi xuống đề mục Windows XP vừa tạo và nhấn Enter. Windows XP sẽ được tải xuống.

Sưu Tầm