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 installation fails right at the end when performing
> post-installation config - installing bootloader:
>
> An unhandled exception occurred. This is most likely a bug. Please save a

Yes, I've seen this on various hardware. It's not really a hw bug,
it's just some odd incompatibility with the installer sw (anaconda).

Can you get your hands on a USB-CDROM?

If not, the next step to study is starting up the install from that
USB stick, and then telling it it's an NFS-based installation, and
pointing it to an NFS server...

... it's a hard road if you don't have a CDROM... :-/

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] mkusbinstall fails -SUCCESS

2009-02-15 Thread David Leeming
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...

Firstly I installed isomd5sum. It now checks the USB...

Despite my earlier attempts, and the fact that the stick was working when I
first tried (with 0.5.0), and that it appeared fine in partition editor,
files visible etc, there WAS a USB hardware problem - a bad fragment that
persisted.

I tried with another USB stick, simply formatted FAT using a Windows machine
which left it already bootable, and YES it all works. No errors with
mkusbinstall and booting up nicely into anaconda etc.

HOWEVER - the installation fails right at the end when performing
post-installation config - installing bootloader:

An unhandled exception occurred. This is most likely a bug. Please save a
copy of the detailed exception and the bug report against anaconda at your
distribution provided bug reporting tool

I think this IS a hardware problem, it is reproducible. Any ideas?




David Leeming
Technical Advisor, People First Network, Honiara, Solomon Islands
Alternative email address: leemingda...@yahoo.com.au 



-Original Message-
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 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 it from package isomd5sum on Ubuntu.

There may be other tools missing.  Use script command to capture all the
output as text, so we can have another look.

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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 USB STICK
> >
> > - insert 2GB USB drive previously formatted with Windows (FAT)
> > - start Partition editor, delete the existing partition
> 
> Here is where the problem starts... the USB stick is perfectly good
> with a FAT partition. Repartitioning and formatting it in ext2 is
> likely to be the source of the problem.
> 
> Anyone else reading this: do not repartition the USB stick :-)
> 
> David: you need to re-partition the usb stick in a funny format.
> 
>  - use fdisk to delete the partition, create a new partition of type
> "e" (WIN95 16bit LBA), make the partition bootable
> 
>  - use mkfs.vfat with the -F 16 option
> 

I'm using fat32 with no issues here on a 2gb flash drive...

sudo /lib/udev/vol_id  /dev/sdc1
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=48B9-6D23
ID_FS_UUID_ENC=48B9-6D23
ID_FS_LABEL=XSRepo
ID_FS_LABEL_ENC=XSRepo
ID_FS_LABEL_SAFE=XSRepo

sudo fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654528 bytes
63 heads, 62 sectors/track, 1010 cylinders
Units = cylinders of 3906 * 512 = 1999872 bytes
Disk identifier: 0x0007ec58

   Device Boot  Start End  Blocks   Id  System
/dev/sdc1   *   11010 1972499b  W95 FAT32


Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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 it from package isomd5sum on Ubuntu.

There may be other tools missing.  Use script command to capture all the
output as text, so we can have another look.

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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've seen that error, it's a good hint that the HW won't like
being installed from USB (at least with the 0.5.x images). I've seen
it on various machines. Burning CDROMs is the answer :-/

> What about the mkusbinstall errors as in the * attached jpeg **?

Those errors are coming from a plain old "copy file X to the usb disk"
-- the kernel it's telling that writing to that disk failed. The
copies are done using the cp command, as vanilla as it gets. So
probably something wrong in the fdisk partitioning and filesystem
setup for the usb stick _or_ the usb stick being flakey (but you've
said it's not).

[ It's unfortunate that USB installs are hit-and-miss with F-9 stuff... ]



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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 installs are a bit flakey in terms of hardware
compat. Some BIOSes don't always work, and I have seen some machines
where it starts and does not complete. (This is getting much better in
Fedora-10 and 11...)

That's why the wikipage says... in case of trouble, fall back on
CD-ROM installs. Can you try that?

> BTW, where did you see instructions to replace the USB disk partition
> format? I want to make sure we don't have misleading wiki pages...

David - should we be fixing wiki pages anywhere?


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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 email, ending
with "USB stick set up as install image"

- insert in XS machine and boot
- get same error as before

EXTLINUX 3.36 Debian-2007-08-30 EBIOS Copyright (C) 1994-2007 H. Peter Anvin

Could not find kernel image: linux
boot:

If it means anything, the XS machine has a failed installation on it
already, and if there is no bootable USB stick available it starts up in
Grub. 


David Leeming
Technical Advisor, People First Network, Honiara, Solomon Islands
Alternative email address: leemingda...@yahoo.com.au 



-Original Message-
From: Martin Langhoff [mailto:martin.langh...@gmail.com] 
Sent: Monday, 16 February 2009 1:05 p.m.
To: David Leeming
Cc: server-devel@lists.laptop.org
Subject: Re: mkusbinstall fails

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 (FAT)
> - start Partition editor, delete the existing partition

Here is where the problem starts... the USB stick is perfectly good
with a FAT partition. Repartitioning and formatting it in ext2 is
likely to be the source of the problem.

Anyone else reading this: do not repartition the USB stick :-)

David: you need to re-partition the usb stick in a funny format.

 - use fdisk to delete the partition, create a new partition of type
"e" (WIN95 16bit LBA), make the partition bootable

 - use mkfs.vfat with the -F 16 option

Once you have done that, you can check that the disk is in good shape
and usable trying it on a Windows machine for example.

Hope that helps!

BTW, where did you see instructions to replace the USB disk partition
format? I want to make sure we don't have misleading wiki pages...

cheers,



,
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


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 (FAT)
> - start Partition editor, delete the existing partition

Here is where the problem starts... the USB stick is perfectly good
with a FAT partition. Repartitioning and formatting it in ext2 is
likely to be the source of the problem.

Anyone else reading this: do not repartition the USB stick :-)

David: you need to re-partition the usb stick in a funny format.

 - use fdisk to delete the partition, create a new partition of type
"e" (WIN95 16bit LBA), make the partition bootable

 - use mkfs.vfat with the -F 16 option

Once you have done that, you can check that the disk is in good shape
and usable trying it on a Windows machine for example.

Hope that helps!

BTW, where did you see instructions to replace the USB disk partition
format? I want to make sure we don't have misleading wiki pages...

cheers,



,
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel