LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-15-2007, 11:59 AM   #1
rakeshj
Member
 
Registered: Jun 2007
Posts: 44

Rep: Reputation: 15
Question Installing/deinstalling packages under Ubuntu & handling boot problems with Grub ...


Hello All,

I am very new to Linux (though have some background on
Tru64 Unix).

1. Recently, I installed Ubuntu on USB hard disk on
my PC which has Windows XP on it. During
installion I installed Grub on MBR. Due to this I
can not boot my PC to XP unless USB hard disk is
connected on it & then I choose Windows when menu
is presented. I want to get rid of this problem.
What is the safest & correct way of getting rid of
this problem (Grub does not go ahead if USB drive
is not connected)& be able to dual-boot. I can
re-install Ubuntu if needed. Kindly suggest.
2. I want to install LAMP under Ubuntu, due to no
experience on Ubuntu & with the help of my friend
who also does not have much experience on Ubuntu,
we started installing Apache & Mysql-Server under
Ubuntu. But seems this is not the correct way of
installing LAMP. Now, how can I De-instal these
packages & re-Install LAMP (latest Apache, PHP &
Mysql). In general where can I get information on
installing/deinstalling packages under Ubuntu,
listing the packages which are installed on my
machine under Ubuntu & listing of packages which
are available which can be installed under Ubuntu.

Sorry for such long query. If any links for tutorials on Ubuntu are available, kindly suggests.

Thanking you. Best regards, RAKESH
 
Old 07-15-2007, 01:43 PM   #2
moeFEAR
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
Hi,

I can only try to help with the GRUB issue. GRUB needs to load its files in order to be able to load other OSs, such as linux and XP. These files are located on the partition in which you installed linux. GRUB won't work without these files. Since these files are on the USB, GRUB won't work without it.

To get rid of this problem, you'll have to move GRUB's needed files onto the disk were you have XP. To do this, you'll need to create a linux partition there, then, from linux, re-install GRUB, using the commmand grub-install configuring it to install it's files on the linux partition on the XP disk. Read many of the available tutorials on configuring GRUB.

hint: grub-install --root-directory=/dev/"linux_partition_on_xp_drive" hd0

afterwards, update your menu.lst file, which should be in the /boot/grub folder on the linux partition on the xp disk.
 
Old 07-15-2007, 02:27 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
The link below may be useful for the GRUB issues.

The easiest way to install (and remove) SW is with the package manager. In the GUI menus, you may find either Synaptic or Adept (or both). In a terminal, it is simply "apt-get".

the package manager uses "repositories" to store all the different packages. You may want to edit the repositories--for a GUI client (Synaptic or Adept), this in in the menus. In a terminal, look for the file /etc/apt/sources.list
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB error 21 when trying to boot XP after installing Ubuntu 7.04 on seperate hdd neilksos Linux - Newbie 16 05-05-2008 08:07 AM
deinstalling windows installing ubuntu gibney Linux - Newbie 3 03-12-2007 03:55 AM
GRUB Problems On Installing Windows After Ubuntu!!! crash_override_me Ubuntu 10 06-21-2006 03:53 AM
Debian & Ubuntu installer - cannot select packages? Barry Bingham Debian 5 08-03-2005 08:14 PM
Fedora 2 & GRUB Dual Boot Problems with XP Farmer-Senship Linux - Newbie 1 08-21-2004 12:26 AM


All times are GMT -5. The time now is 09:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration