Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: tlicht on June 14, 2014, 12:29:16 PM

Title: Installation from usb drive
Post by: tlicht on June 14, 2014, 12:29:16 PM
With all probability a daft question - otherwise I would have found an answer already... but:
I am trying to install v 8.1 on a new hard drive. Tried first from a dvd, but after the initial language and keyboard questions the install program could not find what it was looking for.... actually from three different DVDs, both i386 and x86_64.

So instead  installing from a USB memory stick created with Rufus... seems to be a similar problem. After the above mentioned questions the installation method is to be etabilished: of the given choices the Hard drive alternative seems most logical. Then comes the Select Partition dialog with /dev/sdb1 suggested and a line where the directory name for the images is expected.... None of the libraries on the flash drive including the root are accepted....

Then with the absurd idea that the installer actually wants the iso image in it's original format I copyy it onto the memory stick. That seems actually acceptable for a short while - but.... after starting anaconda a million (well not really, but MANY) error messages gives the option of entering a debugger... and there I don't have the faintest idea what to do.

Hardware: Gigabyte GA-P55-UD3 with G6950 and 4Gb DDR3 + a brand new 2 TB caviar red

Question: what am I doing wrong and how should I do it?

Thanx for your brain power  :-?
Title: Re: Installation from usb drive
Post by: TerryF on June 14, 2014, 01:43:47 PM
Have you checked the compatibility of your hardware?

Have had no issues installing SME 8.1 from an overburnt CD, DVD and a USB stick, are you sure your ISO is OK?

Added:  USB creation wiki HERE (http://wiki.contribs.org/Install_From_USB)
Title: Re: Installation from usb drive
Post by: tlicht on June 14, 2014, 06:54:53 PM
Thanx; yes and no.
I have had the 7.6 version running on this mobo for a couple of years - installed from a CD. The hard drive is new though.... I had the green Caviar before but since it started to have problems I bought the red Caviar instead which is said to be more suitable for a file server.

8.1 is too big for (my) CD so I burned it to a DVD with the above results.... same  - or very similar - problem with USB flash drive. I tried three different programs to make the bootable USB flash (Fedora Live USB Creator, UNetbootin and Rufus) with the same sad results - the installer doesn't seem to be able to find the relevant files.

Beginning to despair....  :shock:

BTW: I did not state my mobo quite correctly earlier: it is a GA-H55M-DH2 - seems very similar to the one I wrote earlier though...
Title: Re: Installation from usb drive
Post by: stephdl on June 14, 2014, 07:15:16 PM
2 ideas
-if the hard-drive was used by another system, erase it with dd and a live-cd

dd if=/dev/zero of=/dev/sdx

-try to install another OS like centos5 and look if you can install it...maybe your problems before were not done by you HD but by your mobo.

You can do the two ideas both to ensure that you have eliminate the hardware issue.
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 12:14:06 AM
8.1 is too big for (my) CD so I burned it to a DVD with the above results.... same  - or very similar - problem with USB flash drive.

Again you can use the overburn function if present in your CD/DVD creation app to create a CD, ImgBurn has such a function.

the install program could not find what it was looking for.... actually from three different DVDs, both i386 and x86_64.
So instead  installing from a USB memory stick created with Rufus... seems to be a similar problem.

Similar or same? any chance of a screenshot of the error screen?

Basic Qs I know but what are your Mobos sata settings etc eg does it have raid settings.
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 12:24:28 AM
Thank you stephdl,
The hard drive is new....
Tested to install CentOS 6.5 which starts very much in the same way as the SME 8.1 - but while the SME install couldn't proceed past the Select Partition dialog, the CentOS did without problems.
I also tested the Linuxmint 17 cinnamon live CD without problems.

Since CentOS is HUGE I had to use another USB flash drive since the one I used for SME server is only 2 GB. I also used the larger one for the Linuxmint - so maybe the problem was the 2 GB USB flash drive?

Sad to say, using the large (16 GB) USB flash drive for SME did not solve the problem - stop after the Select Partition dialog as before.

I might be mistaken, but this seems to indicate that the SME installation (from USB and DVD) doesn't do a very good job...
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 12:45:44 AM
Tested to install CentOS 6.5 which starts very much in the same way as the SME 8.1 - but while the SME install couldn't proceed past the Select Partition dialog, the CentOS did without problems.

I might be mistaken, but this seems to indicate that the SME installation (from USB and DVD) doesn't do a very good job...

CentOS 6.5 is what SME9 is created from, CentOS 5.10 is where SME8.1 derives.

You could try a CentOS 5.10 install to check, don't use the full distro just the CD ISO.

Its just a matter of finding why your setup is being difficult, the many I and others have performed have all gone smoothly.

Maybe try SME9
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 12:52:07 AM
Thanks again TerryF,

My ImgBurn did not manage to fit smeserver-8.1-x86_64.iso onto a CD.... although overburning is checked....

The error is exactly the same for all tried media:
Device /dev/sdb1 does not appear to contain SME Server CDROM images.

I'll give CentOS 5.10 a go also...  8)

sme9 I imagine is still a work in progress, which is not really what I need just now.
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 01:07:17 AM
SME9 is at RC1 and quite mature, it is very close to release..there are some who currently use it in a production enviro although that is not recommended just yet :-)

