Re: [Server-devel] mkusbinstall

2010-04-28 Thread Jerry Vonau
On Thu, 2010-04-29 at 08:33 +1000, James Cameron wrote: > In mkusbinstall the existing code does this: > > USBFS=$(/lib/udev/vol_id -t $dev) > > it should do this > > USBFS=$(blkid -s TYPE -o value $dev) > > which works for me ... > > and where it does this: > > USBLABEL=$(/

Re: [Server-devel] mkusbinstall

2010-04-28 Thread James Cameron
Yes, vol_id is gone in favour of blkid. -- James Cameron http://quozl.linux.org.au/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel

[Server-devel] mkusbinstall

2010-04-28 Thread Sameer Verma
Looking at http://wiki.laptop.org/go/XS_Techniques_and_Configuration I'm hit by another udev moving target. udevinfo has moved to udevadm and that's an easy switch, but now on Ubuntu 9.10 vol_id is no longer implemented (other distros too?). I get: ./mkusbinstall: line 112: /lib/udev/vol_id: No s

Re: [Server-devel] mkusbinstall link broken?

2009-06-17 Thread Martin Langhoff
On Wed, Jun 10, 2009 at 9:29 PM, Sameer Verma wrote: > I am using mkusbinstall to install xs-0.6d on to a USB stick. I am > doing this on Ubuntu 9.04 which does not ship udevinfo. I get an error > of "command not found". Ubuntu 9.04 ships udevadm. > https://lists.ubuntu.com/archives/universe-bugs/2

Re: [Server-devel] mkusbinstall link broken?

2009-06-10 Thread Sameer Verma
On Fri, Mar 20, 2009 at 12:37 AM, John Watlington wrote: > > The OLPC web-based git interface was changed, due to security > holes in the previous one.   Unfortunately, links into it still haven't > been changed. > > On Mar 20, 2009, at 1:17 AM, Sameer Verma wrote: > >> >> http://dev.laptop.org/git

Re: [Server-devel] mkusbinstall link broken?

2009-03-23 Thread Sameer Verma
On Mon, Mar 23, 2009 at 12:39 AM, Martin Langhoff wrote: > On Mon, Mar 23, 2009 at 11:21 AM, Sameer Verma wrote: >> I've got Squid running and one AA (prototype) and two XOs. The >> "server" pulls in 8 watts at the adapter (110V->12V). Works fine! > > Nice! I see it's rated for 0-45C, what temps

Re: [Server-devel] mkusbinstall link broken?

2009-03-23 Thread Martin Langhoff
On Mon, Mar 23, 2009 at 11:21 AM, Sameer Verma wrote: > I've got Squid running and one AA (prototype) and two XOs. The > "server" pulls in 8 watts at the adapter (110V->12V). Works fine! Nice! I see it's rated for 0-45C, what temps are you trying it with? Will it now be part of your test group's

Re: [Server-devel] mkusbinstall link broken?

2009-03-23 Thread Martin Langhoff
On Mon, Mar 23, 2009 at 8:27 AM, Jerry Vonau wrote: >> I tried the mkusbinstall script. It works. Installing from USB is > Yea, at the boot prompt remove the "method= part, you will have to the 'method' part initially works, but fails later, right after formatting the target disk. That's waiting

Re: [Server-devel] mkusbinstall link broken?

2009-03-22 Thread Sameer Verma
On Sun, Mar 22, 2009 at 12:27 PM, Jerry Vonau wrote: > On Sun, 2009-03-22 at 18:02 +, Sameer Verma wrote: >> On Fri, Mar 20, 2009 at 7:37 AM, John Watlington wrote: >> > >> > The OLPC web-based git interface was changed, due to security >> > holes in the previous one.   Unfortunately, links i

Re: [Server-devel] mkusbinstall link broken?

2009-03-22 Thread Jerry Vonau
On Sun, 2009-03-22 at 18:02 +, Sameer Verma wrote: > On Fri, Mar 20, 2009 at 7:37 AM, John Watlington wrote: > > > > The OLPC web-based git interface was changed, due to security > > holes in the previous one. Unfortunately, links into it still haven't > > been changed. > > > > On Mar 20, 20

Re: [Server-devel] mkusbinstall link broken?

2009-03-22 Thread Sameer Verma
On Fri, Mar 20, 2009 at 7:37 AM, John Watlington wrote: > > The OLPC web-based git interface was changed, due to security > holes in the previous one.   Unfortunately, links into it still haven't > been changed. > > On Mar 20, 2009, at 1:17 AM, Sameer Verma wrote: > >> >> http://dev.laptop.org/git

Re: [Server-devel] mkusbinstall link broken?

2009-03-20 Thread John Watlington
The OLPC web-based git interface was changed, due to security holes in the previous one. Unfortunately, links into it still haven't been changed. On Mar 20, 2009, at 1:17 AM, Sameer Verma wrote: > http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=util/ > mkusbinstall;hb=HEAD Git it in

[Server-devel] mkusbinstall link broken?

2009-03-19 Thread Sameer Verma
http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=util/mkusbinstall;hb=HEAD on http://wiki.laptop.org/go/XS_Installing_Software#Optional:_Using_a_USB_key.2Fdisk_for_installation leads to a blank page. Suggestions? Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information System

Re: [Server-devel] mkusbinstall enhancements

2009-02-24 Thread Jerry Vonau
On Wed, 2009-02-25 at 14:47 +1300, Martin Langhoff wrote: > On Mon, Feb 23, 2009 at 8:27 AM, Jerry Vonau wrote: > > Wow, did I have a fun night for once, sorry for the delay in replying. > > :-) > > > That should of read --baseurl=file:///mnt/isodir/updates > > I am a bit lost -- you do run a b

