News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Fail on installation

Started by spo0ner, August 18, 2007, 01:28:17 AM

Previous topic - Next topic

spo0ner

I attempt to install with the LinuxMCE Quick install DVD and it fails as it goes through the installation.
I get to the option to select which drive to install it to.
I select the drive and it sets up the partition (inodes and stuff) and then states it created the filesystem and returns both drive identifiers (hdb1 '/' and hdb5 'swap').

I'm not sure what's going wrong.  I also go to CTRL-ALT-F8 and the last thing it states was initializing was:
"Running local boot scripts /etc/rc.local" and never progresses any further.

I have had Ubuntu and MythTV both on this box before so I don't believe it's the hardware causing an issue.

Any help is sincerely and greatly appreciated.

spo0ner

So no suggestions by anyone?

totallymaxed

Quote from: spo0ner on August 18, 2007, 01:28:17 AM
I attempt to install with the LinuxMCE Quick install DVD and it fails as it goes through the installation.
I get to the option to select which drive to install it to.
I select the drive and it sets up the partition (inodes and stuff) and then states it created the filesystem and returns both drive identifiers (hdb1 '/' and hdb5 'swap').

I'm not sure what's going wrong.  I also go to CTRL-ALT-F8 and the last thing it states was initializing was:
"Running local boot scripts /etc/rc.local" and never progresses any further.

I have had Ubuntu and MythTV both on this box before so I don't believe it's the hardware causing an issue.

Any help is sincerely and greatly appreciated.

We've installed lmce-0704 from the DVD iso numerous times now on different i915/i945 & i965 Cores without problems... so I assume there is something about your hardware that is causing the DVD iso to fail. Not sure what that might be though.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

pinio

Quote
[ ... ]
We've installed lmce-0704 from the DVD iso numerous times now on different i915/i945 & i965 Cores without problems... so I assume there is something about your hardware that is causing the DVD iso to fail. Not sure what that might be though.

I had exacly the same problem, what U have to do is switch to console (alt+2)

sudo -i
vi /usr/bin/lite-installer.sh
comment the line that runs the formatdrive function
and run the /usr/bin/lite-installer.sh script again

it worked for me

Best Regards

spo0ner

Thank you for all your assistance.

I now have a system up and running and am working through the configuration as I type.

Thank you, again, so very much.

Chris

tossil

Ok, was having the same problem so I did as you said

1. switch to console (alt+2)

2. sudo -i

3. vi /usr/bin/lite-installer.sh

4. comment the line that runs the formatdrive function

5. and run the /usr/bin/lite-installer.sh script again

ok... I get stuck at #4.  I looked all over for "formatdrive" and "formatdrive function" and can't find it anywhere.  I assume when you say comment you are talking about puttiing a "#" at the beginning of the line.

After you comment, I assume you save.  Whats that command?  And then what is the command to run that script? just type "lite-installer.sh" at the bash?

Thanks in advance for any help

Tossil


Quote from: pinio on August 19, 2007, 09:13:11 AM
Quote
[ ... ]
We've installed lmce-0704 from the DVD iso numerous times now on different i915/i945 & i965 Cores without problems... so I assume there is something about your hardware that is causing the DVD iso to fail. Not sure what that might be though.

I had exacly the same problem, what U have to do is switch to console (alt+2)

sudo -i
vi /usr/bin/lite-installer.sh
comment the line that runs the formatdrive function
and run the /usr/bin/lite-installer.sh script again

it worked for me

Best Regards


Zaerc

If somebody could paste the exact line (preferably in a [ code ] block) I can probably come up with a single command to comment it out instantly.  I didn't download the DVD iso so I don't have the file myself...
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

tossil

If i knew linux I would.  I know very little about linux/unix.  That's why I went for the full DVD install.  Was under the impression from the demo video that I would only have like 4 commands to enter and it would take about 25 min... only thing was that I needed a Nvidia video card, which was not a problem...


So, just to prepare, I tried to edit that file using the command "vi /usr/bin/lite-installer.sh" at the bash prompt... just to see how "comment the line that runs the formatdrive function" it done. I tried to add a comment "#" before one of the lines of script and nothing happened.  No "#" was added when I pressed the "#" key.  Then I couldnt figure out how to save, or how to even exit... (was assuming control-z or control-c)

uuuug, this not looking fun... =/

marrandy


Press ins button, then pres the #

Save exit is :wq

[url="http://wiki.linuxmce.org/index.php/User:Marrandy"]http://wiki.linuxmce.org/index.php/User:Marrandy[/url]

tossil

#9
Ok, I get this "Press ins button, then pres the #"

I dont understand this "Save exit is :wq"

what is ":wq"

do I just press "w" then "q"?

And I also still need to know what line to edit if someone could please help me out.

Thank again for your help!!!

Tossil

Quote from: marrandy on August 23, 2007, 05:23:47 PM

Press ins button, then pres the #

Save exit is :wq



spo0ner

Sorry for the delay in my response from the question before.

3. vi /usr/bin/lite-installer.sh

- move the cursor down to the beginning of the line that you need to comment out
- type the letter "i" on your keyboard and this will place you to "edit" mode ("i" stands for "insert" as in: insert text starting here)
- type the "#" sign (shift-3) ... the # sign is used to comment out a line, when the script is parsed it skips anything after the # sign and moves to the next line
- hit the "ESC" key on your keyboard and this will take you out of edit mode

Now to save the file:
- type the ":" key and that will put you in "command" mode
- type the "wq" ("w" stands for "write" and "q" stands for "quit") keys so that now the line at the bottom of the screen reads like ":wq"  and hit the "ENTER" key

Good luck.

tossil

No problem!!!  Thank you so much for getting back to me on this.  Your guide is great, coming from someone who's still new to linux.  Only thing I need to know now is what line to edit.  Any chance you might recall?

Thanks again!

Tossil

Quote from: spo0ner on August 24, 2007, 04:07:21 AM
Sorry for the delay in my response from the question before.

3. vi /usr/bin/lite-installer.sh

- move the cursor down to the beginning of the line that you need to comment out
- type the letter "i" on your keyboard and this will place you to "edit" mode ("i" stands for "insert" as in: insert text starting here)
- type the "#" sign (shift-3) ... the # sign is used to comment out a line, when the script is parsed it skips anything after the # sign and moves to the next line
- hit the "ESC" key on your keyboard and this will take you out of edit mode

Now to save the file:
- type the ":" key and that will put you in "command" mode
- type the "wq" ("w" stands for "write" and "q" stands for "quit") keys so that now the line at the bottom of the screen reads like ":wq"  and hit the "ENTER" key

Good luck.

spo0ner

I don't have the installation script handy but it should be the line that contains "formatdrive"

It should be towards the top of the file.

tossil

#13
weird, now I tried it again and when it gets stuck and i type "alt+2" nothing happens....

ok... guessing it should have been "alt+f2"

I followed the commands you gave and found line that said:

formatpartitions
     {
          if (( "$debug" == 1 ]]; then


Is the the correct code?

Do I just put a "#" in front of the "formatpartitions" and leave the rest of the code alone?

Again, thanks for the help in getting this working.

spo0ner

It's actually CTRL-ALT-F2 which should switch you to another screen that reads something like:

linuxmce: #

From there you will need to follow the aforementioned instructions.