LinuxMCE Forums

General => Installation issues => Topic started by: spo0ner on August 18, 2007, 01:28:17 am

Title: Fail on installation
Post by: 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.
Title: Re: Fail on installation
Post by: spo0ner on August 18, 2007, 08:32:48 pm
So no suggestions by anyone?
Title: Re: Fail on installation
Post by: totallymaxed 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.
Title: Re: Fail on installation
Post by: 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
Title: Re: Fail on installation
Post by: spo0ner 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
Title: Re: Fail on installation
Post by: tossil 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

Title: Re: Fail on installation
Post by: Zaerc 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...
Title: Re: Fail on installation
Post by: tossil 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... =/
Title: Re: Fail on installation
Post by: marrandy on August 23, 2007, 05:23:47 pm

Press ins button, then pres the #

Save exit is :wq

Title: Re: Fail on installation
Post by: tossil 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


Title: Re: Fail on installation
Post by: 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.
Title: Re: Fail on installation
Post by: tossil 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.
Title: Re: Fail on installation
Post by: spo0ner 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.
Title: Re: Fail on installation
Post by: tossil 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.
Title: Re: Fail on installation
Post by: spo0ner 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.
Title: Re: Fail on installation
Post by: tossil on August 24, 2007, 05:35:48 am
Ok, I tried to add "#" in front of formatpartitions and when I typed :wq (enter) i get this error
E45: 'read only' option is set (add ! to override)

uuuuuug....


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.
Title: Re: Fail on installation
Post by: tossil on August 25, 2007, 07:53:27 pm
I still can't figure ou what line to comment out.


Ok, I tried to add "#" in front of formatpartitions and when I typed :wq (enter) i get this error
E45: 'read only' option is set (add ! to override)

uuuuuug....


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.
Title: Re: Fail on installation
Post by: felpouse on August 29, 2007, 03:59:28 pm
Hello all,

it's necessary to go at the end of the file and put this # before the Formatpartition line and than save with this sequence command
:wq!
and press enter

I had the same problem with the dvd iso burned and checked with the right md5sum.
But when I relunch the script the procedure start correctly but and a certain time of the tar process the script fail cause an non corret EOF archive.

Did someone else encounter this strange problem?

I repeat 3 times the procedure and the result is always the same.

Best regards,

Luke
Title: [SOLVED] Re: Fail on installation
Post by: dnadeau on October 18, 2007, 01:24:27 am
Okay, here is the definitive answer on how to solve this problem.
First, let me recommend using nano (a text editor) instead on vi. VI makes complete sense for those who have used before but it just wastes everyone's time trying to explain how to use it.
Here are the steps to take:

1. cntrl+2 will get you to another virtual console. You will see a $ (standard user) prompt. You need to have root access in order to edit the file and save it.
2. $sudo -i  The prompt will now change to a # meaning you have root access
3. #nano /usr/bin/lite-installer.sh  You will now be in the nano editor editing the file.
4. Here's the 'tricky' part. this script has functions listed at the top so if you scan for formatPartitions, you will find it towards to top of the file. HOWEVER, search again almost at the end of the file and you'll see a list of commands. One of those is formatPartitions. (It appears on it's own line) THAT is the line you must comment out by placing a # in front of it.
5. place a # sign in front of that formatPartitions command. So that it looks like this
#formatPartitions
6. save the file using ctrl+o (WriteOut) and exit the nano application (Now you should be back at the # command prompt.)
7. type in #/usr/bin/lite-installer.sh  (the installer will rerun and it won't get hung up this time)

DEVELOPER QUESTION: Can we get this fixed? I have no idea why this is happening, but it's causing quite a few headaches for some of us.
Title: Re: Fail on installation
Post by: rob192837 on January 18, 2008, 04:17:09 am
Hello all,
  Well I too had this similar problem of the installation stopping when it got too /dev/hd5  or something another.  I edited the lite-installer.sh file and got a couple steps further it seems.   I believe all of the archives were extracted properly but it stalls out again at:


tar : Read checkpoint  500000
tar : Read checkpoint  510000
tar : Read checkpoint  520000
tar : Read checkpoint  530000
/dev/hda1 : UID="6f5c18dd-4187-455d-8f8f-9a2f3c5178d5" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5 : TYPE="swap" UUID="e640c39a-65d1-46f9-a081-bd5a50d140f6"
Probing devices to guess BIOS drivers.  This may take a long time.


So either I'm impatient and not waiting long enough or something screwy is going on.  What do the experts think? 


Lets see the system specs are:
Motherboard ASUS A7N8X
Athlon XP 2400
1GB memory
80GB Western Digital IDE harddrive
ATI 9800 AIW PRO 128MB  (god this card causes me so much pain in linux)
Title: Re: Fail on installation
Post by: rob192837 on January 18, 2008, 04:20:00 am
haha I'm impatient

finally went past that point  Thanks for your help on the lite-installer.sh editing