Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 16th February 2009, 02:52
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default

Sorry Falko, but I don't know how to do what you are asking. I only have about a year on Linux, all with Ubuntu.

There are some things I can do and have been able to figure out on my own, but I don't know where to start with your request.

Are you asking me to mount the root LVM partition of the CentOS DomU somewhere on Dom0?
Reply With Quote
Sponsored Links
  #12  
Old 16th February 2009, 19:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Quote:
Originally Posted by atjensen11 View Post
Are you asking me to mount the root LVM partition of the CentOS DomU somewhere on Dom0?
Yes, like this:
Code:
mount /dev/vg0/vm1 /mnt
chroot /mnt
passwd
(Replace /dev/vg0/vm1 with the correct volume.)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 19th February 2009, 04:51
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default

Sorry, but this is what I get when I chroot into the LV for the CentOS DomU and issue the passwd command:

Code:
bash-3.2# passwd
bash: passwd: command not found
Reply With Quote
  #14  
Old 19th February 2009, 21:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

What's the output of
Code:
yum search passwd
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 20th February 2009, 06:51
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default

Here is the output of yum search passwd when the DomU is mounted and chroot.

Code:
bash-3.2# yum search passwd
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 37, in ?
    import rpmsack
  File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 24, in ?
    from packages import YumInstalledPackage
  File "/usr/lib/python2.4/site-packages/yum/packages.py", line 31, in ?
    import rpmUtils.arch
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 273, in ?
    canonArch = getCanonArch()
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 269, in getCanonArch
    return getCanonX86_64Arch(arch)
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 232, in getCanonX86_64Arch
    f = open("/proc/cpuinfo", "r")
IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
It looks like an error with /proc/cpuinfo, but I don't know how to proceed. Up until now, I have been an apt-get and not a yum guy. This is really my first exposure to CentOS and it is through my Xen machine.
Reply With Quote
  #16  
Old 21st February 2009, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Hm... I've never tried to install CentOS with xen-create-image. Seems as if there are still a few bugs.

Have you tried to install the latest xen-tools package directly from the xen-tools web site? Maybe it works with that version.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 23rd February 2009, 05:51
atjensen11 atjensen11 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 199
Thanks: 9
Thanked 6 Times in 6 Posts
Default

I haven't tried that yet, but I could.

I guess I could back up a step here and explain why I am trying to install CentOS. I was really hoping to install HyperVM on a DomU to test the management of my Xen virtual machines.

In my network, all servers are Linux servers and they run headless. Therefore, it appears that others I have tried such as Virt-Manager required some kind of graphic desktop environment to be enabled on the server.

The client machines on the network are all Windows XP machines. Most of the server management is done from these Windows machines through SSH.

Has anyone had any luck in installing a Xen management console on a Windows machine? One option I thought about was using a live CD or USB key an effectively run a Linux environment on the Windows machine temporarily to manage Xen.

Thoughts?
Reply With Quote
  #18  
Old 24th February 2009, 20:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

The tools that I know are all Linux-based... (that doesn't mean there isn't a cool Windows tool out there).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5.2 Domu on Ubuntu Hardy Dom0 Camran Installation/Configuration 5 3rd November 2009 11:57
Ubuntu 8.04 LTS - RAID 1 + LVM + XEN atjensen11 HOWTO-Related Questions 1 20th January 2009 21:35
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server): Mailfiltering melwood HOWTO-Related Questions 1 2nd September 2008 13:54
how do I setup a Ubuntu domU guest on a CentOS / Fedora Core XEN server? SoftDux Installation/Configuration 0 27th July 2008 20:49
Virtual Users And ... And SquirrelMail (Ubuntu 8.04 LTS) WaveQam HOWTO-Related Questions 2 18th July 2008 08:28


All times are GMT +2. The time now is 11:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.