LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2016, 07:30 PM   #1
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Rep: Reputation: Disabled
AryaLinux installation USB external HDD failed without warning


Hi,

I tried to install Arya Linux 2016/08 R2 Mate x86_64.

The installation process through the installer went well, the message box telling installation complete appeared so I rebooted to verify the installation on the HDD. Their is absolutely nothing installed. It seems that the message of completed installation appeared without any installation process. After thinking about it, the install was very fast!!! Normally when I install another distribution it takes around 5 min to install all files... for Arya, zero seconds, just the pop-up message!

I'm not a programmer so for me to do terminal scripts is not easy beyond usual package install/update.

I like the slick design, just want to install it without trouble to test it as a contender against SolusOS, Point Linux (debian + mate) and Ubuntu Mate. Up to now my vote goes for Point Linux... But if Arya manage to install, it might change.

Thank you.

Joel
 
Old 09-13-2016, 02:23 AM   #2
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 996
Blog Entries: 11

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Welcome to LQ!
Maybe post in the Intro Forum about your hw, [Linux] interests/goals/distro experiences, ... (NOT questions tho!)

I wonder: does/did Arya 'do' [update/install] *grub*? (like this distro) Do you have grub?
Can you mount the partition[s?] you gave it, and look for /boot [&what the install wrote?]

The Arya forum has lots of info (esp Maintainer chandrakant, who seems very helpful & interested in user experiences!) e.g. this (and this).

Best Wishes! p.s. 2 non-obvious bits of using-LQ advice: no Duplicates and FAQ on 'asking ?s'

Last edited by Jjanel; 09-13-2016 at 03:13 AM.
 
Old 09-13-2016, 03:44 AM   #3
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
Hi joellapointe1717. Indeed installation doesnt take 0 secs. So something is not right here. Can try the following steps:
Boot into the live media. Open terminal and do:

sudo su
cd /opt/installer
git pull

And then try installing.

If that does not change the installer's behaviour, please post the following information:

1. output of:

fdisk -l

2. What are the partitions that you are using for Root/Home/Swap
 
Old 09-13-2016, 04:21 AM   #4
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 996
Blog Entries: 11

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Hi chandrakant! Thanks! (I am ULTRA-impressed by your wonderful [&fast] replys!)

