Christoph Bouvier | 1 Jun 2006 10:07
Picon
Picon

[uml-user] Set terminal background color

Hi everybody,
I am invoking my UML instances from an rxvt terminal window with black
background and white foreground color. For some weird reason the
terminal window that pops up with the UML login prompt is inverted -
white background and black text color.
I've no idea where to change this. What is really weird is that I moved
my UML images from one host (running Debian) to another (running Ubuntu)
 - this color inversion only appears on the latter one. Does anybody
have a clue where to change terminal window background colors?

(When calling rxvt one can pass the colors to rxvt as arguments. But UML
opens another terminal window with different colors...)

Currently, I start my UML instances that way:
./linux mem=64M ubd0=./umlmaster.img ubd1=./swapmaster.img con=pty
con0=fd:0,fd:1 con1=xterm eth0=tuntap,tap0

Any help is appreciated, thanks very much in advance!

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Daniel Lundberg | 1 Jun 2006 13:56
Picon

[uml-user] Moving from UML to standalone

Hiya,
 
This might be a really, really stupid question, but I'm not in-tune with what UML really does so please excuse if so.
 
I'm on an UML server via my ISP, but thinking of moving to either a new virtual hosting service or a standalone machine.
Is it possilbe to do an image of my UML installation and extract it on a physical harddrive, and getting it to boot?
 
I fear I can simply forget this but it would be really nice since I've got a pretty complex system setup.
 
Regards,
Daniel
Lull, Rick | 1 Jun 2006 14:24

RE: [uml-user] Moving from UML to standalone


I'd think it was possible to use dd to copy the file that contains the UML
root_fs to a physical hard drive, but you would need to have physical access
to the machine at the ISP, which is probably not a possibility. Maybe have
them burn a DVD of it?

Rick

________________________________________
From: user-mode-linux-user-admin <at> lists.sourceforge.net
[mailto:user-mode-linux-user-admin <at> lists.sourceforge.net] On Behalf Of
Daniel Lundberg
Sent: Thursday, June 01, 2006 7:57 AM
To: user-mode-linux-user <at> lists.sourceforge.net
Subject: [uml-user] Moving from UML to standalone

Hiya,
 
This might be a really, really stupid question, but I'm not in-tune with
what UML really does so please excuse if so.
 
I'm on an UML server via my ISP, but thinking of moving to either a new
virtual hosting service or a standalone machine.
Is it possilbe to do an image of my UML installation and extract it on a
physical harddrive, and getting it to boot?
 
I fear I can simply forget this but it would be really nice since I've got a
pretty complex system setup.
 
Regards,
Daniel

________________________________________________________________________________________________________________________________
________________________________________________________________________________________________________________________________

The information in this communication is intended to be confidential to the Individual(s) and/or Entity
to whom it is addressed.
It may contain information of a Privileged and/or Confidential nature, which is subject to Federal and/or
State privacy regulations.
In the event that you are not the intended recipient or the agent of the intended recipient, do not copy or use
the information
contained within this communication, or allow it to be read, copied or utilized in any manner, by any other
person(s).  Should
this communication be received in error, please notify the sender immediately either by response e-mail
or by phone,
and permanently delete the original e-mail, attachment(s), and any copies.

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
Nic James Ferrier | 1 Jun 2006 14:44
Picon

Re: [uml-user] Moving from UML to standalone

")
Message-ID: <8764jlcaf4.fsf <at> nicferrier.tapsellferrier.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

"Daniel Lundberg" <daniel <at> dti.nu> writes:

> This might be a really, really stupid question, but I'm not in-tune
> with what UML really does so please excuse if so.
>
> I'm on an UML server via my ISP, but thinking of moving to either a
> new virtual hosting service or a standalone machine.  Is it possilbe
> to do an image of my UML installation and extract it on a physical
> harddrive, and getting it to boot?
>
> I fear I can simply forget this but it would be really nice since
> I've got a pretty complex system setup.

A uml file system is most normally an ext3 (or some other fs) image
plus a cow file (for local writes). You could just export the
filesystem.

Alternately, standard backup tools would do the job.

--

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Jeff Dike | 1 Jun 2006 16:25

Re: [uml-user] Moving from UML to standalone

On Thu, Jun 01, 2006 at 08:24:53AM -0400, Lull, Rick wrote:
> 
> I'd think it was possible to use dd to copy the file that contains the UML
> root_fs to a physical hard drive, but you would need to have physical access
> to the machine at the ISP, which is probably not a possibility. Maybe have
> them burn a DVD of it?

Use tar if it's going to a physical disk.  In this case, you'll need
to fix device names in fstab, inittab, and securetty, and make sure
that grub/lilo are set up correctly.

