Re: System installation from a USB stick

2014-07-24 Thread Ludovic Courtès
Adam Pribyl skribis: > - I would vote for the basic config.scm to be present on the USB > somewhere, it is time consuming to rewrite one from help to the > file. (Could be I may copy it somehow from info page, but I would need > a help how to do that.) Done in 1dac856. Ludo’.

Re: System installation from a USB stick

2014-07-24 Thread David Thompson
Adam Pribyl writes: > On Thu, 24 Jul 2014, David Thompson wrote: > >> Adam Pribyl writes: >> >>> I can not boot installed system, boot looks for /dev/sda1 which is not >>> present. It smells to me like the same problem with devtmpfs previously in >>> live USB... I found in grub the reference to

Re: System installation from a USB stick

2014-07-24 Thread Adam Pribyl
On Thu, 24 Jul 2014, David Thompson wrote: Adam Pribyl writes: I can not boot installed system, boot looks for /dev/sda1 which is not present. It smells to me like the same problem with devtmpfs previously in live USB... I found in grub the reference to /dev/sda1 (as LiveUSB now with udev in

Re: System installation from a USB stick

2014-07-24 Thread David Thompson
Adam Pribyl writes: > I can not boot installed system, boot looks for /dev/sda1 which is not > present. It smells to me like the same problem with devtmpfs previously in > live USB... I found in grub the reference to /dev/sda1 (as LiveUSB now > with udev in devtmpfs and kernel 3.15.6 asigns th

Re: System installation from a USB stick

2014-07-24 Thread Ludovic Courtès
Adam Pribyl skribis: > On Wed, 23 Jul 2014, Ludovic Courtès wrote: > >> I’ve finally fixed this problem: . >> Not perfect, since it requires users to type an extra command, but that >> seems acceptable to me. >> >> I would very much appreciate new tests and feedback. H

Re: System installation from a USB stick

2014-07-24 Thread Adam Pribyl
On Wed, 23 Jul 2014, Ludovic Courtès wrote: I’ve finally fixed this problem: . Not perfect, since it requires users to type an extra command, but that seems acceptable to me. I would very much appreciate new tests and feedback. Here’s a new image with this fix: htt

Re: System installation from a USB stick

2014-07-23 Thread Ludovic Courtès
I’ve finally fixed this problem: . Not perfect, since it requires users to type an extra command, but that seems acceptable to me. I would very much appreciate new tests and feedback. Here’s a new image with this fix: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb

Re: System installation from a USB stick

2014-07-22 Thread Andreas Enge
Hello, On Fri, Jul 18, 2014 at 09:04:49AM +0200, Ludovic Courtès wrote: > I’ve uploaded a new USB installation image for x86_64 for testing: I just tried booting it, successfully, on my Dell Latitude (I think E6320). As I have no free partition, I did not attempt an installation. But guix command

Re: System installation from a USB stick

2014-07-22 Thread Ludovic Courtès
Commit a69576e mounts devtmpfs in a proper way. Ludo’.

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl skribis: > deco stop udev > mount -t devtmpfs dev /dev > deco start udev > > then /dev is correctly populated. This patch apparently does the trick similarly: diff --git a/gnu/services/base.scm b/gnu/services/base.scm index ae12c8e..31f1b74 100644 --- a/gnu/services/base.scm +++ b/g

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl skribis: > On Mon, 21 Jul 2014, Ludovic Courtès wrote: > >> Adam Pribyl skribis: >> >>> Kernel in dmesg identifies the device like /dev/sdf, doing >>> mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt >>> solves the problem. So definitely the drive is at sdf. It loo

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl skribis: > OK, solved. This was a bad idea to mount bind /mnt/gnu to /gnu, using > a directory with a different name on /mnt/ - finished the > installation. I’m surprised that it works at all, because at this point /mnt/gnu/store is basically empty, so if you bind-mount it to /gnu/st

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the drive is at sdf. It looks to me like there is some built in lim

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Adam Pribyl wrote: this involved mount /dev/sdf1 /mnt/ cp -a /gnu /mnt/ mount -o bind /mnt/gnu /gnu from now on, the target /mnt/gnu is filling up during guix system init. it ends up with initializing operating system under "/mnt" copying '/gnu..glibc-2.19.locales'...

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the drive is at sdf. It looks to me like there is some built in lim

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl skribis: > Kernel in dmesg identifies the device like /dev/sdf, doing > mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt > solves the problem. So definitely the drive is at sdf. It looks to me > like there is some built in limit in udev for number of "scsi" devices

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Sun, 20 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: Sorry, I was completely wrong, the new liveUSB has e2fsprogs, however I probably do have the problem with ahci module too, and I confused the old /dev/sda har

Re: System installation from a USB stick

2014-07-20 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: >> as there is only 1GB of RAM and it seems the install fetches too much >> packages into ramdisk. Why is it not using the target file system >> already? > > Hmm, it’s actually initially populating the local store, on the RAM > disk, right. I agree that’s a

Re: System installation from a USB stick

2014-07-20 Thread Ludovic Courtès
Adam Pribyl skribis: > On Sat, 19 Jul 2014, Ludovic Courtès wrote: > >> Adam Pribyl skribis: >> Sorry, I was completely wrong, the new liveUSB has e2fsprogs, however I probably do have the problem with ahci module too, and I confused the old /dev/sda harddrive which is now missing

Re: System installation from a USB stick

2014-07-19 Thread Adam Pribyl
On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: Sorry, I was completely wrong, the new liveUSB has e2fsprogs, however I probably do have the problem with ahci module too, and I confused the old /dev/sda harddrive which is now missing, and /dev/sda USB. So this is it. My HDD i

Re: System installation from a USB stick

2014-07-19 Thread Ludovic Courtès
Adam Pribyl skribis: >> Sorry, I was completely wrong, the new liveUSB has e2fsprogs, >> however I probably do have the problem with ahci module too, and I >> confused the old /dev/sda harddrive which is now missing, and >> /dev/sda USB. So this is it. My HDD is not visible with the new USB >> im

Re: System installation from a USB stick

2014-07-19 Thread Adam Pribyl
On Sat, 19 Jul 2014, Adam Pribyl wrote: On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: On Sat, 19 Jul 2014, Ludovic Courtès wrote: [...] The installation image’s root is mounted by label. So if you happen to have a different partition with the label ‘gnu-disk-image’,

Re: System installation from a USB stick

2014-07-19 Thread Adam Pribyl
On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: On Sat, 19 Jul 2014, Ludovic Courtès wrote: [...] The installation image’s root is mounted by label. So if you happen to have a different partition with the label ‘gnu-disk-image’, then it may end up mounting the wrong part

Re: System installation from a USB stick

2014-07-19 Thread Ludovic Courtès
Adam Pribyl skribis: > On Sat, 19 Jul 2014, Ludovic Courtès wrote: [...] >> The installation image’s root is mounted by label. So if you happen to >> have a different partition with the label ‘gnu-disk-image’, then it may >> end up mounting the wrong partition. That’s what’s happening here, >

Re: System installation from a USB stick

2014-07-19 Thread Adam Pribyl
On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl skribis: On Fri, 18 Jul 2014, Ludovic Courtès wrote: I’ve uploaded a new USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140718.x86_64.xz SHA1: ac944214af34d62b585fa089cd333

Re: System installation from a USB stick

2014-07-19 Thread Ludovic Courtès
Adam Pribyl skribis: > On Fri, 18 Jul 2014, Ludovic Courtès wrote: > >> I’ve uploaded a new USB installation image for x86_64 for testing: >> >> http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140718.x86_64.xz >> SHA1: ac944214af34d62b585fa089cd333c1e007be7f2 >> (105 MiB) >> >> Use

Re: System installation from a USB stick

2014-07-18 Thread Adam Pribyl
On Fri, 18 Jul 2014, David Thompson wrote: Adam Pribyl writes: Booted fine, but mounted my HDD install root /dev/sda1 as /real-root and I can not unmount it or find /real-root... Try `mkdir /real-root` first? Making this directory on USB flash with guix root did not change anything. IMHO

Re: System installation from a USB stick

2014-07-18 Thread Adam Pribyl
On Fri, 18 Jul 2014, Ludovic Courtès wrote: I’ve uploaded a new USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140718.x86_64.xz SHA1: ac944214af34d62b585fa089cd333c1e007be7f2 (105 MiB) Use alt-f2 to see the relevant doc. Feedback

Re: System installation from a USB stick

2014-07-18 Thread David Thompson
Adam Pribyl writes: > Booted fine, but mounted my HDD install root /dev/sda1 as /real-root and I > can not unmount it or > find /real-root... Try `mkdir /real-root` first? -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fs

Re: System installation from a USB stick

2014-07-18 Thread Adam Pribyl
On Fri, 18 Jul 2014, Ludovic Courtès wrote: I’ve uploaded a new USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140718.x86_64.xz SHA1: ac944214af34d62b585fa089cd333c1e007be7f2 (105 MiB) Use alt-f2 to see the relevant doc. Feedback

Re: System installation from a USB stick

2014-07-18 Thread Ludovic Courtès
I’ve uploaded a new USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140718.x86_64.xz SHA1: ac944214af34d62b585fa089cd333c1e007be7f2 (105 MiB) Use alt-f2 to see the relevant doc. Feedback welcome! Ludo’. signature.asc Description

Re: System installation from a USB stick

2014-07-16 Thread Ludovic Courtès
Hi, Thanks for the report, it’s really appreciated! Adam Pribyl skribis: > On Mon, 30 Jun 2014, Ludovic Courtès wrote: > >> Hello! >> >> I’ve uploaded a USB installation image for x86_64 for testing: >> >> http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140629.x86_64.xz >> SHA1: d

Re: System installation from a USB stick

2014-07-16 Thread Ludovic Courtès
John Darrington skribis: > On Mon, Jun 30, 2014 at 12:22:31AM +0200, Ludovic Court??s wrote: > >3. Write an OS configuration file, say, config.scm (the image only has > GNU Zile as the editor.) > > To make it accessible to refugees, can we not provide nano as well? Yes,

Re: System installation from a USB stick

2014-07-16 Thread John Darrington
On Mon, Jun 30, 2014 at 12:22:31AM +0200, Ludovic Court??s wrote: 3. Write an OS configuration file, say, config.scm (the image only has GNU Zile as the editor.) To make it accessible to refugees, can we not provide nano as well? -- PGP Public key ID: 1024D/2DE827B3 fi

Re: System installation from a USB stick

2014-07-16 Thread Adam Pribyl
On Mon, 30 Jun 2014, Ludovic Courtès wrote: Hello! I’ve uploaded a USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140629.x86_64.xz SHA1: d36e70d25b81b734fa9558a5446fabb96489ec3b (100 MiB) To install the system, you would: 1. Con

Re: System installation from a USB stick

2014-07-15 Thread Alex Sassmannshausen
Hello, I finally got my hands on a 64bit machine and was able to try out the installation image. It worked smoothly up until network configuration (different hardware) — it was pretty exciting whilst it lasted :-) Now holding out hope for David's i686 installation image report in order to build

Re: System installation from a USB stick

2014-07-02 Thread David Thompson
Ludovic Courtès writes: > I’m sorry I don’t have a better answer at the moment, but could you try > rebuilding the image with this patch? It works! Thanks! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: System installation from a USB stick

2014-07-02 Thread Ludovic Courtès
David Thompson skribis: > Ludovic Courtès writes: > >> David Thompson skribis: >> >>> David Thompson writes: >>> It boots! :) >>> >>> Well, on my desktop computer it boots. It kernel panics on my Thinkpad >>> x220. linux-initrd.scm:122 throws the error "In procedure bv-u16-ref: >>> Wron

