+ Responder ao Tópico



  1. #1

    Padrão User Mode Linux

    Presciso botar um UML rodando para teste,, HOJE. e nao ta dando mto certo ...

    Tou usando um Debian, quem tiver um tutorial passo a passo ou coisa do tipo eu agradeceria pois ele nao ta montando a particao , vive dando pau de fsck (mas cai no shell).

    instalei via apt-get.

    baixei o root_fs Debian30r0-ext2 da pagian do usermodelinux.sourceforge

  2. #2

    Padrão User Mode Linux

    -- Erro

    Checking root file system...
    fsck 1.27 (8-Mar-2002)
    fsck.ext2: No such file or directory while trying to open /dev/ubd/0
    /dev/ubd/0:
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


    fsck failed. Please repair manually and reboot. Please note
    that the root file system is currently mounted read-only. To
    remount it read-write:

    # mount -n -o remount,rw /

    CONTROL-D will exit from this shell and REBOOT the system.


    -- Comando

    Kernel command line: ubd0=Debian-3.0r0.ext2 eth0=tuntap,,,192.168.2.6 con1=/dev/tty6 root=/dev/ubd0


    ---
    Eu jah criei no host, os /dev/ubd ... com mknod ubd0 b 98 0 , por exemplo.

  3. #3

    Padrão User Mode Linux

    ACK, finalmente achei.


    A imagem do sourceforge vem configurada com devfs, e soh montar ela com mount -o loop e entao editar o /etc/fstab e mudar para /dev/ubd0 e pronto. ta ok.

  4. #4

    Padrão User Mode Linux

    q saco, agora ele nao me mostra a tela de login fica paradaum la e depois fala q os IDs dao respawn muiito rpaido...

  5. #5

    Padrão User Mode Linux

    Jah tentei todos os exemplos da pagina do UML.


    here are a number of interesting things you can do with this capability.

    First, this is how you get rid of those bleeding console xterms by attaching them to host ptys:

    con=pty con0=fd:0,fd:1

    This will make a UML console take over an unused host virtual console, so that when you switch to it, you will see the UML login prompt rather than the host login prompt:

    con1=tty:/dev/tty6


    ate con1=port:9000

    exceto o serial line e o xterm, pois nao tenho como testar.



    Alguem tem alguma luz?? jah estou de saco cheio de UML

  6. #6
    Visitante

    Padrão User Mode Linux