Re: [Server-devel] mkusbinstall enhancements

2009-02-24 Thread Martin Langhoff
On Mon, Feb 23, 2009 at 8:27 AM, Jerry Vonau wrote: > Wow, did I have a fun night for once, sorry for the delay in replying. :-) > That should of read --baseurl=file:///mnt/isodir/updates I am a bit lost -- you do run a bit too fast. Or maybe erlang cooked my noodle... > I've uploaded a XSupda

Re: [Server-devel] mkusbinstall enhancements

2009-02-21 Thread Jerry Vonau
On Thu, 2009-02-19 at 15:02 +1300, Martin Langhoff wrote: > On Thu, Feb 19, 2009 at 6:50 AM, Jerry Vonau wrote: > >> I need to append "method=hd:LABEL=XSRepo:/iso" to the same line, > > > > Can you change this line in the patch from: > > sed -i -e 's/cdrom:/hd:LABEL=XSRepo:/g' > > $USBMNT/$SYSLINU

Re: [Server-devel] mkusbinstall enhancements

2009-02-18 Thread Jerry Vonau
On Wed, 2009-02-18 at 20:34 -0600, Jerry Vonau wrote: > On Thu, 2009-02-19 at 15:06 +1300, Martin Langhoff wrote: > > On Thu, Feb 19, 2009 at 2:36 PM, Jerry wrote: > > > User impression doesn't count? ;-) Kind of throws fully automated > > > installs out the window. To support installs to CF or fr

Re: [Server-devel] mkusbinstall enhancements

2009-02-18 Thread Jerry Vonau
On Thu, 2009-02-19 at 15:06 +1300, Martin Langhoff wrote: > On Thu, Feb 19, 2009 at 2:36 PM, Jerry wrote: > > User impression doesn't count? ;-) Kind of throws fully automated > > installs out the window. To support installs to CF or from the network, > > anaconda needs to be patched for F9, is in

Re: [Server-devel] mkusbinstall enhancements

2009-02-18 Thread Martin Langhoff
On Thu, Feb 19, 2009 at 2:36 PM, Jerry wrote: > User impression doesn't count? ;-) Kind of throws fully automated > installs out the window. To support installs to CF or from the network, > anaconda needs to be patched for F9, is installing to a XO on hold? or > are you looking to move to F10? It

Re: [Server-devel] mkusbinstall enhancements

2009-02-18 Thread Martin Langhoff
On Thu, Feb 19, 2009 at 6:50 AM, Jerry Vonau wrote: >> I need to append "method=hd:LABEL=XSRepo:/iso" to the same line, > > Can you change this line in the patch from: > sed -i -e 's/cdrom:/hd:LABEL=XSRepo:/g' > $USBMNT/$SYSLINUXPATH/isolinux.cfg I folded the second part of your patch (which I ha

Re: [Server-devel] mkusbinstall fails -SUCCESS

2009-02-15 Thread Martin Langhoff
On Mon, Feb 16, 2009 at 8:40 PM, David Leeming wrote: > OK it worked thanks to all of you. You were all right. A combination of > weird small errors with hardware and sum packages that weren't installed on > Ubuntu... Good to hear you found the way to get it started... > HOWEVER - the installati

Re: [Server-devel] mkusbinstall fails -SUCCESS

2009-02-15 Thread David Leeming
ssage- From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of qu...@laptop.org Sent: Monday, 16 February 2009 3:35 p.m. To: David Leeming Cc: 'Martin Langhoff'; server-devel@lists.laptop.org Subject: Re: [Server-devel] mkusbinstall fails You got Input/Output error during cp

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread Jerry Vonau
On Mon, 2009-02-16 at 15:04 +1300, Martin Langhoff wrote: > On Mon, Feb 16, 2009 at 2:42 PM, David Leeming > wrote: > > Tried with another USB stick - exactly the same result. > > Thanks for writing up carefully the steps you followed... I think I > spotted the problem... > > > SET UP BOOTABLE

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread quozl
You got Input/Output error during cp read of /media/cdtmp.Rf6276, which I guess is the loopback mounted ISO 9660 file system image. The most common cause of this is truncation of the image, especially if the files on which it occurs are near the end of the image. checkisomd5 is missing. Install

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread Martin Langhoff
On Mon, Feb 16, 2009 at 5:22 PM, David Leeming wrote: > Pia (very kindly) sent me the hardware with the very same USB stick > pre-configured with 0.5.0. It booted and started the installation fine, but > failed right at the end with an exception error that we decided was due to > hardware. If you

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread Martin Langhoff
On Mon, Feb 16, 2009 at 3:53 PM, David Leeming wrote: > - insert in XS machine and boot > - get same error as before ugh. There is something going on there... but I am no longer sure if it is a problem in the procedure you are following or just a hardware incompatibility. Overall, USB-based ins

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread David Leeming
OK I followed your advice. As follows: - used Windows to format (FAT 16) - transfer to Ubuntu - check in Partition editor: shows as a good 1.86GB partition, fat16, Flags=boot - run mkusbinstall - says "Copying live image to USB stick" - same i/o errors appear as in the jpeg I attached previous

Re: [Server-devel] mkusbinstall fails

2009-02-15 Thread Martin Langhoff
On Mon, Feb 16, 2009 at 2:42 PM, David Leeming wrote: > Tried with another USB stick - exactly the same result. Thanks for writing up carefully the steps you followed... I think I spotted the problem... > SET UP BOOTABLE USB STICK > > - insert 2GB USB drive previously formatted with Windows (FA