Yes, you need to extract all the /dev/ mount nodes 'n things. Check the /dev/ 
directory and compare it to a good usbstick. Are they the same?

I'd suggest untarring as root directly to the flash disk. I think the tarball 
extracts to a subdirectory called usbstick (or somesuch). So if you mount your 
usbstick in /mnt/usbstick, you can do something like this...

cd /mnt
sudo tar -xzf ~/my_roach_root_filesystem.tar.gz

and it'll go straight onto the stick without having to worry about cp commands, 
symlinks and the like.

Jason

On 27 Oct 2010, at 02:43, Mark Wagner wrote:

> 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 <[email protected]> 
> wrote:
> 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 <[email protected]> wrote:
> > Thanks guys, I tried that and it seems to work now.
> > Mark
> >
> > On Mon, Feb 1, 2010 at 3:57 AM, Andy Lutomirski <[email protected]> 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 <[email protected]> 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
> >>
> >>
> >>
> >
> >
> 


Reply via email to