If it's going to another UML host, then just copy the filesystem image
(and COW image, if applicable) over.

				Jeff

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Anthony Brock | 1 Jun 2006 16:55

Re: [uml-user] Moving from UML to standalone

Quoting Daniel Lundberg <daniel <at> dti.nu>:
> Is it possilbe to do an image of my UML installation and extract it   
> on a physical harddrive, and getting it to boot?

Depending on your Linux flavor (Fedora, Debian, etc.), it may help to  
pre-install some packages that a UML instance doesn't need. For  
example, you may need to install the software for grub (or lilo), the  
kernel (with kernel modules), etc.

Also, I've used tar for backing up (and restoring) instances. It works  
quite well. Just remember use your boot-loader (grub, lilo, etc) to  
reinstall the boot block when you move it to its own hardware.

Also, it wouldn't hurt to have a rescue disk pre-built so you have a  
known, working means for booting the instance.

Good luck!

Tony

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Blaisorblade | 1 Jun 2006 10:59
Picon
Favicon

Re: [uml-user] Set terminal background color

On Thursday 01 June 2006 10:07, Christoph Bouvier wrote:
> Hi everybody,
> I am invoking my UML instances from an rxvt terminal window with black
> background and white foreground color. For some weird reason the
> terminal window that pops up with the UML login prompt is inverted -
> white background and black text color.
> I've no idea where to change this. What is really weird is that I moved
> my UML images from one host (running Debian) to another (running Ubuntu)
>  - this color inversion only appears on the latter one. Does anybody
> have a clue where to change terminal window background colors?
>
> (When calling rxvt one can pass the colors to rxvt as arguments. But UML
> opens another terminal window with different colors...)

> Currently, I start my UML instances that way:
> ./linux mem=64M ubd0=./umlmaster.img ubd1=./swapmaster.img con=pty
> con0=fd:0,fd:1 con1=xterm eth0=tuntap,tap0
>
> Any help is appreciated, thanks very much in advance!
Uml is using xterm, you'd want it to use rxvt. You can do it by passing the 
additional switch:
xterm=$(which rxvt)

Refer to ./linux --help looking for xterm for additional details.
--

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 

-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Etay Meiri | 1 Jun 2006 06:17
Picon

Re: [uml-user] Where is the latest skas patch?

Oh, sorry. I eventually did the whole patch/build procedure directly on
the target (skas) machine (FC5 with gcc 4.1.0) and both the host and the
uml guest worked ok. This machine is different then my dev machine
(ubuntu 6.0.6 with gcc 4.0.3) where the rebooting kernel was compiled.

Etay

On Tue, 2006-05-30 at 19:56 +0200, Blaisorblade wrote:
> On Sunday 21 May 2006 20:50, Etay Meiri wrote:
> > I think I copied .config from 2.6.15 and didn't change the label.
> > Modules were installed into the wrong directory and I booted with a mix
> > of new kernel with old modules. Let me try again and get back if there
> > are any problems.
> Ok, got no answer - so you did not get any problems? I'd like to know to 
> "close this bug" (not that we have a bug tracking system, but this one was so 
> important that I tracked it with my mind; given my hardware crash, these days 
> it's more reliable than computers).
William Stearns | 5 Jun 2006 23:16
Picon
Favicon

[uml-user] UML book review on Slashdot

Good afternoon, all,
 	Ravi Kumar just posted a review of Jeff's UML book on Slashdot:

http://books.slashdot.org/article.pl?sid=06/06/05/169212

 	In inimitable Slashdot fashion, the comments currently are a 
discussion of whether UML should stand for User-Mode Linux or Unified 
Modeling Language.  *sigh*  That said, the review looks good.
 	Does everyone have their copy yet?  *smile*
 	Cheers,
 	- Bill

---------------------------------------------------------------------------
         "If all the Chinese simultaneously jumped into the Pacific off a
10 foot platform erected 10 feet off their coast, it would cause a tidal
wave that would destroy everything in this country west of Nebraska."
(Courtesy of DevilKin <devilkin-lkml <at> blindguardian.org>)
--------------------------------------------------------------------------
William Stearns (wstearns <at> pobox.com).  Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at:   http://www.stearns.org
--------------------------------------------------------------------------
Jason Lunz | 5 Jun 2006 19:19

Re: [uml-user] updated skas3 patch for 2.6.17?

On Mon, Jun 05, 2006 at 12:31:48PM +0200, Blaisorblade wrote:
> > nope. thanks, though.
> > map : /proc/mm map failed, err = 9
> > map : /proc/mm map failed, err = 9
> > map : /proc/mm map failed, err = 9
> >
> > the 'map failed' thing repeats forever.
> Try this one - it'll be shortly on the website, I've found the cause of the 
> bug you see.

this one's working fine for me with 2.6.17-rc5-git11. thanks!

Jason

Gmane