Installing/deinstalling packages under Ubuntu & handling boot problems with Grub ...
I am very new to Linux (though have some background on
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
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.
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
|All times are GMT -5. The time now is 02:23 PM.|