| --- | Log | opened Sat Jun 12 00:00:26 2010 |
| 05:19 | -!- | balbir [~balbir@122.167.253.251] has quit [Read error: Connection reset by peer] |
| 05:31 | -!- | balbir [~balbir@122.172.166.10] has joined #uml |
| 10:31 | -!- | Netsplit synthon.oftc.net <-> graviton.oftc.net quits: smash |
| 10:32 | -!- | Netsplit over, joins: smash |
| 12:52 | -!- | Intensity [HsVMBJJa4W@panix5.panix.com] has left #uml [ERC Version 5.3 (IRC client for Emacs)] |
| 14:52 | -!- | Xaero_Vincent [~vincent@or-71-50-2-55.dhcp.embarqhsd.net] has joined #uml |
| 15:09 | -!- | bsarora [~balbir@122.172.166.10] has joined #uml |
| 15:24 | -!- | bsarora [~balbir@122.172.166.10] has quit [Quit: Ex-Chat] |
| 15:24 | -!- | bsarora [~balbir@122.172.166.10] has joined #uml |
| 15:31 | <Xaero_Vincent:#uml> | hello... I'm having a small problem with UML... |
| 15:32 | <Xaero_Vincent:#uml> | i cannot seem to be able to write to the file system... its read only. But I'm using a COW file... shouldn't it be writable? |
| 15:33 | <Xaero_Vincent:#uml> | this is what I was using: |
| 15:33 | <Xaero_Vincent:#uml> | linux ubd0=uml-root-lucid-cow,uml-root-lucid mem=256M umid=um11 con0=fd:0,fd:1 con=pts |
| 15:33 | <Xaero_Vincent:#uml> | the kernel boots and running uname -r reveals the UML kernel is booted |
| 15:33 | <Xaero_Vincent:#uml> | but i cannot run any apps that need write access |
| 15:36 | -!- | Walex [~Walex@82-69-39-138.dsl.in-addr.zen.co.uk] has joined #uml |
| 15:36 | <Xaero_Vincent:#uml> | hi walex |
| 15:37 | * | Walex:#uml waves |
| 15:37 | <Xaero_Vincent:#uml> | walex... I seem to be having a problem with UWL... probably a very easy fix but I just dont know it |
| 15:38 | <Xaero_Vincent:#uml> | i'm using this command to boot the uwl kernel |
| 15:38 | <Xaero_Vincent:#uml> | linux ubd0=uml-root-lucid-cow,uml-root-lucid mem=256M umid=um11 con0=fd:0,fd:1 con=pts |
| 15:38 | <Xaero_Vincent:#uml> | and it boots fine to the cow filesystem |
| 15:38 | <Xaero_Vincent:#uml> | but I cannot write anything to it |
| 15:38 | <Xaero_Vincent:#uml> | I keep receiving read-only filesystem errors |
| 15:39 | <Xaero_Vincent:#uml> | any ideas? |
| 15:39 | <Walex:#uml> | I dont know UML well, but it looks likely that either you haven't specified COW right, or the permissions on the images are not right. |
| 15:39 | <Walex:#uml> | you can probably use 'strace -e trace=file' to figure out which is which. |
| 15:40 | -!- | epa [~epa@cs27002110.pp.htv.fi] has quit [Ping timeout: 480 seconds] |
| 15:40 | <Xaero_Vincent:#uml> | ok |
| 15:40 | <Walex:#uml> | anyhow RO fs can also be that the filesystem is damaged, but unlikely in this case. |
| 15:40 | <Xaero_Vincent:#uml> | well the cow file was just automatically generated right |
| 15:40 | <Xaero_Vincent:#uml> | I get this from the boot command though |
| 15:41 | <Xaero_Vincent:#uml> | EXT3-fs: mounted filesystem with ordered data mode. |
| 15:41 | <Xaero_Vincent:#uml> | VFS: Mounted root (ext3 filesystem) readonly. |
| 15:41 | <Walex:#uml> | thats right, the fs is initially mounted RO regardless. |
| 15:43 | <Xaero_Vincent:#uml> | hmm... yea well I've tried doing chmod and chown on the file system images |
| 15:43 | <Xaero_Vincent:#uml> | doesn't seem to make any difference |
| 15:45 | <Xaero_Vincent:#uml> | strace just throws this |
| 15:45 | <Xaero_Vincent:#uml> | strace: invalid system call `uml-root-lucid' |
| 15:46 | <Xaero_Vincent:#uml> | walex... one thing I've noticed is that I get no login prompt... as soon as the kernel is booted, it appears I log into the filesystem as a chroot |
| 15:49 | -!- | epa [~epa@cs27002110.pp.htv.fi] has joined #uml |
| 15:52 | <Walex:#uml> | Xaero_Vincent: what you say does not make much sense. Are you sure you know enough to be attempting this? |
| 15:54 | <Walex:#uml> | Xaero_Vincent: probably with "log into the filesystem as a chroot" means that the system boots into single user fs repair mode. Which means that UML probably is working. |
| 15:55 | <Xaero_Vincent:#uml> | walex... let me do a pastebin real quick |
| 16:00 | <Xaero_Vincent:#uml> | http://pastebin.com/6Sb7NArp |
| 16:00 | <Xaero_Vincent:#uml> | I highlighted the interesting part |
| 16:01 | <Xaero_Vincent:#uml> | yes it does seem to be working accept that I cannot figure out how to write to the COW filesystem file |
| 16:02 | <Xaero_Vincent:#uml> | except* |
| 16:03 | <Walex:#uml> | Xaero_Vincent: the filesystem is mounted read-only when it is damaged. |
| 16:04 | <Xaero_Vincent:#uml> | hmm well I just used debootstrap to populate the filesystem file |
| 16:04 | <Xaero_Vincent:#uml> | i can also run say "nano" within that |
| 16:04 | <Walex:#uml> | Xaero_Vincent: it is not at all obvious that the '/dev/ubd0' which is bound to the disk image file is read only |
| 16:05 | <Walex:#uml> | Xaero_Vincent: try to 'mount -o remount,rw /' after doing 'e2fsck /dev/ubd0' |
| 16:05 | <Walex:#uml> | Xaero_Vincent: I think that your main problem is that you built the fs and/or the initrd wrong. |
| 16:05 | <Xaero_Vincent:#uml> | hmm ok... I'll try that |
| 16:05 | <Xaero_Vincent:#uml> | i didn't create an initrd image |
| 16:06 | <Xaero_Vincent:#uml> | I really just followed these instructions |
| 16:06 | <Xaero_Vincent:#uml> | https://help.ubuntu.com/community/UserModeLinux |
| 16:10 | <Xaero_Vincent:#uml> | mount -o remount,rw / |
| 16:10 | <Xaero_Vincent:#uml> | that worked |
| 16:10 | <Xaero_Vincent:#uml> | the file system is now writable |
| 16:12 | <Xaero_Vincent:#uml> | thanks :) |
| 16:13 | <Xaero_Vincent:#uml> | can uml be integrated like a chroot environment and share a running X11 server? |
| 16:13 | <Xaero_Vincent:#uml> | or does UML have to have its own running xserver? |
| 16:13 | <Xaero_Vincent:#uml> | I haven't found any information online about UML and X11 |
| 16:49 | <Walex:#uml> | Xaero_Vincent: you asking rather wrong questions. |
| 16:49 | <Walex:#uml> | Xaero_Vincent: UML is essentially a virtual machine environment. Whatever distro you run in it defines the answer |
| 16:51 | <Xaero_Vincent:#uml> | ok... so I cannot bind say /dev/shm and /dev/tmp with that and the host to create like a UWL chroot environment for X11 apps |
| 16:51 | <Xaero_Vincent:#uml> | I have to install a seperate X11 inside the guest like a VM |
| 16:53 | <Xaero_Vincent:#uml> | Probably VirtualBox or Xen are a better option for this? |
| 16:55 | <Xaero_Vincent:#uml> | thanks for your help btw :) |
| 17:08 | -!- | Xaero_Vincent [~vincent@or-71-50-2-55.dhcp.embarqhsd.net] has quit [Quit: Leaving] |
| 17:54 | -!- | Walex [~Walex@82-69-39-138.dsl.in-addr.zen.co.uk] has quit [Remote host closed the connection] |
| 22:52 | -!- | balbir [~balbir@122.172.166.10] has quit [Ping timeout: 480 seconds] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has joined #uml |
| --- | Log | closed Sun Jun 13 00:00:26 2010 |