Maybe OP meant: [zero time] 'after file-copy finished' [because Arya doesn't 'do' grub?]...
Does Arya install grub? (bootloader to MBR, on 'blank' disk; I know nothing about EFI)

Last edited by Jjanel; 09-13-2016 at 04:25 AM.
 
Old 09-13-2016, 04:23 AM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
It does grub. It does this in fact: copying.. chrooting.. fixing some permissions.. creating user etc.. grub-install.. I've asked for more input. then i can troubleshoot better...
 
Old 09-13-2016, 04:24 AM   #6
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
am about to board a flight... So if you reply I might only reply in another 24 hrs or so... I'll surely take a look into the whole small CUI based ISO thing... cheers
 
Old 09-13-2016, 04:39 PM   #7
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi, I did:

Code:
root [ /home/aryalinux ]# cd /opt/installer
root [ /opt/installer ]# git pull
remote: Counting objects: 3, done.
remote: Total 3 (delta 2), reused 2 (delta 2), pack-reused 1
Dépaquetage des objets: 100% (3/3), fait.
Depuis https://github.com/FluidIdeas/installer
   9703b58..bf64b09  master     -> origin/master
Mise à jour 9703b58..bf64b09
Fast-forward
 post-install.sh | 4 ++++
 1 file changed, 4 insertions(+)
root [ /opt/installer ]#
The result is the same, no installation, so I did:


Code:
root [ /opt/installer ]# fdisk -l
Disque /dev/ram0*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram1*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram2*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram3*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram4*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram5*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram6*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram7*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram8*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram9*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram10*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram11*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram12*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram13*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram14*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/ram15*: 16 MiB, 16777216*octets, 32768*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets


Disque /dev/loop0*: 2,2 GiB, 2317230080*octets, 4525840*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 512*octets
taille d'E/S (minimale / optimale)*: 512*octets / 512*octets


Disque /dev/loop1*: 2,2 GiB, 2317230080*octets, 4525840*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 512*octets
taille d'E/S (minimale / optimale)*: 512*octets / 512*octets


Disque /dev/sda*: 698,7 GiB, 750156374016*octets, 1465149168*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 4096*octets
Type d'étiquette de disque*: dos
Identifiant de disque*: 0xd7ad165c

Périphérique Amorçage      Début        Fin  Secteurs Taille Id Type
/dev/sda1    *              2048     409599    407552   199M  7 HPFS/NTFS/exFAT
/dev/sda2                 409600  702124031 701714432 334,6G  7 HPFS/NTFS/exFAT
/dev/sda3              702128126 1464936447 762808322 363,8G  5 Étendue
/dev/sda4             1464936448 1465147119    210672 102,9M  c W95 FAT32 (LBA)
/dev/sda5             1085059072 1456152821 371093750   177G 83 Linux
/dev/sda6             1456154624 1464936447   8781824   4,2G 82 partition d'écha
/dev/sda7              702128128 1085057815 382929688 182,6G 83 Linux

La partition*3 ne commence pas sur une frontière de cylindre physique.
Les entrées de la table de partitions ne sont pas dans l'ordre du disque.


Disque /dev/sdb*: 1,8 TiB, 2000398933504*octets, 3907029167*secteurs
Unités*: secteur de 1 × 512 = 512*octets
Taille de secteur (logique / physique)*: 512*octets / 4096*octets
taille d'E/S (minimale / optimale)*: 4096*octets / 33553920*octets
Type d'étiquette de disque*: dos
Identifiant de disque*: 0x55f414ae

Périphérique Amorçage      Début        Fin   Secteurs Taille Id Type
/dev/sdb1                   2048 1024002047 1024000000 488,3G 83 Linux
/dev/sdb2             1024002048 3907028991 2883026944   1,4T  5 Étendue
/dev/sdb5             1024004096 1034244095   10240000   4,9G 82 partition d'éch
/dev/sdb6             1034246144 1341446143  307200000 146,5G 83 Linux
/dev/sdb7             1341448192 1648648191  307200000 146,5G 83 Linux
/dev/sdb8             1648650240 1955850239  307200000 146,5G 83 Linux
/dev/sdb9             1955852288 2263052287  307200000 146,5G 83 Linux
/dev/sdb10            2263054336 2570254335  307200000 146,5G 83 Linux
/dev/sdb11            2570256384 2877456383  307200000 146,5G 83 Linux
root [ /opt/installer ]#
The swap : /dev/sdb5
The root : /dev/sdb6
The home : /dev/sdb6

Thank you
 
Old 09-13-2016, 05:45 PM   #8
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 996
Blog Entries: 11

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
(looks like chandrakant will be back to help in a day; I hope you don't mind my [semi-Newbie me] thoughts/questions here...)

If you mount sdb6 [on like /mnt/...], does it look like Arya put itself there?
(to check this, you could try 'erasing' sdb6 with mkfs before installing)

How long does it spend on ('after') step 6of6 of this, meaning:
*when* you click ok to "partitions will be formatted"
*until* it says "completed...reboot to login...have a nice day"?
(maybe a few seconds around "Creating filesystems with ... 4k blocks and ... inodes",
and a minute to do [thousands of] "/mnt/src/... -> /mnt/dest/..." ?)
Does it start by saying ROOT_PARTITION:/dev/sdb6?
Does it say/display/scroll *roughly* thousands of lines of files (including final 'removed's)
before the final "System transfer complete"?
Do any ['important'] error messages happen? (tho they may 'flash by')

NuTyX (similarly based on LFS!) which I played with a while ago (on XP netbook in VBox),
installed like HUNDRED(s) time FASTER than other distros!
(but I don't [fully] know why!)

Best Wishes always...
p.s. feel free to add info about your other distros=partitions, and grub[.cfg]...
By any chance, does Arya actually add to grub.cfg [boot choices],
but grub still default-boots your 'main' OS (unless you down-arrow to choose Arya)?

Last edited by Jjanel; 09-13-2016 at 05:59 PM.
 
Old 09-13-2016, 11:04 PM   #9
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
Hi,

There is a small discrepancy in the inputs that you specified with the partitions. If the root and home partitions are same you should not mention the same thing in both home and root. Mentioning it in the root itself is enough. So this is how the inputs should be:

Root : /dev/sdb6
Home : -
Swap : /dev/sdb5

I know its something that the installer should take care of rather than expecting the user to know it. My Bad :-) I would fix the installer but as of now this should get you going.

As for the other questions, it would usually take about 5-10 mins for the partitions to be formatted, files copied, users created in the new system and other files created like /etc/fstab and localization being applied etc and finally grub installation.

Arya actually reinstalls grub. But detects the other OSs as well. So once Arya is installed, you would have Arya as the default option and other options below it. This is smiliar to any other distro you install. Once you boot into Arya, you can however use the grub-customizer to change this sequence.
 
Old 09-14-2016, 11:58 AM   #10
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I did the partitions as you said... nothing changed.

Sorry!!!

Is there a way to see a more ''verbose mode'' of the install so it says in which steps it is precisely in terminal. I could copy/paste in the forum. There my have more details this way?
 
Old 09-14-2016, 12:32 PM   #11
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
So the installer still says complete in no time? There isn't any verbose mode but you can try opening the installer in terminal and see the output:

python /opt/installer/Installer.py

Then run the installer till the end. Once you're at the success screen in another terminal inspect the following file:

/tmp/install-properties

This is where all your inputs would be stored. Paste the file's contents here. Also if you could share whether the right device name is shown in the first screen. Post what is shown there. Let's say the first screen says /dev/sda then post the output of:

sudo partx -s /dev/sda -o NR,START,END,SIZE,TYPE
 
Old 09-14-2016, 12:33 PM   #12
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
The last line is not meant to be broken type it as one line only sudo partx..... TYPE
 
Old 09-14-2016, 03:34 PM   #13
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Here is the /tmp/install-properties file:

Quote:
USERNAME="joel"
ROOT_PART="/dev/sdb6"
LOCALE=""
SWAP_PART="/dev/sdb5"
HOME_PART="-"
ROOT_PASSWORD="PASSWORD"
FULL_NAME="joel"
DEVICE="/dev/sdb"
TIMEZONE="America/New_York"
PASSWORD="PASSWORD"
COMPUTER_NAME="joel_linux"
KEYMAP=""
Then for sudo partx -s /dev/sda -o NR,START,END,SIZE,TYPE :

Quote:
root [ /home/aryalinux ]# sudo partx -s /dev/sdb -o NR,START,END,SIZE,TYPE
NR START END SIZE TYPE
1 2048 1024002047 488,3G 0x83
2 1024002048 3907028991 1,4T 0x5
5 1024004096 1034244095 4,9G 0x82
6 1034246144 1341446143 146,5G 0x83
7 1341448192 1648648191 146,5G 0x83
8 1648650240 1955850239 146,5G 0x83
9 1955852288 2263052287 146,5G 0x83
10 2263054336 2570254335 146,5G 0x83
11 2570256384 2877456383 146,5G 0x83
root [ /home/aryalinux ]#
 
Old 09-14-2016, 09:09 PM   #14
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 194

Rep: Reputation: Disabled
Try this inside a terminal before starting the installer:

sudo umount /dev/sdb6
sudo umount /dev/sdb5
sudo swapoff /dev/sdb5

Explanation::

There are few things I understand by seeing this file. There are few parameters that are supposed to be in the file but they are missing. The reason being these parameters are added after the root partition is formatted. This means somewhere things are breaking before that step. Now there are very few lines if code above it. So the possibility of breaking can happen only in the lines that do the formatting. The most obvious reason why formatting would fail is if the partition that you are trying to format is already mounted and so I suspect that your partitions after mounted when the formatting is attempted. This is more so likely because it's an external device. Why it never showed up so far neither with me nor with other users is because probably neither me nor others ever attempted an external device installation. Mostly it has been virtualbox or physical internal HDD. But this is an absolutely valid use case that the installer should take care of. I would fix it in the installer as soon as I can.
 
Old 09-14-2016, 10:08 PM   #15
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
I did unmount the partitions by terminal commands and by GParted without succes

Sorry once more!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Problem. Windows and ubuntu on internal hdd. Centos on External USB hdd faisal59 Linux - Distributions 1 07-17-2013 08:19 AM
Slow USB transfer rates (60kb p/s) External HDD --> Internal HDD drfrostbyte Linux - Hardware 4 03-28-2011 01:20 AM
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 02:56 PM
ext3-fs warning: while connecting the external HDD sathyguy Linux - Hardware 1 12-17-2005 11:48 AM
External installation - USB HDD petercockroach Linux - Newbie 1 11-04-2004 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration