Debian support

Moderators: the_dude, Posters

Debian support

Postby helper » Fri May 08, 2009 12:37 pm

I've just added the possibility to start the debian 5.0 netinstall iso (debian-501-i386-netinst.iso) so I'm here to share.

I added those lines in /var/public/cgi-bin/
Code: Select all
sub ImportDebian


  if ($result) {return $result}

  if ($result) { return $result }

  if ($result) { return $result }

  if ($result) { return $result }

  local($result)=&AddToFstab("$fullfilename $mountdir iso9660 loop 0 0");
  if ($result) { return 1 };

  if ($version eq "deb5")
    if ($result) { return $result }
    if ($result) { return $result }
    if ($result) { return $result }

  return 0;


Then i added modified those lines in the ImportOS sub (always in
Code: Select all
  if ($os eq "wi2ks" || $os eq "wi2k3" || $os eq "winxp")
  } elsif ($os eq "bartpe") {
  } elsif ($os eq "fc4" || $os eq "fc5" || $os eq "fc6") {
  } elsif ($os eq "suse100" || $os eq "suse101" | $os eq "suse102") {
  } elsif ($os eq "sol10") {
  } elsif ($os eq "ub606s" || $os eq "ub610") {
  } elsif ($os eq "rip19") {
  } elsif ($os eq "ts22") {
  } elsif ($os eq "dsl301" || $os eq "dsl31") {
  } elsif ($os eq "gp0330" ) {
  } elsif ($os eq "esx252" || $os eq "esx301" ) {
  } elsif ($os eq "deb5") {
  } else {
    return 1;

Notice that i only added the $os eq "deb5" condition.

After that i configured the os through the web interface (so i selected the debian-501-i386-netinst.iso image file I downloaded).

Then i modified /var/public/tftproot/pxelinux.cfg/default this way:
Code: Select all
# serial 0,9600
default local
prompt 1
timeout 600
F1 help.txt
display message.txt
label local
  localboot 0

label deb5
  kernel linux.deb5
  append initrd=initrd.deb5.gz

label deb5g
  kernel linux.deb5
  append video=vesa:ywrap,mtrr vga=788 initrd=initrd.deb5g.gz -- quiet

Notice that i only added two labels (the second one is for the graphic installation method)

Then i also modified the message.txt (/var/public/tftproot/message.txt)
Code: Select all
        *****  Ultimate Deployment Appliance  *******                         
For help press 0f<F1>07                                                           
Current Templates:                                                             
  ID    Description                                                           

 deb5   Debian 5.0 net-install
 deb5g  Debian 5.0 net-install (graphic)

That's all...

I did this very quickly so the changes are pretty raw: i didn't change the variables names in the ImportDebian sub, the web interface won't make you see that the debian image is mounted etc... but it works.
Hope that debian support will be added in any future uda release...

Posts: 1
Joined: Fri May 08, 2009 12:18 pm

Re: Debian support

Postby apex » Tue Apr 13, 2010 7:34 pm

The latest Debian works with no modification in UDA 2.0 beta 14. The only problem I had was that Debian complained it could not find the mirrors "bad archive mirror". This was because Debian was attempting to use my UDA's DNS server, which I didn't have. I installed named on UDA and everything worked from then on.
UDA 2.0 b14 - Working: UDBCD4Win 3.5 Live, BartPE 3.1.10a Live, Clonezilla 1.2.3-27 Live, Windows 2003 Server, openSUSE 11.2, Fedora 12, CentOS 5.4, Ubuntu 9.10, Debian 5.0.
Posts: 12
Joined: Thu Feb 18, 2010 2:35 am

Return to OS Support

Who is online

Users browsing this forum: No registered users and 0 guests