Re: [leaf-devel] Install script

2015-04-09 Thread kp kirchdoerfer
Am Mittwoch, 8. April 2015, 22:04:12 schrieb Andrew: > 08.04.2015 17:44, kp kirchdoerfer пишет: > > Am Dienstag, 7. April 2015, 20:29:19 schrieb Andrew: > >> Can you manually format your storage with '-r 512' option? > > > > this the default; it worked with -r 1024 > > AFAIK by default root dir s

Re: [leaf-devel] Install script

2015-04-08 Thread Erich Titl
Am 08.04.2015 um 21:04 schrieb Andrew: > 08.04.2015 17:44, kp kirchdoerfer пишет: ... > We can use parted for automation. fdisk isn't good for this (we can't > handle multiple partitions correctly). Mhhh I used to automate tasks with fdisk to build multiple partitions on CF's given. fdisk ha

Re: [leaf-devel] Install script

2015-04-08 Thread Andrew
08.04.2015 17:44, kp kirchdoerfer пишет: > Am Dienstag, 7. April 2015, 20:29:19 schrieb Andrew: >> Can you manually format your storage with '-r 512' option? > this the default; it worked with -r 1024 AFAIK by default root dir size is dependent from partition size. 1024 records IMHO is overkill fo

Re: [leaf-devel] Install script

2015-04-08 Thread kp kirchdoerfer
Am Dienstag, 7. April 2015, 20:29:19 schrieb Andrew: > Can you manually format your storage with '-r 512' option? this the default; it worked with -r 1024 And it booted afterwards - nice! Anyway we should think about if we need to add hsdupp for every iso image. Users of the iso image will get

Re: [leaf-devel] Install script

2015-04-07 Thread Andrew
07.04.2015 23:44, Erich Titl пишет: > Am 07.04.2015 um 19:45 schrieb Andrew: >> 07.04.2015 20:03, Erich Titl пишет: > ..> >> System may be used for new flash drives creation. And we may just move >> away hdsupp.lrp from installed system. > But then install makes even less sense on an installed syst

Re: [leaf-devel] Install script

2015-04-07 Thread Erich Titl
Am 07.04.2015 um 19:45 schrieb Andrew: > 07.04.2015 20:03, Erich Titl пишет: ..> >> > System may be used for new flash drives creation. And we may just move > away hdsupp.lrp from installed system. But then install makes even less sense on an installed system. cheers ET smime.p7s Description

Re: [leaf-devel] Install script

2015-04-07 Thread Andrew
07.04.2015 20:03, Erich Titl пишет: > Hi > > Am 07.04.2015 um 18:58 schrieb kp kirchdoerfer: >> Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: >>> It seems like script is now enough useful, I included it into maint >>> branch (it shouldn't break anything). >> It fails to work in my test setup (

Re: [leaf-devel] Install script

2015-04-07 Thread Andrew
Can you manually format your storage with '-r 512' option? 07.04.2015 19:58, kp kirchdoerfer пишет: > Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: >> It seems like script is now enough useful, I included it into maint >> branch (it shouldn't break anything). > It fails to work in my test set

Re: [leaf-devel] Install script

2015-04-07 Thread Andrew
It seems like you are reached root directory files limit. I tested it on VM with ~1G storage - all is OK. I'll try to force bigger root directory size (IMHO 512 entries should be enough for all) 07.04.2015 18:51, kp kirchdoerfer пишет: > Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: >> It

Re: [leaf-devel] Install script

2015-04-07 Thread Erich Titl
Hi Am 07.04.2015 um 18:58 schrieb kp kirchdoerfer: > Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: >> It seems like script is now enough useful, I included it into maint >> branch (it shouldn't break anything). > > It fails to work in my test setup (see previous mail) - can we disabe for >

Re: [leaf-devel] Install script

2015-04-07 Thread kp kirchdoerfer
Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: > It seems like script is now enough useful, I included it into maint > branch (it shouldn't break anything). It fails to work in my test setup (see previous mail) - can we disabe for maint (just by removing install.sh from config repo)? That wa

Re: [leaf-devel] Install script

2015-04-07 Thread kp kirchdoerfer
Am Montag, 6. April 2015, 22:34:25 schrieb Andrew: > It seems like script is now enough useful, I included it into maint > branch (it shouldn't break anything). Tested and it failed with " no space left on device" while copying packages. df -h shows: unused space of 164M for /dev/sda1 and 8MB fo

Re: [leaf-devel] Install script

2015-04-06 Thread Andrew
It seems like script is now enough useful, I included it into maint branch (it shouldn't break anything). 06.04.2015 09:51, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 20:38:02 schrieb Andrew: >> 05.04.2015 18:33, kp kirchdoerfer пишет: >>> Am Sonntag, 5. April 2015, 18:18:17 schrieb Andr

Re: [leaf-devel] Install script

2015-04-06 Thread Andrew
06.04.2015 09:51, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 20:38:02 schrieb Andrew: >> 05.04.2015 18:33, kp kirchdoerfer пишет: >>> Am Sonntag, 5. April 2015, 18:18:17 schrieb Andrew: 05.04.2015 18:13, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew:

Re: [leaf-devel] Install script

2015-04-05 Thread kp kirchdoerfer
Am Sonntag, 5. April 2015, 20:38:02 schrieb Andrew: > 05.04.2015 18:33, kp kirchdoerfer пишет: > > Am Sonntag, 5. April 2015, 18:18:17 schrieb Andrew: > >> 05.04.2015 18:13, kp kirchdoerfer пишет: > >>> Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew: > Wrong partition type :) > >>> > >>>

Re: [leaf-devel] Install script

2015-04-05 Thread Andrew
05.04.2015 18:33, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 18:18:17 schrieb Andrew: >> 05.04.2015 18:13, kp kirchdoerfer пишет: >>> Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew: Wrong partition type :) >>> ok I fixed that by choosing type "b" (should it be any other??) >> Any

Re: [leaf-devel] Install script

2015-04-05 Thread kp kirchdoerfer
Am Sonntag, 5. April 2015, 18:18:17 schrieb Andrew: > 05.04.2015 18:13, kp kirchdoerfer пишет: > > Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew: > >> Wrong partition type :) > > > > ok I fixed that by choosing type "b" (should it be any other??) > > Any FAT type (fdisk -l should show FAT/F

Re: [leaf-devel] Install script

2015-04-05 Thread Andrew
05.04.2015 18:13, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew: >> Wrong partition type :) > ok I fixed that by choosing type "b" (should it be any other??) Any FAT type (fdisk -l should show FAT/FAT32/etc) > now I see after choosing partiton 1: > line 50: arithmetic

Re: [leaf-devel] Install script

2015-04-05 Thread kp kirchdoerfer
Am Sonntag, 5. April 2015, 17:57:47 schrieb Andrew: > Wrong partition type :) ok I fixed that by choosing type "b" (should it be any other??) now I see after choosing partiton 1: line 50: arithmetic syntax error better to $DEVNUM<$5 to $DEVNUM<5 but then it fails claimng that Partition is alr

Re: [leaf-devel] Install script

2015-04-05 Thread Andrew
Wrong partition type :) 05.04.2015 17:48, kp kirchdoerfer пишет: > Am Sonntag, 5. April 2015, 17:37:28 schrieb Andrew: >> Hm, strange. >> What says fdisk -l ? >> > it shows /dev/sda1 "not bootable" Id 83 and type Linux. > > > kp > > > >> 05.04.2015 16:48, kp kirchdoerfer пишет: >>> Hi Andrew; >>>

Re: [leaf-devel] Install script

2015-04-05 Thread kp kirchdoerfer
Am Sonntag, 5. April 2015, 17:37:28 schrieb Andrew: > Hm, strange. > What says fdisk -l ? > it shows /dev/sda1 "not bootable" Id 83 and type Linux. kp > 05.04.2015 16:48, kp kirchdoerfer пишет: > > Hi Andrew; > > > > just build a VM for testing and, created a partition with fdisk and > > fo

Re: [leaf-devel] Install script

2015-04-05 Thread Andrew
Hm, strange. What says fdisk -l ? 05.04.2015 16:48, kp kirchdoerfer пишет: > Hi Andrew; > > just build a VM for testing and, created a partition with fdisk and formatted > the device with vfat. > Also mounted the iso images to /mnt. > > running > > with_storage /mnt installer > > failed with the

Re: [leaf-devel] Install script

2015-04-05 Thread kp kirchdoerfer
Hi Andrew; just build a VM for testing and, created a partition with fdisk and formatted the device with vfat. Also mounted the iso images to /mnt. running with_storage /mnt installer failed with the message "No fat partitions found". kp Am Sonntag, 5. April 2015, 01:34:31 schrieb Andrew:

Re: [leaf-devel] Install script

2015-04-04 Thread Andrew
Hi. I slightly updated script, now it should also copy packages to new media (from iso or syslinux-booted device), also it should change LEAFCFG and PKGPATH var to /dev/sda. Here is it: http://pastebin.com/N9BARvH5 Can anybody test it (booting from iso and from syslinux)? I haven't testbox ne

Re: [leaf-devel] Install script

2015-03-18 Thread Andrew
It'll be good to make install from cd easy for end users - so I think that it'll be good to add 'install to hdd' item into menu. And when user chooses it - copy all packages to choosed partition, place syslinux-related files and leaf.cfg (where we should store then on isolinux image?), make it

Re: [leaf-devel] Install script

2015-03-18 Thread kp kirchdoerfer
Hi Andrew; Am Montag, 16. März 2015, 20:29:17 schrieb Andrew: > Hi. > Right, it seems that mailing list strips attaches :( > Here is it: http://pastebin.com/WCTHZ89s That worked; but I don't get the picture. Can you pls provide some more information about how you intend to use it? thx kp > 16

Re: [leaf-devel] Install script

2015-03-16 Thread Andrew
Hi. Right, it seems that mailing list strips attaches :( Here is it: http://pastebin.com/WCTHZ89s 16.03.2015 19:25, kp kirchdoerfer пишет: > Am Sonntag, 15. März 2015, 00:53:14 schrieb Andrew: >> Hi all. >> >> I wrote small install script to make LEAF installing easier for >> customers. Currently

Re: [leaf-devel] Install script

2015-03-16 Thread kp kirchdoerfer
Am Sonntag, 15. März 2015, 00:53:14 schrieb Andrew: > Hi all. > > I wrote small install script to make LEAF installing easier for > customers. Currently it chooses partition, and installs MBR/syslinux on it. > > It'll be good to add packages copying from CD to this partition (how we > should hand

[leaf-devel] Install script

2015-03-14 Thread Andrew
Hi all. I wrote small install script to make LEAF installing easier for customers. Currently it chooses partition, and installs MBR/syslinux on it. It'll be good to add packages copying from CD to this partition (how we should handle syslinux configs in this case? tarball with configs on iso