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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-14-2016, 10:21 PM
|
#16
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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)
|
|
|
09-14-2016, 10:27 PM
|
#17
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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
|
|
|
09-14-2016, 10:57 PM
|
#18
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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
|
|
|
09-15-2016, 04:56 PM
|
#19
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Original Poster
Rep: 
|
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.
|
|
|
09-15-2016, 08:07 PM
|
#20
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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.
|
|
|
09-15-2016, 08:54 PM
|
#21
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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.
|
|
|
09-15-2016, 08:57 PM
|
#22
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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?
|
|
|
09-17-2016, 08:54 AM
|
#23
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Original Poster
Rep: 
|
It says which partitions are affected...nothing else. The finish message pops-up right after.
|
|
|
09-17-2016, 08:56 AM
|
#24
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
Okay. I'll take a look at it.
|
|
|
09-19-2016, 10:41 PM
|
#25
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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.
|
|
|
10-13-2016, 05:14 PM
|
#26
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Original Poster
Rep: 
|
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
|
|
|
10-13-2016, 10:51 PM
|
#27
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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
|
|
|
10-14-2016, 11:16 PM
|
#28
|
LQ Newbie
Registered: Sep 2016
Posts: 22
Original Poster
Rep: 
|
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
|
|
|
10-15-2016, 12:40 AM
|
#29
|
AryaLinux Maintainer
Registered: Aug 2014
Posts: 195
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 02:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|