Salix Live XFCE 14.0.1 beta2

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

Re: Salix Live XFCE 14.0.1 beta2

Post by djemos »

Atip wrote:I am unable to get the Installer Program going.
Clicking on Partitions, then on "Do not modify partition scheme" nothing happens
except this button darkens till released.
I have one swap partition and one Linux partition intended for installation.
In what disk you try to install. Internal or external? Just for information.
Run the installer from a terminal as root

Code: Select all

su
/usr/sbin/salix-live-installer.py
and look on messages.
SalixLive installer has been tested and is working.
Also type as root in a terminal (you can replace /dev/sda with /dev/sdb or whatever drive you want.

Code: Select all

parted /dev/sda print  | grep -v extended | grep -v swap
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Salix Live XFCE 14.0.1 beta2

Post by Atip »

# salix-live-installer.py

Code: Select all

Traceback (most recent call last):
  File "/usr/sbin/salix-live-installer.py", line 1598, in on_do_not_modify_partition_button_clicked
    partition_list_initialization()
  File "/usr/sbin/salix-live-installer.py", line 541, in partition_list_initialization
    disk_device.append(line.split()[1].replace(':', ''))
IndexError: list index out of range


]# parted /dev/sdb print
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End    Size    File system     Name  Flags
 1      106MB  211MB  105MB   linux-swap(v1)
 2      212MB  108GB  107GB   xfs
 3      108GB  193GB  85.9GB  xfs
 4      193GB  301GB  107GB   xfs
 5      301GB  364GB  62.9GB  xfs
 6      364GB  427GB  62.9GB  ext4
 7      427GB  500GB  73.4GB  reiserfs
I know the live installer has worked on previous salix versions.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix Live XFCE 14.0.1 beta2

Post by mimosa »

Did it work with this disk and these partitions? Do you have an old Salix Live you could test with?

I'm not very knowledgeable about partitioning, but I notice you have a gpt partition table, rather than msdos. Maybe the installer doesn't like it.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Salix Live XFCE 14.0.1 beta2

Post by Atip »

mimosa wrote:Did it work with this disk and these partitions? Do you have an old Salix Live you could test with?

I'm not very knowledgeable about partitioning, but I notice you have a gpt partition table, rather than msdos. Maybe the installer doesn't like it.
Yes I still have a Salix Live Fluxbox disk and I am using it right now.

In Salix Live Installer clicking on Partitions immediately a partition selector opens showing all partitions of my
2 HD . Then clicking on Select partition> it will be formatted....> Do you want to proceed with this.

I stopped then.

This live installer really seems to work :D .
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Salix Live XFCE 14.0.1 beta2

Post by mimosa »

Could you actually go ahead and install Fluxbox to the partition you want to install to using the beta? It would be really useful to confirm that it does indeed work, so we can find out what's wrong with the new version.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Live XFCE 14.0.1 beta2

Post by djemos »

The problem is not on /dev/sdb. It is on /dev/sda disk.
parted returned a string the installer did not catch. Because of your partitions types.
what is the output of

Code: Select all

fdisk -l
And

Code: Select all

 parted /dev/sda print
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Salix Live XFCE 14.0.1 beta2

Post by Atip »

Mimosa, there is no need to see if the installer really works. It has worked in the past.

Code: Select all

 sudo parted /dev/sda print
Model: ATA ST380215A (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      32.3kB  24.7MB  24.6MB  primary   fat16        boot
 2      24.7MB  49.4MB  24.7MB  primary   ext2
 3      49.4MB  80.0GB  80.0GB  extended
 5      49.4MB  36.8GB  36.7GB  logical   xfs
 6      36.8GB  53.5GB  16.8GB  logical   xfs
 7      53.5GB  80.0GB  26.5GB  logical   reiserfs

Code: Select all

sudo /sbin/fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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: 0x000ee93b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63       48194       24066    6  FAT16
/dev/sda2           48195       96389       24097+  83  Linux
/dev/sda3           96390   156296384    78099997+   5  Extended
/dev/sda5           96453    71778419    35840983+  83  Linux
/dev/sda6        71778483   104552627    16387072+  83  Linux
/dev/sda7       104567148   156296384    25864618+  83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Live XFCE 14.0.1 beta2

Post by djemos »

Traceback (most recent call last):
File "/usr/sbin/salix-live-installer.py", line 1598, in on_do_not_modify_partition_button_clicked
partition_list_initialization()
File "/usr/sbin/salix-live-installer.py", line 541, in partition_list_initialization
disk_device.append(line.split()[1].replace(':', ''))
IndexError: list index out of range
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Examine the code of salix-live-installer in line 541 and the warning which says clearly that fdisk does not support GPT.
Thats why there is no output for /dev/sdb1.
So you cannot install salix since fdisk does not support GPT.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Live XFCE 14.0.1 beta2

Post by djemos »

Traceback (most recent call last):
File "/usr/sbin/salix-live-installer.py", line 1598, in on_do_not_modify_partition_button_clicked
partition_list_initialization()
File "/usr/sbin/salix-live-installer.py", line 541, in partition_list_initialization
disk_device.append(line.split()[1].replace(':', ''))
IndexError: list index out of range
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
I look into the code of salix-live-installer in line 541 and the warning which says clearly that fdisk does not support GPT, thats why there is no output for /dev/sdb, while there is on my system, you cannot install salix on /dev/sdb since fdisk does not support GPT.

But if you want to install it using parted then as root edit /usr/sbin/salix-live-installer.py and change the line 530
from

Code: Select all

fdisk_output = commands.getoutput('LANG= fdisk -l | grep "^Disk /"').splitlines()
to

Code: Select all

fdisk_output = commands.getoutput('LANG= parted -l | grep "^Disk /"').splitlines()
Save the file and run salix-live-installer.py and proceed to installation.
It might need to edit more lines ( replace fdisk with parted) if the installer report error in another line.
Tell us if this change solved your problem.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Salix Live XFCE 14.0.1 beta2

Post by Atip »

Made the replacements.
Started Installer from terminal.
Clicking on Partitions>"Do not modify partition scheme" Installer hangs.

On terminal Ctrl-^C

Code: Select all

Traceback (most recent call last):
  File "/usr/sbin/salix-live-installer.py", line 1598, in on_do_not_modify_partition_button_clicked
    partition_list_initialization()
  File "/usr/sbin/salix-live-installer.py", line 530, in partition_list_initialization
    fdisk_output = commands.getoutput('LANG= parted -l | grep "^Disk /"').splitlines()
  File "/usr/lib/python2.7/commands.py", line 50, in getoutput
    return getstatusoutput(cmd)[1]
  File "/usr/lib/python2.7/commands.py", line 60, in getstatusoutput
    text = pipe.read()
KeyboardInterrupt
Locked