What sort of CD drive are you using (internal sata/external USB), I have had no probs burning CDs using ImgBurn and the overburn function theres something not right here :-)

Lots of things come to mind some not so logical like maybe try a reseat of the sata cables (it is a sata drive yes?)
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 01:53:57 AM
Yes, I have a SATACD on the machine I use for burning.

CentOS 5.1 LiveCD didn't go down so well.... it hangs already from start at
vesamenu.c32:not a COM32R image

OK so I'll have a go at SME9 later today - it is almost 2 a.m. here, so I think I'll get some sleep  8)

Thank you for your kind help - I'll report back later (for me - tomorrow for you)
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 05:03:56 AM
You could try some of the install boot options see wiki [ur=http://wiki.contribs.org/Bootingl]HERE[/url]

In particular the 'sme noprobe' option..
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 10:04:14 AM
SME 9 is small enough to fit on a CD, so I burnt one and started it. First I let it check the CD - it was OK. Then I started a straight installation - no options. After a while anaconda reported Exception Occured:
(http://lichtneckert.se/sme/sme9%20errors-1.jpg)
very similar to the exceptions when trying to install 8.1 from a flash drive with the .iso added. The noprobe option might not have helped to avoid these....

Maybe I am not supposed to use the SME server anymore....  :(
Title: Re: Installation from usb drive
Post by: guest22 on June 15, 2014, 02:28:45 PM
So instead  installing from a USB memory stick created with Rufus... seems to be a similar problem. After the above mentioned questions the installation method is to be etabilished: of the given choices the Hard drive alternative seems most logical. Then comes the Select Partition dialog with /dev/sdb1 suggested and a line where the directory name for the images is expected.... None of the libraries on the flash drive including the root are accepted....

Isn't this a known issue that recently got resolved for SME9, but has not found it's backport way to SME 8.X ?
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 03:22:07 PM
You are probably right!
I am now in the process of trying to install SME-9.0rc1-x86_64 from a usb flash and it seems to have passed the previous hurdles... but I see now that it hangs with Failed to activate storage MD_UUID, so still no working SME server....  :-x
Maybe there is some friendlier distro out there - I am only using the file server feature....
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 03:33:26 PM
...and after pressing the report error button the now quite familiar Exception Occured message box appears:
(http://lichtneckert.se/sme/sme9%20usb%20errors1.jpg)
...not exactly the same errors as when booting from CD...
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 03:41:01 PM
Sorry for your troubles but this all suggest there is a hardware issue somewhere, why? because this issue appears to be isolated to your system?

Can only suggest to check all hardware, cables etc etc and it seems to be related to your new HD, do you have an old HD you can swap and try?

and as an afterthought what are your BIOS SATA settings etc
Title: Re: Installation from usb drive
Post by: guest22 on June 15, 2014, 03:52:50 PM
I agree with Terry.
Title: Re: Installation from usb drive
Post by: tlicht on June 15, 2014, 04:36:48 PM
*LOL* doesn't everybody? I have loads of old disks - also some still working... I'll dig one up, but now I have to attend to my garden a while...  8-)

and the BIOS SATA settings are:
(http://lichtneckert.se/sme/cmos%20integr-periph1.jpg)

and many many thanks for you caring!
Title: Re: Installation from usb drive
Post by: TerryF on June 15, 2014, 11:15:26 PM
Recycle we are all conservationists :-)

Note post by Stephdl
-if the hard-drive was used by another system, erase it with dd and a live-cd
dd if=/dev/zero of=/dev/sdx  "x" being drive letter of subject HD

Problem is you need a live system to do it: any live cd will do..

It just ensures drive is zeroed if it has been used previously...

Goode Luck, I think you need it :-)
Title: Re: Installation from usb drive
Post by: Stefano on June 16, 2014, 01:41:22 PM
maybe I'm missing the point, but I installed many SME's (8.1 too) from usb..
I simply used unetbootin to create a bootable usb key from SME's iso, copied the iso intself into the root of usb key, booted my server from usb, choosen "hard-disk" and the usb's partition (/dev/sdbe1 in my case..)

NEVER had a single issue..

HTH
Title: Re: Installation from usb drive
Post by: tlicht on June 20, 2014, 06:29:14 AM
For the record:
I did try all of the above plus some with poor results until yesterday - then for some reason I managed to install 9 Rc1 from a cd. Wow!!!
However when rebooting it got stuck on the opening screen with a file not found error. Having become bold by this semi success, I again tried to install from dvd with 8.1 uppacked in the normal way with the .iso image added and this time with
Code: [Select]
sme raid=none on the command line. Success!!!
So I am up and running again, copying back tons of data that I at least had backed up.

A problem for the near fuiture is if I can just connect another drive in order to get raid1 since I installed with the no raid option - I'll soon find out  :P
Title: Re: Installation from usb drive
Post by: TerryF on June 20, 2014, 06:44:48 AM
A problem for the near fuiture is if I can just connect another drive in order to get raid1 since I installed with the no raid option - I'll soon find out  :P

That should not happen, you have an issue with your system.

I would be a tad nervous that it is all going to just stop at the drop of a hat.

However when rebooting it got stuck on the opening screen with a file not found error. Having become bold by this semi success, I again tried to install from dvd with 8.1 uppacked in the normal way with the .iso image added and this time with
Code: [Select]
sme raid=none on the command line. Success!!!

What do you mean "unpacked in the normal way"
Title: Re: Installation from usb drive
Post by: tlicht on June 20, 2014, 07:54:34 AM
OK, maybe not very well put - the iso image is an archive file of an optical disk. When you burn it to the disk you get all the files an folders laid out as originally authored. Obviously the 8.1 installation does not recognise that all the files are on the disk unless you also add the iso image in archive format to the dvd.
At least my version didn't.. I got the
     Device /dev/sdb1 does not appear to contain SME Server CDROM images
as I wrote in the beginning of this thread.

Regarding my system - I have run it for several years without a hitch - until recently when the disks started to get issues (WD green fish egg 2TB). WD now maintains that those are not really meant for file server use - for that purpose the red version should be used, so those are the ones I am installing the SME server on....
Title: Re: Installation from usb drive
Post by: TerryF on June 20, 2014, 08:06:53 AM
and there is the issue, I and AFAIK, everyone else has never had to do what you describe to use a DVD/CD, USB yes with a SME8 iso as described in the wiki, but never using a CD/DVD burnt in the usual way.

Good Luck. :-)
 
Title: Re: Installation from usb drive
Post by: tlicht on June 20, 2014, 08:40:29 AM
Sorry, I got a little confused by the many trials to get the SME server installed - on checking the dvd I used successfully it does not contain an extra iso image. As you say those were required on the usb install trials.
Title: Re: Installation from usb drive
Post by: stephdl on June 20, 2014, 08:43:12 AM
I worry that you have a hardware issue on you MB or something like that. Never heard that we need to do what you did. Maybe the Hard drive you bought may have a problem also, a friend has had some issues to install sme with a bad HD. Unfortunately it was the sda and the sme doesn't like that kind of issue.

I'm quite sure of what i'm writing : You have a hardware issue
Title: Re: Installation from usb drive
Post by: TerryF on June 20, 2014, 08:48:05 AM
Sorry, I got a little confused by the many trials to get the SME server installed - on checking the dvd I used successfully it does not contain an extra iso image. As you say those were required on the usb install trials.

Glad to hear that :-) was getting a little worried there for a while LOL.. :shock:

Hope it all works out, I urge you to conduct a rigours fault finding session and try and isolate what is causing the probs..a pain in the you know what but the unknowns on these infernal machines can become big gotchas.  :)

Addendum: is your CD/DVD sata or ide
Title: Re: Installation from usb drive
Post by: tlicht on June 20, 2014, 04:51:56 PM
The cd/dvd player I used in the SME server is IDE - it is not normally there, I just connected it for the installation, so it will be removed as soon as I collect courage enough to add the second hard drive (red fish eggs - identical to the one where sme is installed).

I have done a lenghty memory check on the server without finding errors.... the cpu seems to run ok.... I even updated the bios... live cds seemed to work ok. I did run some hard drive checks with UBCD - no errors and also erased the partitions that seemed to have got there, which might actually have been what rectified the install problems.

I still imagine that the former hard drives started to give up due to age (they were made in December 2010) which was what made me get new disks and reinstall. So the rest of the hardware might be ok.
Why the installation was so troublesome I have no clue.

Or maybe I am just too lazy to - well what? I do actually have another motherboard and cpu both still boxed, exactly the same as those running the SME server, so not changing to those might be lazyness....  :-P

Anyway, when it looked darkest with this installatiion I started to contemplate to get a ready made NAS... but now I imagine that I'll stick to this setup.
Title: Re: Installation from usb drive
Post by: TerryF on June 21, 2014, 12:06:53 AM
No worries, enjoy.
TerryF