Problem with password on jaunty using coboots

Help
Flov91
2009-05-07
2013-05-09
  • Flov91
    Flov91
    2009-05-07

    Hi,
    I put the image of my ubuntu junty using the shell script cobootstrap (it use debootstrap). At the start of coLinux all start well.
    When there is the password promt all my pass does nothing.
    (Before using the cobootstrap, I set my root password empty).

    If you have some advises,
    thanks a lot

     
    • Henry N.
      Henry N.
      2009-05-28

      Some distributions don't allow empty passwords.

      Boot with an other Linux (Live CD, small Debian coLinux image) and mount your image as loop device, "chroot" into your mounted image and set a password ("chroot /mnt /bin/passwd" or so). Sync and umount your image.

      Or:
      Add "init=/bin/sh" to the kernel parameters, boot coLinux, on prompt type "mount -o remount,rw", change your password with "passwd", run "sysnc" and "mount -o remount,ro". Now you can terminate coLinux and reboot it without "init=/bin/sh".