Page 1 of 2
trouble with lilosetup
Posted: 1. Feb 2011, 17:36
by mimosa
I installed lilosetup in my Salix 13.0 xfce, and it appears in the System menu, but does nothing. From the CLI,
Code: Select all
root[tim]# lilosetup
bash: lilosetup: command not found
root[tim]# /usr/sbin/lilosetup.py
Traceback (most recent call last):
File "/usr/sbin/lilosetup.py", line 953, in <module>
LiloSetup()
File "/usr/sbin/lilosetup.py", line 434, in __init__
setup_partition_list()
File "/usr/sbin/lilosetup.py", line 386, in setup_partition_list
operating_system = line.split(':')[1].split()[0]
IndexError: list index out of range
The same thing from my fairly recent USB stick install of Salix 13.1.latest, where lilosetup was already installed.
I just used the ncurses version (having installed Arch on this machine), and it worked perfectly, so perhaps this is more a bug report than a problem.
Re: trouble with lilosetup
Posted: 2. Feb 2011, 05:03
by Akuna
Hi Mimosa, which version of LiloSetup did you use?
If it is an older one, can you tell me if this version produces the same error?
=>
http://people.salixos.org/akuna/livetoo ... h-1plb.txz
Tx
Re: trouble with lilosetup
Posted: 2. Feb 2011, 09:52
by mimosa
Morning Akuna,
Looks like this is the same, which is not surprising because I only just installed it:
Code: Select all
root[tim]# spkg -i /home/tim/linux_software/lilosetup-0.2.6-noarch-1plb.txz
Skipping package lilosetup-0.2.6-noarch-1plb (package with same base name is already installed)...
root[tim]# slapt-get -l | grep lilosetup
lilosetup-0.2.6-noarch-1plb [inst=yes]: LiloSetup (GUI utility to setup LILO)
The significant thing is perhaps that this machine still has the version of 13.0 you helped me get working some time ago. But in that case, why did my "Brazilianised" USB stick also give trouble with lilosetup, when it is quite recent and in most respects a conventional 13.1? I should add I've used lilosetup before, and it's great.In fact I think I may even have used it on this machine, because when I deleted some of those distrohopping partitions that caused all the trouble in the first place, Salix's / got renumbered and I had to resinstall the bootloader. I must have done that from a USB stick (maybe I had just used it to run Gparted).
Can't get Arch to work, by the way - the installed version can't see eth0 (or wlan0) though the install CD has no problem with either. That'll teach me to mess about with, ahem, other distros

I've learned a little bit more about networking, though.
Re: trouble with lilosetup
Posted: 3. Feb 2011, 05:45
by Akuna
Maybe you found a new bug
Could you give me the output of the following commands:
fdisk -l
and:
parted /dev/sda print
Tx
Re: trouble with lilosetup
Posted: 3. Feb 2011, 09:20
by mimosa
Hi Akuna,
I'll post those when I get back on that machine.
Incidentally, should I be able to run lilosetup from a USB stick to reinstall Lilo on sda? When I tried to do so on this machine, lilosetup made some complaint about the wrong drive. The reason I wanted to do so was because here, I now have Arch

(with xfce, not at all as pretty as Salix, by some way, but it does work, with daily wpa supplication) and I appear to have garbled my Salix / partition with gparted; but I can see all the files when I mount it from Arch, and I'm hoping reinstalling the bootloader might bring it back! If not, I'll put Salix Fluxbox on top of it (I was waiting for the live version to see what this looks like). That will involve a salutary hour or two catching up on my backing up, including some large ongoing torrents.
Re: trouble with lilosetup
Posted: 3. Feb 2011, 14:50
by mimosa
Code: Select all
root[tim]# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001d728
Device Boot Start End Blocks Id System
/dev/sda1 1 1673 13438341 7 HPFS/NTFS
/dev/sda2 5229 9119 31254457+ c W95 FAT32 (LBA)
/dev/sda3 * 9311 19457 81505777+ 5 Extended
/dev/sda4 9120 9310 1534207+ 82 Linux swap
/dev/sda5 10266 13831 28643863+ 83 Linux
/dev/sda6 13832 15789 15727603+ 83 Linux
/dev/sda7 15790 16728 7542486 83 Linux
/dev/sda8 16729 19457 21920661 83 Linux
Partition table entries are not in disk order
and
Code: Select all
root[tim]# parted /dev/sda print
Model: ATA WDC WD1600AAJS-0 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 13.8GB 13.8GB primary ntfs
2 43.0GB 75.0GB 32.0GB primary fat32 lba
4 75.0GB 76.6GB 1571MB primary linux-swap(v1)
3 76.6GB 160GB 83.5GB extended boot
5 84.4GB 114GB 29.3GB logical reiserfs
6 114GB 130GB 16.1GB logical ext2
7 130GB 138GB 7724MB logical ext4
8 138GB 160GB 22.4GB logical ext4
sda5 and sda6 are salix / and some old backed up data
sda7 and sda8 are arch / and /home (installation failed on this machine because I installed something optional called linux_firmare, which sounds useful, doesn't it, but conflicted with whatever the default is, which actually would have done the job, as my other machine with the same hardware can testify). These are new partitions I created by shrinking the backup partition on sda6.
Re: trouble with lilosetup
Posted: 3. Feb 2011, 21:59
by Akuna
Ok, could you please also give me the output of
Tx.
Re: trouble with lilosetup
Posted: 3. Feb 2011, 23:02
by mimosa
Code: Select all
tim[~]$ LANG=C os-prober
bash: os-prober: command not found
tim[~]$ su
Password:
root[tim]# LANG=C os-prober
No volume groups found
/dev/sda1:Microsoft Windows XP Professional:Windows:chain
/dev/sda7::Arch:linux
Re: trouble with lilosetup
Posted: 4. Feb 2011, 07:56
by Akuna
OK Thanks.
Working on it.

Re: trouble with lilosetup
Posted: 4. Feb 2011, 12:35
by Akuna