Re: [casper] filesystem update

2010-10-26 Thread Laura Spitler
Hi everyone,

I know this thread is old, but I'm running into the same problem. I'm
trying to boot my ROACH using a USB stick formatted with one partion
as ext2. I copied the latest filesystem (2010_03_24) (sudo cp -a )
onto the drive making sure the normal root directories are in the
root of the usb stick. The /dev/ directories are there.

It stalls on the same error as for Mark:

VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 132k init
Warning: unable to open an initial console.

Any ideas?
Laura



On Mon, Feb 1, 2010 at 5:31 PM, Mark Wagner mwag...@eecs.berkeley.edu wrote:
 Thanks guys, I tried that and it seems to work now.
 Mark

 On Mon, Feb 1, 2010 at 3:57 AM, Andy Lutomirski aml...@gmail.com wrote:

 cp -rp might not be enough -- the docs are vague on what it does to
 symlinks.  cp -a may be a better bet.
 Also, you can convert ext2 to ext3 directly using tune2fs -j.

 --Andy


 On Feb 1, 2010, at 2:40 AM, Mark Wagner mwag...@eecs.berkeley.edu wrote:

 I updated my usb stick to the filesystem:

 http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/filesystem/filesystem_etch_2009-11-30.tar.bz
 when I 'run usbboot' I get to:
 sd 1:0:0:0: [sda] 15794175 512-byte hardware sectors (8087 MB)
 sd 1:0:0:0: [sda] Write Protect is off
 sd 1:0:0:0: [sda] Assuming drive cache: write through
 sd 1:0:0:0: [sda] 15794175 512-byte hardware sectors (8087 MB)
 sd 1:0:0:0: [sda] Write Protect is off
 sd 1:0:0:0: [sda] Assuming drive cache: write through
  sda: sda1
 sd 1:0:0:0: [sda] Attached SCSI removable disk
 EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem
 as ext2
 VFS: Mounted root (ext2 filesystem) readonly.
 Freeing unused kernel memory: 136k init
 Warning: unable to open an initial console.
 warning: `ntpd' uses 32-bit capabilities (legacy support in use)
 and then the boot process freezes.  I've repartitioned and rebuilt the
 filesystem as ext3 and then simply copied (cp -rp) over the files as i've
 done on other working usb sticks.  Any suggestions?
 Thanks,
 Mark








Re: [casper] filesystem update

2010-10-26 Thread Mark Wagner
Hi Laura,

If I remember correctly, the other thing that can cause this is not opening
up the tarball
as root.  Are you doing this?

Mark


On Tue, Oct 26, 2010 at 5:29 PM, Laura Spitler laura.spit...@gmail.comwrote:

 Hi everyone,

 I know this thread is old, but I'm running into the same problem. I'm
 trying to boot my ROACH using a USB stick formatted with one partion
 as ext2. I copied the latest filesystem (2010_03_24) (sudo cp -a )
 onto the drive making sure the normal root directories are in the
 root of the usb stick. The /dev/ directories are there.

 It stalls on the same error as for Mark:

 VFS: Mounted root (ext2 filesystem) readonly.
 Freeing unused kernel memory: 132k init
 Warning: unable to open an initial console.

 Any ideas?
 Laura



 On Mon, Feb 1, 2010 at 5:31 PM, Mark Wagner mwag...@eecs.berkeley.edu
 wrote:
  Thanks guys, I tried that and it seems to work now.
  Mark
 
  On Mon, Feb 1, 2010 at 3:57 AM, Andy Lutomirski aml...@gmail.com
 wrote:
 
  cp -rp might not be enough -- the docs are vague on what it does to
  symlinks.  cp -a may be a better bet.
  Also, you can convert ext2 to ext3 directly using tune2fs -j.
 
  --Andy
 
 
  On Feb 1, 2010, at 2:40 AM, Mark Wagner mwag...@eecs.berkeley.edu
 wrote:
 
  I updated my usb stick to the filesystem:
 
 
 http://casper.berkeley.edu/svn/trunk/roach/sw/binaries/filesystem/filesystem_etch_2009-11-30.tar.bz
  when I 'run usbboot' I get to:
  sd 1:0:0:0: [sda] 15794175 512-byte hardware sectors (8087 MB)
  sd 1:0:0:0: [sda] Write Protect is off
  sd 1:0:0:0: [sda] Assuming drive cache: write through
  sd 1:0:0:0: [sda] 15794175 512-byte hardware sectors (8087 MB)
  sd 1:0:0:0: [sda] Write Protect is off
  sd 1:0:0:0: [sda] Assuming drive cache: write through
   sda: sda1
  sd 1:0:0:0: [sda] Attached SCSI removable disk
  EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem
  as ext2
  VFS: Mounted root (ext2 filesystem) readonly.
  Freeing unused kernel memory: 136k init
  Warning: unable to open an initial console.
  warning: `ntpd' uses 32-bit capabilities (legacy support in use)
  and then the boot process freezes.  I've repartitioned and rebuilt the
  filesystem as ext3 and then simply copied (cp -rp) over the files as
 i've
  done on other working usb sticks.  Any suggestions?
  Thanks,
  Mark