Re: System installation from a USB stick

2014-07-02 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> David Thompson writes: >> >>> It boots! :) >> >> Well, on my desktop computer it boots. It kernel panics on my Thinkpad >> x220. linux-initrd.scm:122 throws the error "In procedure bv-u16-ref: >> Wrong type argument in position 1". > > Ou

Re: System installation from a USB stick

2014-07-02 Thread Ludovic Courtès
David Thompson skribis: > Ludovic Courtès writes: [...] >> To install the system, you would: >> >> 1. Configure the network, by running ‘dhclient eth0’ for instance. >> Normally udev automatically loads device drivers (e.g., my laptop >> uses e1000e for Ethernet), but since it’s a

Re: System installation from a USB stick

2014-07-02 Thread Ludovic Courtès
David Thompson skribis: > David Thompson writes: > >> It boots! :) > > Well, on my desktop computer it boots. It kernel panics on my Thinkpad > x220. linux-initrd.scm:122 throws the error "In procedure bv-u16-ref: > Wrong type argument in position 1". Ouch. I believe this is fixed by d266b79

Re: System installation from a USB stick

2014-07-01 Thread David Thompson
David Thompson writes: > It boots! :) Well, on my desktop computer it boots. It kernel panics on my Thinkpad x220. linux-initrd.scm:122 throws the error "In procedure bv-u16-ref: Wrong type argument in position 1". :( -- David Thompson Web Developer - Free Software Foundation - http://fsf.o

Re: System installation from a USB stick

2014-07-01 Thread David Thompson
Ludovic Courtès writes: > Hello! > > I’ve uploaded a USB installation image for x86_64 for testing: > > http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140629.x86_64.xz > SHA1: d36e70d25b81b734fa9558a5446fabb96489ec3b > (100 MiB) > > It works like this: > > 1. Run ‘xz -d gnu-u

Re: System installation from a USB stick

2014-06-29 Thread Ludovic Courtès
Hello! I’ve uploaded a USB installation image for x86_64 for testing: http://www.fdn.fr/~lcourtes/software/guix/gnu-usb-install-20140629.x86_64.xz SHA1: d36e70d25b81b734fa9558a5446fabb96489ec3b (100 MiB) It works like this: 1. Run ‘xz -d gnu-usb-install-20140629.x86_64.xz’. 2. Copy i

System installation from a USB stick

2014-06-03 Thread Ludovic Courtès
Hello! There’s been some progress towards having an image for installing the GNU system from a USB stick. Here’s a summary of the things recently introduced toward that goal: • ‘guix system disk-image FILE’ generates a raw disk image of the operating system declared in FILE (info "(guix) U