Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What's the username and password for an Ubuntu Live CD image?

I ask cause I've recently copied the contents of an Ubuntu based live ISO (easypeasy, the ldistro for nwtbooks) onto a harddisk, but the squash fs is corrupt. Most likely cause I copied it live. :) so it's not autologging in. Is there a username/password for this?

Update: I tried username Ubuntu and a blank password, it didn't work.

share|improve this question
Did you try lowercase ubuntu with no password? – binki May 11 '15 at 0:34

Try 'ubuntu' with an empty password. If that doesn't work, you're probably best recopying the squashfs.

Note that squashfs is readonly, I assume you mean you copied the unionfs that lies on top of the squashfs and the tmpfs?

share|improve this answer
'ubuntu' with blank password didn't work. I did a dd of the /dev/sdc (the SD card with the live 'CD' image) to /dev/sda (the harddrive). I think.... – Rory Jun 16 '09 at 9:15
@Rory: It's 'ubuntu', not 'Ubuntu', in case you haven't ever heard of case-sensitivity... – Quandary Aug 7 '12 at 19:50
This worked for me. Thanks. – Geoff Mar 17 '13 at 17:10
Also mention that other flavors may have they own username, for example in Kubuntu 15.04 the user name is 'kubuntu'. – Javier Mr Apr 30 '15 at 21:42

if the username "ubuntu" with an empty password doesn't work, you may be able to add a new user to the system as follows:

  1. boot from a live CD, and start a terminal session
  2. mount your hard drive partition somewhere like /mnt (ie. mount /dev/hda1 /mnt)
  3. chroot /mnt
  4. adduser username
  5. reboot
share|improve this answer
up vote 2 down vote accepted

I'm not sure what the answer is, but I've solved this another way, so it's not a problem for me anymore. I discovered recently that it's possible to disable the password for an account. You can do this to force ssh key logins. I suspect that's what's going on here.

share|improve this answer

The default password for the user 'ubuntu' on Ubuntu is blank.

If you want to run the 'Live CD' from your hard disk then there's no need to make an image of it using dd.

You can simply copy the casper directory to your hard disk and create an entry in grub which looks like:

title    Ubuntu Live
uuid     <insert_uuid_of_partition_with_ubuntu_on>
kernel   /lucid32/vmlinuz boot=casper noprompt ignore_uuid live-media-path=lucid32 locale=en_GB.UTF-8 quiet splash --
initrd   /lucid32/initrd.lz

Here I've copied the contents of the casper directory into a directory named /lucid32 on the root of a data partition. It's the UUID of the data partition that's added to GRUB's boot option. The option 'live-media-path=' tells casper, the Ubuntu live boot software, where to look for the filesystem image so you can create the directory by whatever name you like.

share|improve this answer

protected by Jeff Atwood Oct 30 '10 at 8:48

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.