Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Extracting file.bin?

  1. #11
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    Quote Originally Posted by windscape View Post
    Hi,

    Perhaps that is not a CD image that bchunk can handle at all. Please post the output of the command
    Code:
    file rootfs.bin
    That will hopefully tell us exactly what type of file rootfs.bin is.
    Thak you ..here is output
    Code:
    root@fairbird:/home/raed# file rootfs.bin
    rootfs.bin: HIT archive data
    root@fairbird:/home/raed#

    Quote Originally Posted by remarks999 View Post
    Have you tried....

    bchunk IMAGE.bin IMAGE.cue IMAGE.iso

    That's assuming you have the cue file available.
    Thank you...
    Code:
    root@fairbird:/home/raed# bchunk rootfs.bin root.cue root.iso
    binchunker for Unix, version 1.2.0 by Heikki Hannikainen <hessu@hes.iki.fi>
        Created with the kind help of Bob Marietta <marietrg@SLU.EDU>,
        partly based on his Pascal (Delphi) implementation.
        Support for MODE2/2352 ISO tracks thanks to input from
        Godmar Back <gback@cs.utah.edu>, Colas Nahaboo <Colas@Nahaboo.com>
        and Matthew Green <mrg@eterna.com.au>.
        Released under the GNU GPL, version 2 or later (at your option).
    
    Could not open CUE root.cue: No such file or directory
    root@fairbird:/home/raed#

  2. #12
    Join Date
    Sep 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: Extracting file.bin?

    Create a file called rootfs.cue.

    Code:
    $ touch rootfs.cue
    Insert the following text into the cue-file, as shown with cat. Just paste in the text after entering cat, then hit enter.

    Code:
    $ cat >> rootfs.cue
    FILE "rootfs.bin" BINARY
    TRACK 01 MODE1/2352
    INDEX 01 00:00:00
    Now create the iso-file and extract it.

    Code:
    $ bchunk rootfs.bin rootfs.cue rootfs.iso
    $ mount -o loop -t iso9660 rootfs.iso ~/dir/image

  3. #13
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    Thank you "gnush"
    I have got those lines...

    Last edited by fairbird; January 4th, 2013 at 09:41 PM.

  4. #14
    Join Date
    Sep 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: Extracting file.bin?

    Try this instead then.

    Code:
    sudo mount -o loop example.iso ~/image

  5. #15
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    Thank you again..

    Code:
    raed@fairbird:~$ sudo mount -o loop rootfs.iso01.iso /home/raed/image
    mount: you must specify the filesystem type
    raed@fairbird:~$ sudo mount -o loop -t rootfs.iso01.iso ~/image
    Usage: mount -V                 : print version
           mount -h                 : print this help
           mount                    : list mounted filesystems
           mount -l                 : idem, including volume labels
    So far the informational part. Next the mounting.
    The command is `mount [-t fstype] something somewhere'.
    Details found in /etc/fstab may be omitted.
           mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
           mount device             : mount device at the known place
           mount directory          : mount known device here
           mount -t type dev dir    : ordinary mount command
    Note that one does not really mount a device, one mounts
    a filesystem (of the given type) found on the device.
    One can also mount an already visible directory tree elsewhere:
           mount --bind olddir newdir
    or move a subtree:
           mount --move olddir newdir
    One can change the type of mount containing the directory dir:
           mount --make-shared dir
           mount --make-slave dir
           mount --make-private dir
           mount --make-unbindable dir
    One can change the type of all the mounts in a mount subtree
    containing the directory dir:
           mount --make-rshared dir
           mount --make-rslave dir
           mount --make-rprivate dir
           mount --make-runbindable dir
    A device can be given by name, say /dev/hda1 or /dev/cdrom,
    or by label, using  -L label  or by uuid, using  -U uuid .
    Other options: [-nfFrsvw] [-o options] [-p passwdfd].
    For many more details, say  man 8 mount .
    raed@fairbird:~$

  6. #16
    Join Date
    Sep 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: Extracting file.bin?

    Code:
    sudo mount -o loop rootfs.iso01.iso ~/image
    Skip the -t.

  7. #17
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    Already i did it with out -t as before shown lines ..
    Code:
    raed@fairbird:~$ sudo mount -o loop rootfs.iso01.iso ~/image
    mount: you must specify the filesystem type
    raed@fairbird:~$

  8. #18
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    up...

  9. #19
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    Any advice gnush ?

  10. #20
    Join Date
    Feb 2010
    Beans
    56

    Re: Extracting file.bin?

    up....

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •