SalixLive XFCE 14.1 beta3

djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

SalixLive XFCE 14.1 beta3

Post by djemos »

Live ISO images
32-bit (i686):
(size: 746 MB, md5sum: cdf71b9992b90776db20188b23bc7128)
http://sourceforge.net/projects/salix/f ... o/download

64-bit (x86_64):
(size: 790 MB, md5sum: 2322eebaf78fe8b8953d08c8ccfe93e0)
http://sourceforge.net/projects/salix/f ... o/download

This has been tested on 32 bit (boot from usb, installation to hd)
iso images are isohybrid.

On /boot folder on iso images there is install_on_usb.sh
(e)lilo is installed at installation on hd.
Thanks for testing
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: SalixLive XFCE 14.1 beta3

Post by laprjns »

Ok, i've done some testing on my uefi systems. Good news is that it does uefi boot, but still some quirks. Here's what I did.

downloaded new iso,

mounted it

Code: Select all

rich[mnt]$ sudo mount /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso /mnt/iso
cd to install script and executed it

Code: Select all

rich[mnt]$ cd /mnt/iso/boot/
rich[mnt]$ sudo sh install_on_usb.sh --usb /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso 64

Selected to have a 400M persistent file installed. script ran without problems but at the end it threw the following error message:

Code: Select all

The persistent file persistent is ready.
umount: /mnt/install: not mounted
rmdir: failed to remove ‘/mnt/install’: Directory not empty
Seems to only be a nuisance fault, no operational problems that I could see.
Script creates the following partition scheme on usb stick

Code: Select all

Disk /dev/sdb: 4057 MB, 4057989120 bytes
125 heads, 62 sectors/track, 1022 cylinders, total 7925760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048       67583       32768   ef  EFI (FAT-12/16/32)
/dev/sdb2           67584     7925726     3929071+   7  HPFS/NTFS/exFAT
/dev/sdb3               1        2047        1023+  ee  GPT

Partition table entries are not in disk order
Kept the usb plugin and rebooted the system. On my Asus laptop to get the uefi menu, I need to press the ESC key right after powering up the system. This result in the follow uefi boot screen
Image
Note that the uefi firmware detected two boot option on my ADATA USB Flash Drive. Selecting the first of these two option results on booting into the default OS, which is my case is a Salix hard drive installation.

Selecting the second options brings up the elilo menu. Here's what it looks like:
Image
This menu has 15 boot options that you can scroll through using the keyboards up and down arrow along with a text entry box that allow you to pass kernel arguments. In this picture I have selected English boot option and will pass the "changes=persistent" options. from here Live boot up without problems. Changes like installing codecs and wifi passcodes were saved from session to session. Note that each time you boot you need to pass the "changes-persistent" argument for persistence to work.
So it seems to work on uefi, just need some small tweaks
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: SalixLive XFCE 14.1 beta3

Post by djemos »

laprjns wrote:Ok, i've done some testing on my uefi systems. Good news is that it does uefi boot, but still some quirks. Here's what I did.

downloaded new iso,

mounted it
Ok, i've done some testing on my uefi systems. Good news is that it does uefi boot, but still some quirks. Here's what I did.
downloaded new iso,
mounted it

Code: Select all

rich[mnt]$ sudo mount /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso /mnt/iso
cd to install script and executed it

Code: Select all

rich[mnt]$ cd /mnt/iso/boot/
No!!!!!! do not do this.


A.How to install iso on usb and create persistent file

1. Mount the iso image

Code: Select all

 sudo mount /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso /mnt/iso
2. Copy the script somewhere on your system

Code: Select all

cp /mnt/iso/boot/install_on_usb.sh ~/
3. Umount the iso

Code: Select all

sudo umount /mnt/iso
4. plug in the usb and execute the script

Code: Select all

sudo sh install_on_usb.sh --usb /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso 64
say yes if you want a persistent file and also choose a size for the persistent file
Note. For 32 bit just point to 32bit iso image and change 64 with 32

B. How to create persistent file after installation on usb.
1. plug in the usb
2. execute the script

Code: Select all

sudo sh install_on_usb.sh --persistent 64
for 32 bit change 64 at the end with 32
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: SalixLive XFCE 14.1 beta3

Post by djemos »

laprjns wrote: Image
Note that the uefi firmware detected two boot option on my ADATA USB Flash Drive. Selecting the first of these two option results on booting into the default OS, which is my case is a Salix hard drive installation.
To see what is not need. Please do the following.
Go on usb and
1. moove somewhere on your system initrd.gz and vmlinuz from EFI/BOOT folder
then try to boot with usb.

2. Copy again back the above files to EFI/BOOT folder and remove the files initrd.gz and vmlinuz from boot/ folder
then try to boot again

laprjns wrote: Selecting the second options brings up the elilo menu. Here's what it looks like:
Image
This menu has 15 boot options that you can scroll through using the keyboards up and down arrow along with a text entry box that allow you to pass kernel arguments. In this picture I have selected English boot option and will pass the "changes=persistent" options. from here Live boot up without problems. Changes like installing codecs and wifi passcodes were saved from session to session. Note that each time you boot you need to pass the "changes-persistent" argument for persistence to work.
So it seems to work on uefi, just need some small tweaks
This is strange because on elilo.conf i have first option English and also default=English
so english has to be the first option
You can look on elilo.conf in iso image or usb
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: SalixLive XFCE 14.1 beta3

Post by mimosa »

Here's a more considered attempt at what I think the script's help message should say:

leaving the first part as it is (though maybe the first line should have more options in it):

Code: Select all

$ sh install_on_usb.sh --help
install-on-USB.sh [-h/--help] [-v/--version]
 -h, --help: this usage message
 -v, --version: the version author and licence

install_on_usb.sh --usb path/to/isoname 32|64
install_on_usb.sh --persistent 32|64

-> --usb option installs syslinux on a USB key using an ISO (specify path to image and architecture)
-> This will automatically detect your USB key (asking user to confirm choice)
-> It will also optionally create a persistent ext3 file.
->
-> --persistent option creates a persistent ext3 file after installation, if user didn't do so then
-> No need to specify path to iso because Salix Live is already installed
Why does archtecture need to be specified for --persistent option? I'm guessing it doesn't, in which case the last line could be:

Code: Select all

-> No need to specify architecture or path to iso because Salix Live is already installed
I also think it wouldn't do any harm to allow the user to optionally specify the block device, in case they are worried the script will get it wrong, or to override its choice.

Could the script detect architecture automatically? e.g. from the image size, or in some more elegant way? This would simplify usage.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: SalixLive XFCE 14.1 beta3

Post by laprjns »

djemos wrote:
laprjns wrote:Ok, i've done some testing on my uefi systems. Good news is that it does uefi boot, but still some quirks. Here's what I did.

downloaded new iso,

mounted it
Ok, i've done some testing on my uefi systems. Good news is that it does uefi boot, but still some quirks. Here's what I did.
downloaded new iso,
mounted it

Code: Select all

rich[mnt]$ sudo mount /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso /mnt/iso
cd to install script and executed it

Code: Select all

rich[mnt]$ cd /mnt/iso/boot/
No!!!!!! do not do this.


A.How to install iso on usb and create persistent file

1. Mount the iso image

Code: Select all

 sudo mount /home/rich/Downloads/salixlive64-xfce-14.1-beta3.iso /mnt/iso
2. Copy the script somewhere on your system

Code: Select all

cp /mnt/iso/boot/install_on_usb.sh ~/
3. Umount the iso

Code: Select all

sudo umount /mnt/iso
4. plug in the usb and execute the script
So I followed your recommendation of not running the script from the mounted iso and I do not get the umount error messages. Everything else works the same.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: SalixLive XFCE 14.1 beta3

Post by laprjns »

djemos wrote:This is strange because on elilo.conf i have first option English and also default=English
so english has to be the first option
You can look on elilo.conf in iso image or usb
You are correct, English is first in the menu when booting from the USB stick created by the stick. I uploaded the wrong image. The image I uploaded was from booting a USB stick created by SLI. I will do some more testing on this in the next few days.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: SalixLive XFCE 14.1 beta3

Post by djemos »

i found why you get the message about. /mnt/install
in the script iso is mounted under. /mnt/iso
so while you run the script. from /mnt/iso get this message
mount iso under other mount point and run again install_on_usb.sh
i have to make a unique mount point every time script executed
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: SalixLive XFCE 14.1 beta3

Post by gapan »

It would be nice if the script could be run from a mounted directory as laprjns was trying without any problems.

And I guess the script could detect the architecture from the file name. If it starts with salixlive64 then it's 64 bit, otherwise it's 32.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: SalixLive XFCE 14.1 beta3

Post by mimosa »

Suppose the script detects arch from the iso filename, but retaining the option for the user to specify it as currently, in case the filename is different for some reason?

So if arch is not specified the script attempts to determine it from the filename, failing gracefully if it cannot. Something like this:

"Unable to determine architecture from filename, please specify 32 or 64"
Locked