Sponsored Content
Operating Systems Linux I need help rebuild ext3 filesystem Post 302817427 by soft on Thursday 6th of June 2013 07:53:49 AM
Old 06-06-2013
I need help rebuild ext3 filesystem

hi to all I wanted to edit a enigma2 image to my box ..
the image is root.img ..
Analysed then I have the picture and I have this:

Code:
parted root.img
WARNING: You are not superuser.  Watch out for permissions.
GNU Parted 2.2
Using /home/soft/Bureau/enigma2/root.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) u                                                                
Unit?  [compact]? b                                                       
(parted) p                                                                
Model:  (file)
Disk /home/soft/Bureau/enigma2/root.img: 262144000B
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End         Size        File system  Flags
 1      0B     262143999B  262144000B  ext3

(parted) q

after that I have to decompress with this command:

Code:
mount -t ext3 -o loop root.img /mnt/hak

and is correctly decompressed and I have to find all the files enigma2 image in my repertoire that I have chosen ..


My problem is that after I have edited the image i can t rebuild
as root.img again...

how can rbuild the image please.....Smilie

---------- Post updated 06-06-13 at 06:53 AM ---------- Previous update was 06-05-13 at 07:29 PM ----------

somane can help me
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

ext3 filesystem

what do you think about the ext3 journal filesystem?? (3 Replies)
Discussion started by: comadreja
3 Replies

2. UNIX for Dummies Questions & Answers

Rebuild command

I want to convert a Microfocus Sequential file to a Line Sequential Variable file. The reason I want to do this is so that I can upload the file from a UNIX box to a PC as a text file. I know that there is a command called "rebuild" that will allow me to convert the files, but I can not get it to... (1 Reply)
Discussion started by: douknownam
1 Replies

3. Filesystems, Disks and Memory

ext3: No journal on filesystem on dm-0

Hi Linuxers, I am a newbie here and loggin this facilities regularly. Recently my PC experience a power trip, my system could not boot up after restarting. I did the following : - Boot up with "linux rescue" using installation disk FC3 - In a shell, run "lvm vgchange... (0 Replies)
Discussion started by: chowkimhan
0 Replies

4. HP-UX

How to rebuild a new disk

Hi.... I newbee to this and wanted help on hpux11 system. Disk is being replaced and need to rebuild and what r the commands I need to perform after the disk is swapped :confused: Thanks! (1 Reply)
Discussion started by: catwomen
1 Replies

5. BSD

rebuild the portsystem

hi Howto rebuild the whole portsystem on freeBSD? THX (3 Replies)
Discussion started by: ccc
3 Replies

6. Shell Programming and Scripting

How to create ext3 filesystem on regular file?

After doing something like: dd if=/dev/zero of=ext3.img bs=1024 count=1048576 I'd like to put an ext3 filesystem on ext3.img. What should I run? Thanks (2 Replies)
Discussion started by: stevenswj
2 Replies

7. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

8. UNIX for Dummies Questions & Answers

Kernel not rebuild

hi, system operation: unix sco 3.2.4 Kernel not rebuild, do not remove or update tcp/ip e3H0 driver. messages: cat:cannot open../sdevice.d/5 line:5.1 32 -1 fatal error:mdevice:wrong number of fields idmaster:device do not exist in therefore can not be update idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies

9. Red Hat

Expand EXT3 filesystem ( No LVM)

hi, In my production server having Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) Red Hat Enterprise Linux Server release 5.5 (Tikanga) we have a filesystem of 197 gb (Type ext 3) Hadisk in which this filesystem reside is sdb is of 217 gb. (NO LVM) Now I want to... (6 Replies)
Discussion started by: salmanraza
6 Replies

10. UNIX for Advanced & Expert Users

Errors received while restoring my data from ext3 filesystem

Hi All, I have dual boot on my laptop - Win8 And linuxMint. From linuxmint i had copied all my data found on the NTFS partitions (on my laptop) to an external hard drive (formatted with ext3). i used rsync for this. Now after my hard disk crashed, am restoring the data back from ext3... (2 Replies)
Discussion started by: coolatt
2 Replies
mlib_ImageSetPaddings(3MLIB)				    mediaLib Library Functions				      mlib_ImageSetPaddings(3MLIB)

NAME
mlib_ImageSetPaddings - set paddings SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageSetPaddings(mlib_image *img, mlib_u8 left, mlib_u8 top, mlib_u8 right, mlib_u8 bottom); DESCRIPTION
The mlib_ImageSetPaddings() function sets new values for the paddings field of the mlib_image structure as follows: img->paddings[0] = left; img->paddings[1] = top; img->paddings[2] = right; img->paddings[3] = bottom; By default, an image structure creation function, such as mlib_ImageCreate(), mlib_ImageCreateStruct(), or mlib_ImageCreateSubimage(), sets the paddings field of the mlib_image structure as follows: img->paddings[0] = 0; img->paddings[1] = 0; img->paddings[2] = 0; img->paddings[3] = 0; Note that this function is needed only when the edge condition MLIB_EDGE_SRC_PADDED is used. The mlib_image->paddings field denotes the amount of paddings on each side of an image, from which the real image border can be seen. When MLIB_EDGE_SRC_PADDED is specified as the edge condition, a geometric function uses the "real" source image border for clipping the destina- tion image. PARAMETERS
The function takes the following arguments: img Pointer to image data structure. left Number of columns padded on the left side. top Number of rows padded on the top. right Number of columns padded on the right side. bottom Number of rows padded at the bottom. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageGetPaddings(3MLIB), mlib_ImageCreate(3MLIB), mlib_ImageCreateStruct(3MLIB), mlib_ImageCreateSubimage(3MLIB), mlib_ImageAffine(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageSetPaddings(3MLIB)
All times are GMT -4. The time now is 12:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy