Author Topic: [Updated] -- Diskless Setup Failed -- again...  (Read 5980 times)

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
[Updated] -- Diskless Setup Failed -- again...
« on: January 28, 2011, 02:54:16 pm »
Scenario:
   -- successful Kubuntu (LMCE) DVD install of snapshot 23661 (23670 was only 3.0 G)
   -- apt-get update/dist-upgrade w/o editing sources.list
   -- apt-get install subversion
   -- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer
   -- double clicked LinuxMCE on Desktop
   -- rebooted upon completion
   -- installed HVR-1600 and setup MythTV successfully (watched/recorded TV)
   -- apt-get install libdvdcss2
   -- ran apt-get update/upgrade with no packages needed or installed
   -- rebooted
   -- ran Diskless_CreateTBZ.sh -- FAILED (MythTV issue -- CTRL-C to exit
   -- manually edited sources.list to add deb http://deb.linuxmce.org/ubuntu replacements_debian main
   -- ran apt-get update (new packages installed) apt-get upgrade (no packaged installed)
   -- ran Diskless_CreateTBZ.sh -- SUCCESS!!!  :-)
   -- rebooted

At this point, I have connected two different PCs neither one will install successfully.  One PC is an old laptop that worked as a MD when I had snapshot 23614 installed (somehow I broke this system trying to set up MythTV and couldn't fix it and I couldn't get it to install successfully again so I downloaded a new snapshot and started all over). The other PC is one that I built for Mythbuntu that is attached to my home theater systems and works like a charm. Neither will do a successful MD boot.  They both get to the point of running Diskless_Setup.sh but then fail within seconds with Diskless Setup Failed.  I have searched the wiki and forum and I have had no success in fixing this.  I can find the MD in webadmin.

I have tried the following:
   -- deleting them and letting them go from scratch
   -- filling in the blanks and rebuilding image
   -- checked to make sure they are listed as i386
   -- checked /usr/pluto/bin/files.d/fstab-diskless for the double quote at the end of mkdir*****/Asterisk line
   -- checked for i386.tar.bz2 and amd64.tar.bz2in /usr/pluto/install
   -- removed wireless usb-nic from my Mythbuntu rig prior to net-booting it.
   -- checked to make sure that sudo nano /usr/pluto/diskless/MD#/etc/hosts included 192.168.80.1 dcerouter
   -- DHCP is turned on in webadmin, the router is set to 192.168.80.1 and all the IP ranges are all filled in.

These are the things that I found in the wiki and forum to try.  Most of them are older issues that have since been dealt with in later snapshots.  I'm at a total loss as to where to go from here.  I really don't want to do a complete reinstall of my system since this is the furthest I have ever gotten.

Any help is appreciated.  If I need to post some specs or log files, tell me what you need and I will post.

Thanks,

<M>
   
« Last Edit: January 29, 2011, 08:28:21 pm by MDH »

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: Diskless Setup Failed -- again...
« Reply #1 on: January 28, 2011, 11:40:34 pm »
Hi MDH,
I share your pain I recently downloaded 23618 and spent days getting the core to recognise the RAID and also getting the Foxconn 330 to do a PXE boot with help from a lot of people, then only to find out the Gyration remote device template is screwy then suddenly the other day the database got corrupeted whilst searching for a movie to watch so I had to go back to my original image that I created in Feb last year and it's all running fine again.

As I am on a limited plan with my ISP I will have to wait until I here there is a reliable snapshot.

I am curious about this step -- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer as I always just download the snapshot and use Ultra Iso to put it on to a Linux formatted USB stick drive saves on blank DVD's and the whole process is a lot faster.

I then do the following
 1. Boot off the USB stick and install Kubuntu
 2. Update the sources.list as per the attached
 3. apt-get update, upgrade and then finally a dist-upgrade
 4. Reboot
 5. Click on the LinuxMCE on the desktop and go get a coffee
 6. Do the Diskless Create
 
Should I be doing the new installer step as per your post

Regards
Beeker
(Limited Linux Knowledge)


MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: Diskless Setup Failed -- again...
« Reply #2 on: January 28, 2011, 11:57:10 pm »
Beeker,

I will have to check out these from your list as they are not in my sources.list.

deb http://fastspeedtest.net/mirrors/ubuntu/ intrepid main restricted universe multiverse
deb http://fastspeedtest.net/mirrors/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://fastspeedtest.net/mirrors/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.k-net.ru/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.k-net.ru/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.k-net.ru/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.k-net.ru/ubuntu/ intrepid-security main restricted universe multiverse

As far as the line "svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer" goes, I just did that so I could have the latest installer scripts withough having to download them individually.  I got it from the LMCE 1004 instructions on the wiki.  I don't know if it's necesarry but it seemed to help me get a good install. I was thinking about doing an svn to grab all the scripts but I don't think that I need to right now.

I'm going to have to check out the Ultra Iso thing that you talked about.  I don't have a limited plan with my ISP but it is slow.  My web is served through a mobile broadband stick through a laptop onto my network.  I am grandfathered into an unlimited plan since I haven't signed a new contract in about two years.

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: Diskless Setup Failed -- again...
« Reply #3 on: January 29, 2011, 12:14:12 am »
No problems,
The Ultra Iso works great along as long as your m/b supports USB boot, I fell for the trap of just copying the iso to the stick drive without fisrt making it a Linx USB++ boot drive, then I copied the iso to it.

Hope you find it useful, and I got the sources list from Kezza and it always seems to work, if you here of a working snapshot please let me know.............hope you get yours up and running. Next month when my limit rolls over again I might try one of the latest snapshots and by then the Gyration and RAID issue may of been fixed and I wish there was someway of adding the Foxconn fixes into the snapshots rather then having to do all the work each time to get the Atheros NIC to be recognised

I don't what's worse a slow or capped internet, here in Australia they are currently rolling out fibre to all homes but you can bet we will pay for the privilege of it and pay through the nose for downloads and uploads.....................it sucks

Cheers
Beeker

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: Diskless Setup Failed -- again...
« Reply #4 on: January 29, 2011, 02:17:59 am »
Keep an eye on the svn, especially if there is a ticket in for your particular issue.  Maybe you can just download what you need and place it in your system in the appropriate place.

Good Luck...and thanks for the info.

<M>

Beeker

  • Guru
  • ****
  • Posts: 267
    • View Profile
Re: Diskless Setup Failed -- again...
« Reply #5 on: January 29, 2011, 02:21:20 am »
THKS

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: [Updated] -- Diskless Setup Failed -- again...
« Reply #6 on: January 29, 2011, 08:37:22 pm »
I finally got my MD to boot past the Diskless Setup.

1st: I have to thank Tkmedia for helping in the chat channel #linuxmce.  Ulimately, based on tk's recommendation, I re-ran Diskless_CreateTBZ.sh, rebuilt the image for the MD through the webadmin interface, and rebooted the MD.  This time it booted and then "AVWizard Failed to Start X".  That is a different issue for a different day as this is just a test MD to make sure the net boot works.

The only difference between this time and the first time I rand Diskless_Create is that I added the fastspeedtest repos to the sources.list.  I took them from the file that Beeker gave me and I have included it in the reply.  I only added the fastspeedtest repos and not the others listed in the sources.list file.  Then I ran apt-get update and upgrade and it found and installed new files.  I don't know if that made the difference or not.  All I know is that it worked this time

Thanks to everyone for their help to get me this far.  See you in the IRC.

<M>