You are not logged in.
Hej!
Today I finally succesfully created a LiveCD from a running Arch System. Because I want to migrate my installation to another partition and of course to check out whether the livecd is functional I tried to install my customized archlinux to hdd. Using larchin for that, I get the following error message after pressing the ok button:
This error couldn't be handled
Traceback (most recent call last):
File "/home/mt/larch/larch5.3/larchin/pkg/opt/larchin/modules/gtk/guimain.py", line 252, in changed_cb
mainWindow.setStage(s)
File "/home/mt/larch/larch5.3/larchin/pkg/opt/larchin/modules/gtk/guimain.py", line 161, in setStage
self.mainWidget = stages[stagename].Widget()
File "/home/mt/larch/larch5.3/larchin/pkg/opt/larchin/modules/stages/finddevices.py", line 57, in __init__
File "/home/mt/larch/larch5.3/larchin/pkg/opt/larchin/modules/stages/finddevices.py", line 79, in getDevices
ValueError: need more than 1 value to unpack
Having found a bug report on http://www.bugs.maryanlinux.com/showreport.php?bugid=3 and having seen it mentioned once here in the forum I don't see a fast solution for this issue. So I'm wondering if there is another way to install the system? What about the installer used for the official installation-images of archlinux? Or maybe some other trick or something I don't see?
thanks in advance
Last edited by calle (2009-03-27 00:16:44)
Offline
It's a problem scanning the devices on your system (I think). Could you send me the output of these commands (running on the system you are trying to install to): 'cat /proc/partitions', 'fdisk -l' and 'parted -l'. Just run them from a terminal in the larch live system, for example.
If you are trying to install on a fresh disk without partition table, it might be enough just to create a partition with cfdisk or gparted before running larchin. I'm afraid there is no other (easy) way of installing a larch system. However if you just want to transfer a system from one partition to another there are easier ways - use the live CD to prepare the destination partition(s) and copy with cp or rsync - there is probably a wiki page or forum posting somewhere mentioning the few extra steps (grub, fstab, etc.).
See also http://bbs.archlinux.org/viewtopic.php? … 30#p521430.
And if you want to reach me, it is safer to post on the existing larch thread as I don't scan the whole forum regularly.
Last edited by gradgrind (2009-03-24 12:36:22)
larch: http://larch.berlios.de
Offline
cat /proc/partitions delivers:
8 0 40146624 sda
8 1 248976 sda1
8 2 17382330 sda2
8 3 2000092 sda3
8 4 20515005 sda4
8 16 244198584 sdb
8 17 167405301 sdb1
8 18 34186320 sdb2
8 19 26852647 sdb3
8 20 15751732 sdb4
7 0 534840 loop0
7 1 4 loop1
fdisk -l gives:
Platte /dev/sda: 41.1 GByte, 41110142976 Byte
255 Köpfe, 63 Sektoren/Spuren, 4998 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0xb267b1caGerät boot. Anfang Ende Blöcke Id System
/dev/sda1 1 31 248976 83 Linux
/dev/sda2 32 2195 17382330 83 Linux
/dev/sda3 2196 2444 2000092+ 82 Linux Swap / Solaris
/dev/sda4 * 2445 4998 20515005 7 HPFS/NTFSPlatte /dev/sdb: 250.0 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x000f2f85Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 20841 167405301 83 Linux
/dev/sdb2 26146 30401 34186320 83 Linux
/dev/sdb3 22803 26145 26852647+ b W95 FAT32
/dev/sdb4 20842 22802 15751732+ 83 LinuxPartitionstabelleneinträge sind nicht in Platten-Reihenfolge
and parted -l gives me:
Modell: ATA Maxtor 6E040L0 (scsi)
Festplatte /dev/sda: 41,1GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdosNummer Anfang Ende Größe Typ Dateisystem Flags
1 32,3kB 255MB 255MB primary ext2
2 255MB 18,1GB 17,8GB primary ext3
3 18,1GB 20,1GB 2048MB primary linux-swap
4 20,1GB 41,1GB 21,0GB primary ntfs bootModell: ATA SAMSUNG HD250HJ (scsi)
Festplatte /dev/sdb: 250GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdosNummer Anfang Ende Größe Typ Dateisystem Flags
1 32,3kB 171GB 171GB primary ext3
4 171GB 188GB 16,1GB primary ext3
3 188GB 215GB 27,5GB primary fat32
2 215GB 250GB 35,0GB primary ext3Warnung: Kann /dev/sr0 nicht zum Schreiben öffnen (Das Dateisystem ist nur
lesbar). /dev/sr0 wurde nur lesbar geöffnet.
Fehler: /dev/sr0: unrecognised disk label
I hope you can deal with the german pidgin inbetween, sorry.
I'm not trying to install on a fresh disk though. /dev/sda2 is the partition I want to install to.
I will mind posting future larch-questions in the above mentioned post, thanks for the hint.
another question:
I alternatively created another livecd using the archiso scripts, which perfectly worked too. But now I'm looking for a way to modify the archlinux-installer scripts to fit my needs; that is creating config-files fitting for me (e.g. rc.conf with german locales, proper hostname, daemons etc.) and especially for installing the packages i'd like to have installed (like xorg, a desktop environment, whatever programs i like) with predefined configurations (e.g. xorg.conf, desktop-settings, firefox-extensions and so on), so that i can simply run /arch/setup from the livecd as usual but end up with a properly configured system i can start working with right away. Does perhaps anyone know of any further resources i might refer to?
thanks for your help so far
Offline
Thanks for the script output. I'll see if I can find anything, though I must say, the output looks completely 'normal' on first glance. Maybe I missed something connected with using other locales (I tend to test only in English - a mistake!).
There have been a few posts about automated installations using the official installer, and I think the new AIF is trying to incorporate something along those lines. Try searching the forums.
larch: http://larch.berlios.de
Offline
are you using larchin as root?
I got this error when trying to run it as simple user.
Offline
it kinda embarasses me, but yes, that indeed was the problem!
didn't even occur to me, sorry for bothering, gradgrind.
now i almost finished writing a post-installation script that manages my setup, but i think i'm gonna abandon that and use larch now. great stuff! was a great bash lesson though, so no time wasted.
thank you anyway gradgrind and thank you farvardin!
Offline