1

I wrote a preseed file for the Ubuntu 12.04 installation.

  1. But I want to avoid the unity-desktop. Is there any way to do this?

    and another thing is

  2. I tried to use cryptic password and generated by

    printf ubuntu | mkpasswd -s -m sha-512
    

The result is

$6$jZTXSnF0Gp$FawMAQXm2qfDzyKaknFs9NEU48s6z1Kxto6WI55Qf//tbeh4k//0IXS01yB.MA3Euk1ZLXb5lbq8y0j.JnEY9.

I pasted this in the preseed file. But after the installation, when I tried to login using the password ubuntu I can't login. Is there anything I'm doing wrong?

MadMike
  • 4,244
  • 8
  • 28
  • 50
Rajesh Rajendran
  • 1,107
  • 9
  • 18

1 Answers1

1

Avoid unity-desktop:

If you want to avoid unity desktop and rather have a CLI you'll have to edit the /etc/default/grub file. This link explains how:

Unable to login:

It's because you suppose the password to be "ubuntu", but its not... as,

printf ubuntu | mkpasswd -s -m sha-512

is not the correct way to specify the password to generate the hash.

You should do it this way:

echo "ubuntu" | mkpasswd -s -m sha-512

or simply:

mkpasswd -s -m sha-512

and then enter the password (ubuntu, as in your example).

Use the sha-512 hash thus generated.

rusty
  • 16,327
  • i usually do network networkboot.so i dont want to download the desktop packages form my server.this'll make intallation fast (i generally use gnome shell). – Rajesh Rajendran Jan 23 '14 at 06:31