LinuxQuestions.org
Visit Jeremy's Blog.
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-14-2016, 10:21 PM   #16
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled

So what did not work out? Was it un-mounting that did not work out or was it the installation that is still misbehaving. If its the installation that is still not working out despite having unmounted the partitions, I have really run out of options as of now and I need to investigate this much deeper preferably with a similar setup of external hard disk with partitions. This might take a while though. If you would like then I can post manual instructions that you can simply copy and paste in the console that should get the job done (which is actually done by the installer in the background)
 
Old 09-14-2016, 10:27 PM   #17
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Just try unmounting one last time but this time reboot the system into the live media, do the unmounting using the commands that I shared in the last post and then try installing. The rebooting actually unmounts everything and things should work. In case it doesnt you can try the manual commands which I can share if you want
 
Old 09-14-2016, 10:57 PM   #18
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Here are the steps that you can follow to install manually:

sudo su
cd

mkdir -pv {/mnt/src,/mnt/dest}
umount /mnt/src
umount /mnt/dest
mount -o ro,loop /mnt/.boot/medium/aryalinux/root.sfs /mnt/src/

mkfs.ext4 /dev/sdb6
mkswap /dev/sda5

mount /dev/sda6 /mnt/dest
swapon /dev/sda5

cp -prvf /mnt/src/* /mnt/dest/

mount -v --bind /dev /mnt/dest/dev

mount -vt devpts devpts /mnt/dest/dev/pts -o gid=5,mode=620
mount -vt proc proc /mnt/dest/proc
mount -vt sysfs sysfs /mnt/dest/sys
mount -vt tmpfs tmpfs /mnt/dest/run

if [ -h /mnt/dest/dev/shm ]; then
mkdir -pv /mnt/dest/$(readlink /mnt/dest/dev/shm)
fi

chroot "/mnt/dest" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login


This would put you into the chroot environment. Now execute the following inside the chroot environment:

INITRD=`ls /boot/initrd*`
/usr/bin/dracut -f $INITRD `ls /lib/modules/`

cat > /etc/fstab <<EOF
# Begin /etc/fstab

# file system mount-point type options dump fsck
# order

/dev/sda6 / ext4 defaults 1 1
/dev/sda5 swap swap pri=1 0 0

# End /etc/fstab
EOF

systemd-machine-id-setup
echo "joel_linux" > /etc/hostname
userdel -r aryalinux

useradd -m -k /etc/skel -c "Joel" joel
passwd joel
usermod -a -G audio joel
usermod -a -G video joel
usermod -a -G wheel joel
usermod -a -G lpadmin joel

passwd

grub-install /dev/sdb
/sbin/grub-mkconfig -o /boot/grub/grub.cfg

LOCALE="en_US.utf8"

echo "LANG=$LOCALE" > /etc/locale.conf
echo "LANGUAGE=$LOCALE" >> /etc/locale.conf
echo "LC_ALL=$LOCALE" >> /etc/locale.conf

TIMEZONE="America/New_York"
ln -sfv "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime

sed -i "s@autologin-user=@#autologin-user=@g" /etc/lightdm/lightdm.conf
sed -i "s@autologin-user-timeout=0@#autologin-user-timeout=0@g" /etc/lightdm/lightdm.conf
sed -i "s@pam-service=lightdm-autologin@#pam-service=lightdm-autologin@g" /etc/lightdm/lightdm.conf

cat > /etc/vconsole.conf <<EOF
KEYMAP="us"
EOF

# This would exit the chroot
exit

#This would exit the root prompt
exit

#This would close the console
exit

Reboot and check
 
Old 09-15-2016, 04:56 PM   #19
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
Yes, the unmount was successful, the install wasn't.

Now if I need to do terminal commands listed above for install, it is not practical for a beginner that don't want to mess with such a thing. I will wait until a version of the liveCD works well with external HDD. I see some potential for that distro so I keep a eye on it.

Thank you for all your help and your patience, I guess it is by finding these issues that distros become robust.
 
Old 09-15-2016, 08:07 PM   #20
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Yes. Rightly said. I would see to it that the problem if any with the installer running on external hard disk is fixed. Thanks for pointing this out.
 
Old 09-15-2016, 08:54 PM   #21
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Can you confirm that the information below is correct. This would help me in the process of finding the issue:

1) Live Media - CD/DVD
2) ISO - AryaLinux Mate 2016.08
3) Destination partition - External HDD(ROOT : /dev/sdb6, SWAP: /dev/sdb5)

Is there any information that I missed?
Thanks for your help.
 
Old 09-15-2016, 08:57 PM   #22
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Also one last thing, After the last screen where you choose timezone in the installer, do you see any messages being printed by the installer at all in the text area inside the installer or all that it shows in the end is the Message popup that says Installation Successful?
 
Old 09-17-2016, 08:54 AM   #23
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
It says which partitions are affected...nothing else. The finish message pops-up right after.
 
Old 09-17-2016, 08:56 AM   #24
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Okay. I'll take a look at it.
 
Old 09-19-2016, 10:41 PM   #25
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Hi joellapointe1717,

This issue has been fixed in the github repository. Would be uploading a new ISO with the updated installer in a few days. In the current ISO this is how the installer can be updated and it would install fine on external devices:

Boot into the live media.
Connect to the internet.
Open Terminal and enter:

cd /opt/installer
sudo git pull

Close the terminal

Now run the installer as usual.
 
Old 10-13-2016, 05:14 PM   #26
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
Retry

I retried installation process with new XFCE release 2016.08 (october 7 2016). It is the same problem. I also did the git pull thing.
There is no change.

I don't know if the installation bug was supposed to be corrected in this release.

THX
 
Old 10-13-2016, 10:51 PM   #27
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
This issue was fixed in the current release. As a matter few other users have raised the same issue and they reported back that its working currently. I could look into the matter further because maybe there is some use case which went un-noticed. FYI we tested the new installer on the following environments: 32/64 bit Arya and tried installing it on a 1TB external USB hard disk MBR partitioned, 32/64 bit Arya and tried installing it on an external 32 GB USB pen drive MBR partitioned. Installation was successful on all occassions. I wonder if the hard disk where you are trying to install Arya, does it have LVM/GPT? That is one area that we do not advice installing Arya on because of the LFS limitation we have(Arya is based on LFS and LFS does not support LVM). Bringing in support for LVM yes is important but I doubt that would happen anywhere in the near future.

In case its neither GPT nor LVM, please post the output of the following command (run in terminal) just after the installation failure happens:

sudo mount
 
Old 10-14-2016, 11:16 PM   #28
joellapointe1717
LQ Newbie
 
Registered: Sep 2016
Posts: 22

Original Poster
Rep: Reputation: Disabled
finally...

I redone a partition with gparted and it worked. I'm happy! It works.

Thank you for your help and for fixing the installation process. Now I'm in the process of learning how to build with
ALPS. Is there a list of build script available somewhere?

Thanks
 
Old 10-15-2016, 12:40 AM   #29
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Hi,

Glad that it worked :-)

The build scripts are located in /var/cache/alps/scripts. You can do an ls to get the list. We keep updating the online repo so at any point in time you can do:

sudo alps updatescripts

and get the latest set of scripts.
 
  


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 02:48 AM.

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
Open Source Consulting | Domain Registration