Sometime we need to have 2 operating systems, e.g. ubuntu+windows xp.
Install XP first, then install Linux. But maybe later on, we want to delete the linux and its partition. After we delete, we cannot access the windows XP! GRUB loader error? What should we do?
Don't worry, you can have your XP back as long as you don't delete the partition. Grab your windows XP cd, and boot from your windows XP cd, same as if you want to install XP. Then wait until it asks for options. Choose Recovery Console by pressing 'R'. Then the screen will becomes black, then wait. Choose the windows you'd like to recover. Usually the first one, then input the number '1'.
You will now on command prompt: "C:\WINDOWS"
do these commands below:
- cd ..
- fixboot c:
- fixmbr
- bootcfg /rebuild
After that type exit, enter then your PC will be rebooted. If it's working properly, usually you will boot to your XP again. Good luck!
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts
Thursday, August 30, 2007
Tuesday, August 28, 2007
Root Password in Ubuntu
How to change the 'root' password in Ubuntu?
When we are installing Ubuntu it doesn't ask about su (super user) and its password, only user name and password for logging in as a normal user. After installing Ubuntu, when we want to install or access '/', we asked to log in as 'root'. To have full access in Ubuntu, we must logged in or do the commands as 'root' user. What is the default password for 'root'?
As default Ubuntu has no password set for the root user. To gain 'root' access, we just add sudo in front of our commands
e.g. #sudo tar xvfz xampp-linux-1.5.3.tar.gz -C /opt
But sometimes it is disturbing, because after executing commands with sudo added in front of it usually it asked for the password (the same password we have inputted when installing the ubuntu).
Easier option is to log in as 'root' user. Because the default the 'root' user has no password, we can manually set the password by opening the terminal and executing:
$ sudo passwd root
Ok, now you can logged in as root or su.
When we are installing Ubuntu it doesn't ask about su (super user) and its password, only user name and password for logging in as a normal user. After installing Ubuntu, when we want to install or access '/', we asked to log in as 'root'. To have full access in Ubuntu, we must logged in or do the commands as 'root' user. What is the default password for 'root'?
As default Ubuntu has no password set for the root user. To gain 'root' access, we just add sudo in front of our commands
e.g. #sudo tar xvfz xampp-linux-1.5.3.tar.gz -C /opt
But sometimes it is disturbing, because after executing commands with sudo added in front of it usually it asked for the password (the same password we have inputted when installing the ubuntu).
Easier option is to log in as 'root' user. Because the default the 'root' user has no password, we can manually set the password by opening the terminal and executing:
$ sudo passwd root
Ok, now you can logged in as root or su.
Subscribe to:
Posts (Atom)