Hi!
> > >
> > > What was the error message, same as previous?
> > >
> > 
> > Here we go.
> > 
> > ...
> > mount: wrong fs type, bad option, bad superblock on /dev/loop1,
> >        missing codepage or helper program, or other error
> >        In some cases useful info is found in syslog - try
> >        dmesg | tail  or so
> > 
> > FATAL: can't mount block device /dev/loop1.
> > mke2fs 1.42 (29-Nov-2011)
> > mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
> >         partition table wasn't reread after running fdisk, due to
> >         a modified partition being busy and in use.  You may need to reboot
> >         to re-read your partition table.
> > 
> > 102400+0 records in
> > 102400+0 records out
> > 102400000 bytes (102 MB) copied, 0.542412 s, 189 MB/s
> > ...
> > 
> > # dmesg | tail
> > ...
> > [ 1179.820940] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
> 
> Hmm, it seems like something went wrong with the loop device setup (as
> if no device was attached but the error was silently ignored).
> 
> (And I wonder why the messages seems to be in reverse order, the
> messages from dd should have been first, then mkfs and then mount).

Hmm, if I remeber correctly there dash that is used as /bin/sh on Debian
(and supposedly on Ubuntu) that does not understand the &> syntax so the
messages may be reversed because the commands are executed on background
(instead of the output redirected to /dev/null).

Try to remove all '&> /dev/null' from the script and try again.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to