Author Topic: Fail on installation  (Read 16451 times)

spo0ner

  • Newbie
  • *
  • Posts: 6
    • View Profile
Fail on installation
« 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.

spo0ner

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Fail on installation
« Reply #1 on: August 18, 2007, 08:32:48 pm »
So no suggestions by anyone?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Fail on installation
« Reply #2 on: August 18, 2007, 08:41:37 pm »
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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

pinio

  • Making baby steps
  • Posts: 2
    • View Profile
Re: Fail on installation
« Reply #3 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

spo0ner

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Fail on installation
« Reply #4 on: August 21, 2007, 01:24:51 am »
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

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Fail on installation
« Reply #5 on: August 22, 2007, 04:33:35 am »
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
[ ... ]
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

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Fail on installation
« Reply #6 on: August 22, 2007, 06:31:16 am »
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


tossil

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Fail on installation
« Reply #7 on: August 22, 2007, 07:12:11 am »
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

  • Guru
  • ****
  • Posts: 162
    • View Profile
Re: Fail on installation
« Reply #8 on: August 23, 2007, 05:23:47 pm »

Press ins button, then pres the #

Save exit is :wq


tossil

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Fail on installation
« Reply #9 on: August 24, 2007, 03:03:17 am »
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


Press ins button, then pres the #

Save exit is :wq


« Last Edit: August 24, 2007, 03:42:12 am by tossil »

spo0ner

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Fail on installation
« Reply #10 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.

tossil

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Fail on installation
« Reply #11 on: August 24, 2007, 04:10:59 am »
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

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

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Fail on installation
« Reply #12 on: August 24, 2007, 04:22:29 am »
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

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Fail on installation
« Reply #13 on: August 24, 2007, 05:04:47 am »
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.
« Last Edit: August 24, 2007, 05:22:20 am by tossil »

spo0ner

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Fail on installation
« Reply #14 on: August 24, 2007, 05:09:06 am »
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.