Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by gumball60
at 2024-08-04 09:07:35
Point:500 Replies:20 POST_ID:828699USER_ID:11593
Topic:
Linux;Linux Programming;Linux Distributions
I have installed Centos 6.4 on my Windows 7 laptop in it's free space. Centos now boots up to the command line awaiting account/password. I expected the GUI. Also, I cannot seem to access my Windows files.
Question 1: Is this normal for Centos 6.4 and how do I upgrade/update/obtain the Centos GUI environment?
Question 2: How do I access my Windows files?
Question 1: Is this normal for Centos 6.4 and how do I upgrade/update/obtain the Centos GUI environment?
Question 2: How do I access my Windows files?
Expert: savone replied at 2024-08-04 17:36:18
Enter the following commands to add the rpmfusion repos which will give you ntfs-3g.
Make sure you copy the whole lines, this forum is wrapping them to another line.
###BEGIN ONE LINE####
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
#### END LINE####
###BEGIN ONE LINE####
yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
#### END LINE####
Then try to install ntfs-3g again
Make sure you copy the whole lines, this forum is wrapping them to another line.
###BEGIN ONE LINE####
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
#### END LINE####
###BEGIN ONE LINE####
yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
#### END LINE####
Then try to install ntfs-3g again
Author: gumball60 replied at 2024-08-04 17:26:25
Savonne tried yum -y install ntfs-3g, but received No package ntfs-3g available...Error Nothing to do. ntfs-3g would be a great finishing touch.
Again thanks everyone
Again thanks everyone
Expert: arnold replied at 2024-08-04 17:19:21
To access your emails going forward might require that you change the mode by which you access your email from presumably POP3 to IMAP.
Given you will have only one system active at one time, certain files can not be accessed.
Using a virtualized Centos VM might be prefereable given that you can share the host resources with the VM while both are running. or test different configuration i.e. using windows shares and SAmba on the VM.
or adding unix to the windows and using NFS to share resources.
VMWARE or VirtualBox. In the learning stages the amount of disk space a VM will need is <20GB
Given you will have only one system active at one time, certain files can not be accessed.
Using a virtualized Centos VM might be prefereable given that you can share the host resources with the VM while both are running. or test different configuration i.e. using windows shares and SAmba on the VM.
or adding unix to the windows and using NFS to share resources.
VMWARE or VirtualBox. In the learning stages the amount of disk space a VM will need is <20GB
Author: gumball60 replied at 2024-08-04 17:14:44
I was able to boot into Windows partition by selecting the Windows Grub. I now need to edit the grub(arnold suggested) so that it provides me the option.
Thanks everyone....now to play with Centos 6.4
Thanks everyone....now to play with Centos 6.4
Assisted Solution
Expert: arnold replied at 2024-08-04 17:14:01
125 points EXCELLENT
You need to reconfigure grub.conf to include a reference to the windows platform. Though windows may have an issue which may mean you would need to boot using a windows 7 disk and then use bcedit/bootrec to recreate the bootloader for windows and include the boot directive for linux.
Expert: savone replied at 2024-08-04 17:11:18
Did you install windows first or CentOS first. It looks like you installed windows first, CentOS on top of it. You should be shown a menu at boot and you can select Windows at that menu to boot into Windows.
Here is a link explaining how to edit the grub menu to make Windows the default if you would rather have it that way.
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-grub-configfile.html
For accessing your Windows data you will need to install the NTFS filesystem which Windows uses. Run the following command to install the necessary packages.
yum -y install ntfs-3g
Here is a link explaining how to edit the grub menu to make Windows the default if you would rather have it that way.
http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-grub-configfile.html
For accessing your Windows data you will need to install the NTFS filesystem which Windows uses. Run the following command to install the necessary packages.
yum -y install ntfs-3g
Author: gumball60 replied at 2024-08-04 16:28:06
Thanks Savonne, Rindi....I now have the Centos 6.4 GUI
I see(but cannot access) my Windows 7 ntfs.
Arnold: My computer now boots exclusively to Centos 6.4
But what I really would like to do is to be able to either boot into the Windows 7 OR Centos? My windows have my email, documents,etc.. I need them
I see(but cannot access) my Windows 7 ntfs.
Arnold: My computer now boots exclusively to Centos 6.4
But what I really would like to do is to be able to either boot into the Windows 7 OR Centos? My windows have my email, documents,etc.. I need them
Expert: arnold replied at 2024-08-04 15:49:19
Accessing the windows files directly may be an issue depending which files you wish to access, i.e. files within the profile c:users\%username%
how are you trying to access? do you see a /dev/sda1 as the windows partition and is it mounted and if not you need to mount it before you can access the data within.
Please clarify your windows file access.
how are you trying to access? do you see a /dev/sda1 as the windows partition and is it mounted and if not you need to mount it before you can access the data within.
Please clarify your windows file access.
Expert: amitnepal replied at 2024-08-04 14:08:27
This may also help you to use Centos DVD as a repo :
http://www.asksysadmins.com/index.php?qa=49&qa_1=how-can-i-used-rhel-centos-installation-dvd-for-yum-repo
http://www.asksysadmins.com/index.php?qa=49&qa_1=how-can-i-used-rhel-centos-installation-dvd-for-yum-repo
Expert: rindi replied at 2024-08-04 13:50:01
I don't think he can't boot into windows. From how I understand it, he only can't access the windows data from the CentOS installation, and that would be because the ntfs kernel modules aren't included with the default installation of CentOS.
At least that is how I interpret the Question.
At least that is how I interpret the Question.
Expert: arnold replied at 2024-08-04 13:43:04
The reason you cannot boot into windows is because you over wrote the MBR.
Your centos might not detect a network, ifconfig -a
netstat -rn
Thus, eliinating any possibility of updating the environment, but you could use the install DVD/cd as suggested with groupinstall by including the option of the DVD/cd as a repository.
http://fritshoogland.wordpress.com/2012/05/26/using-your-dvd-as-a-yum-repository-on-a-rpm-based-linux/
Here is a reference to configure grub to boot windows
http://wiki.centos.org/HowTos/GrubInstallation#head-9cefdf03346305429c960b24d38d9506793f6e21
Your centos might not detect a network, ifconfig -a
netstat -rn
Thus, eliinating any possibility of updating the environment, but you could use the install DVD/cd as suggested with groupinstall by including the option of the DVD/cd as a repository.
http://fritshoogland.wordpress.com/2012/05/26/using-your-dvd-as-a-yum-repository-on-a-rpm-based-linux/
Here is a reference to configure grub to boot windows
http://wiki.centos.org/HowTos/GrubInstallation#head-9cefdf03346305429c960b24d38d9506793f6e21
Expert: rindi replied at 2024-08-04 11:12:15
Maybe he didn't ask about those options because he didn't know they existed. We're here to give the best advise, not just to answer Questions to the letter. Very often it is better to give good advice.
A new installation is quick, and in this situation he has only just done an installation, so there is no data lost if a new installation is done. Apart from that he'll learn the options you have during the installation that way.
A new installation is quick, and in this situation he has only just done an installation, so there is no data lost if a new installation is done. Apart from that he'll learn the options you have during the installation that way.
Expert: savone replied at 2024-08-04 11:02:51
@amitnepal, you are correct, he can use KDE or Gnome.
@rindi, He did not ask for other options or the easiest way out. He asked for an answer to a problem.
@gumball60,
It looks like your network is not set up correctly.
Try running the following commands:
dhclient
then run this command and post the output here:
ifconfig -a; cat /etc/resolv.conf
@rindi, He did not ask for other options or the easiest way out. He asked for an answer to a problem.
@gumball60,
It looks like your network is not set up correctly.
Try running the following commands:
dhclient
then run this command and post the output here:
ifconfig -a; cat /etc/resolv.conf
Assisted Solution
Expert: amitnepal replied at 2024-08-04 10:40:32
75 points EXCELLENT
Hello,
If you can group install the desktop environment :
yum groupinstall "KDE Desktop"
and then update inittab as mentioned above
See a similar question at :
http://www.asksysadmins.com/?qa=60/install-gui-on-minimal-installation-of-centos
If you can group install the desktop environment :
yum groupinstall "KDE Desktop"
and then update inittab as mentioned above
See a similar question at :
http://www.asksysadmins.com/?qa=60/install-gui-on-minimal-installation-of-centos
Expert: rindi replied at 2024-08-04 10:36:58
In my opinion your easiest option would either be to use one of the virtual options I suggested above, or do the installation again, but this time don't select the minimal installation.
Expert: duncanb7 replied at 2024-08-04 10:26:18
The answer is already there, but please reply
Might I ask why you install CentOS6 linux on window , for what application or requirement ?
And why you don't install window on CentOS Linus server ?
Simple question with complicated thought , I think you know it now
Please advise
Duncan
Might I ask why you install CentOS6 linux on window , for what application or requirement ?
And why you don't install window on CentOS Linus server ?
Simple question with complicated thought , I think you know it now
Please advise
Duncan
Author: gumball60 replied at 2024-08-04 10:23:49
Just trying to learn rhel/centos
savonne:
I did load minimal
Here are the results when I tried the commands you suggested:
loaded mirrors
Could not retrieve mirror list: http...
14: pycurl error 6: "Could not resolve host 'mirrorlist.centos.org'
Error: Could not find a valid basecurl for repo: base
distro loaded 2.6.32-358.e16.i686
Possible problem: All my computers are i386
savonne:
I did load minimal
Here are the results when I tried the commands you suggested:
loaded mirrors
Could not retrieve mirror list: http...
14: pycurl error 6: "Could not resolve host 'mirrorlist.centos.org'
Error: Could not find a valid basecurl for repo: base
distro loaded 2.6.32-358.e16.i686
Possible problem: All my computers are i386
Accepted Solution
Expert: savone replied at 2024-08-04 09:51:00
300 points EXCELLENT
All the above information is correct, but doesnt seem to answer your question.
Most likely you installed CentOS server or minimal.
So now boot into CentOS and log is as root.
Run the following command to install the GUI (Gnome).
yum groupinstall basic-desktop desktop-platform x11 fonts
Then edit the file called /etc/inittab and change this line:
id:3:initdefault:
to this:
id:5:initdefault:
type reboot and it should boot into the GUI.
Most likely you installed CentOS server or minimal.
So now boot into CentOS and log is as root.
Run the following command to install the GUI (Gnome).
yum groupinstall basic-desktop desktop-platform x11 fonts
Then edit the file called /etc/inittab and change this line:
id:3:initdefault:
to this:
id:5:initdefault:
type reboot and it should boot into the GUI.
Expert: rindi replied at 2024-08-04 09:30:15
How did you install CentOS? Normally you can select what software you want to install during the installation, including what GUI you want to use (for example Gnome or KDE).
To get access to ntfs file-systems you will also have to install the ntfs-ng kernel modules.
If your PC has enough resources, you could also install VMware Player or Oracle's VirtualBox within windows, and then install your CentOS (and further OS's) as virtual machines, that would give you the advantage of being able to run both OS's at the same time, and you wouldn't need to add the ntfs modules, as you can use shared folders to be able to use your host's file-systems.
To get access to ntfs file-systems you will also have to install the ntfs-ng kernel modules.
If your PC has enough resources, you could also install VMware Player or Oracle's VirtualBox within windows, and then install your CentOS (and further OS's) as virtual machines, that would give you the advantage of being able to run both OS's at the same time, and you wouldn't need to add the ntfs modules, as you can use shared folders to be able to use your host's file-systems.
Expert: duncanb7 replied at 2024-08-04 09:11:19
Might I ask why you install CentOS6 linux on window , for what application or requirement ?
And why you don't install window on CentOS Linus server ?
Please advise
Duncan
And why you don't install window on CentOS Linus server ?
Please advise
Duncan