[solved] How to convert fs from ext2 to ext3 on root partition?

Hello there!
Edit: It seems that the plan works! apparently it worked for alleyoopster also on a mounted fs.
As the title says, I want to convert my fs on / from ext2 to ext3. After some research I think I know what
to do, but want to make sure that I don't mess anything up....
So here is the plan:
boot with an install disc and leave the root partition unmounted (I know that in theory the conversion should
work on a mounted fs, but it feels awkward to me and I want to avoid it....).
Then use the
tune2fs -j /dev/xxx
command (the defaults for the forced checks are ok with me). Then reboot with the CD still in place, but use
this time root=/dev/xxx. Then I can change my /etc/fstab (ext3 should have been able to be mounted as ext2 at
the moment). Finally I have to rebuild my initrd image with
mkinitcpio -p kernel26
Then I should be able to boot into my system. And now the question: Can anyone verify that this is a valid approach
and will work? Or knows a better way to do it?
I'm grateful for any input
Last edited by alafanky (2007-11-26 15:41:35)

Have a look at the man for tune2fs and mkinitcpio
man tune2fs
man mkinitcpio
I am looking at doing the same and as far as I can figure out it goes like this, BUT this is not a proven method just what I am thinking of doing, Maybe someone else can correct or add to this or confirm that it will work.
1. Add journal parameter like this:
tune2fs -j /dev/sda1
2. Change the partition type from ext2 to ext3 in /etc/fstab
3. For a standard  kernel re-create ramdisk with preset parameters (no good for custom kernel)
mkinitcpio -p kernel26
As the system is mounted it will create the journal inode in the top level, don't delete this, it will get hidden into the filesystem on reboot.
Let me know if you make some progress. I may get brave and try it later.
So in answer, yes pretty much the same but I think you can do it with the fs mounted.
Last edited by alleyoopster (2007-11-26 12:44:29)

Similar Messages

  • How to convert date from ccyymm format to mmddyy

    hi,
    How to convert date from ccyymm format to mmddyy

    Please don't multipost. This question has been answered in your first post.
    How to convert date to ccyymm format
    Regards,
    Jo

  • How to convert music from one apple account to another

    how to convert music from one apple account to another

    leilaboxergirl wrote:
    The apple account music you want to transfer >> go to itunes store and log into the apple account that you want music to be put on your ltunes library...sign in then after you sign in then look down on right hand side for the word "Purchased" and those are the accounts songs and you can download them for free.
    Note that this does not change the iTunes account of these songs. This simply adds them to the iTunes library you are using.
    Also note than once you do this, you will have to wait 90 days to redownload any iTunes purchases from any other iTunes account, including the original iTunes account.
    It is possible to transfer itunes music from one account to another!
    No it is not!

  • How to convert value from exp. value to double/float???

    Hi all,
    I am fetching values from database, which is of type double / float.
    eg. values will be like -22,777,548 will be stored in database.
    NOw if i use
    float a= rs.getFloat(1);
    out.println("a="+a);
    I get output as a= -2.2777548E7
    I want to remove "E" from out put value and display as it was given in DB.
    How to solve this problem?
    Please Help!
    Regards
    Ashvini

    What do you mean - 'how does it work' ? All format classes (MessageFormat, DecimalFormat , SimpleDateFormat etc) are used to convert data from one form to other. Go through the java.text.* api. They work based on some pattern searches, pattern matches etc - dont know in detail :)
    As for the other things, thanks :)
    cheers,
    ram.

  • How to convert llb from LabVIEW version 8 to 7.1

    Can someone tell how to convert the llb from LabVIEW version 8 to version 7.1?
    I hope to sent the program to the others, but the other side are using LabVIEW version 7.1 but not version 8.0.
    I know I can save to VI file as previous version, but it contains severals of VI in the library, it is quite time consuming.
    Can everyone sugguest any method or solution to solve my problem.
    Thanks.

    Hi anson,
    it will run also in LV7.1 - but you should check those warnings (probably things not/differently supported by LV7.1...) anyway!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to convert date from "yyyymmdd" to "MM/DD/YYYY" format

    1. I have one BLDAT field in my internal table.
       its getting updated from input file.
    2. The value in the input file is like yyyymmdd.
       So the internal table field is filled like this
       "YYYYMMDD".
    3. After this,I have to compare this internal table  
       field with BSAD table.
    4. The BLDAT field in BSAD table is in the format of 
       "MM/DD/YYYY".
    5. the BLDAT field is having diff format in internal  table and BSAD table.So I am unable to check this value.
    How to convert it as like the BSAD table format."MM/DD/YYYY" format.
    Thanks in advance!!

    Using the WRITE statement
      data: gd_date(10).  "field to store output date
    * Converts date from 20020901 to 09.01.2002
      write sy-datum to gd_date mm/dd/yyyy.
    OR u can
    CONCATENATE gd_date+4(2) gd_date+6(2) gd_date+0(4)
    into gd_date seperated by '/' .
    Hope this helps.
    Kindly reward points and close the thread for the
    answer which helped u OR get back with queries.

  • How to convert data from rows into columns

    Hi,
    I have a sql table and the data looks like this
    GLYEAR GLMN01 GLMN02 GLMN03 GLMN04
    2007 -109712.40 6909.15 4758.72 56.88
    2007 -13411.32 19132.9 -5585.07 4362.64
    Where GLyear reprsents Year and GLMN01 is February, GLMN02 is March and so on,
    Now i want my output to be something like this which i want to insert into another table
    GLYear GLMonth GLAmount
    2007 February -109712.40
    2007 March 6909.15
    2007 April 56.88
    My new table has 3 columns, GLYear,GLMonth,GLAmount.
    Can someone please help me with the select statement on how to do this, i can work with the inserts.
    Thanks.

    I want you to check these form tread they have the same discussion as you.  They will definitely solve your problem
    http://blog.jontav.com/post/8344518585/convert-rows-to-columns-columns-to-rows-in-sql-server
    http://dba.stackexchange.com/questions/19057/convert-rows-to-columns-using-pivot-in-sql-server-when-columns-are-string-data
    http://stackoverflow.com/questions/18612326/how-to-convert-multiple-row-data-into-column-data-in-sql-server
    I hope this helps you in solving your problem. 
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • HT204382 how to convert movies from flip for use in final cut pro

    How do you convert movies from a Flip video camera for use in final cut pro?

    DVDs are in a socalled delivery format (mpeg2), which isn't meant and made for any processing as editing...
    in recommended order, choose one of the following tools/workarounds:
    DVDxDV (free trial, 25$, Pro: 90$)
    Apple mpeg2 plugin (19$) + Streamclip (free)
    VisualHub (23.32$)
    Drop2DV (free)
    Cinematize >60$
    Mpeg2Works >25$ + Apple plug-in
    Toast 6/7/8 allows converting to dv/insert dvd, hit apple-k
    connect a miniDV Camcorder with analogue input to a DVD-player and transfer disk to tape/use as converter
    http://danslagle.com/mac/iMovie/tips_tricks/6010.shtml
    http://danslagle.com/mac/iMovie/tips_tricks/6018.shtml
    http://karsten.schluter.googlepages.com/convertdvdstodvs
    (advice is for imports to iM... )
    none of these methods or tools override copy protection/DRM mechanisms.. advice on 'ripping' is a violation of the ToU of this board ..
    +be nice to copy rights ...+

  • How to convert data from a report in PDF which are specified on multiple lines ?

    It often occurs that in a report one detail entry is folded onto two subsequent lines.
    e.g.
      No.  
    Container          Lt Ht Tp F/E     Dam          Weight Temp     Bi Im First Seal     No. Cell     Booking ref.
    In Arr    id     A         Tml         PoL PD   PoD             C T L R F B                                                                                 
    1       XXXU123456-7  20 ST I F                        24.000                                  SLX11            1    25A     CVA12345  
    How does the conversion to Excel is going to handle this ?
    I need the second line of data in my excel sheet.
    YES               9/10   14:15        BEANR   REFCT

    Hello Jay,
    Don't use SSIS to convert. Use SSIS to FTP the files out.
    How you convert to PDF: the format is owned by Adobe so there might be royalties involved, but there are paid and free (OSS) libraries to doing so. Just search online.
    Arthur
    MyBlog
    Twitter

  • How to convert .txt (from applicaiton server) to internal table

    hi all
    i want to convert .txt (from applicaiton server) to internal table , im getting the contents in the itab, but im not able to remove '#',
    can anybaody help me?
    Thanks.

    The # is a representation of the tab, so you need to do something like this.
    report zrich_0001.
    data: str type string.
    data: begin of itab occurs 0,
          fld1(10) type c,
          fld2(10) type c,
          fld3(10) type c,
          end   of itab.
    data:
          dsn(100) value '/usr/sap/TST/sys/test.txt'.
    constants:
        con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    clear itab.  refresh itab.
    * Read the data.
    open dataset dsn for input in binary mode.
    do.
      read dataset dsn into str.
      if sy-subrc = 0.
       split str at con_Tab into itab-fld1 itab-fld2 itab-fld3.
        append itab.
      else.
        exit.
      endif.
    enddo.
    close dataset dsn.
    Loop at itab.
      write:/ itab-fld1, itab-fld2, itab-fld3.
    endloop.
    Regards,
    RIch Heilman

  • How to convert back from UTF8 to ISO-8859-1 encoding?

    hi,
    I have a bunch of XML files which were wrongly encoded, and we lost all our accent characters.
    ie: é become é
    so how can I recover my XML files using powershell?
    so I want to change all the UTF8 ecoded characters back to the original ISO accent character
    é -> é
    I try this:
    1")
    $utf8 = [System.text.Encoding]::UTF8
    $utfBytes = $utf8.GetBytes("é")
    $isoBytes = [System.text.Encoding]::Convert($utf8, $iso, $utfBytes)
    $iso.GetString($isoBytes)
    but doesnt works.
    so is there a way to do this in powershell?
    I have to scan hundreds of files...
    thanks.

    You can't.  UTF-8 strips all of the information from the characters so you cannot know which characters are which.  If you know which characters you need to fix (requires knowing the spelling of the words) you could possible develop an matrix of
    replacements. There is no simple one line method.
    ¯\_(ツ)_/¯

  • How to convert catalog from 3.2 to Elements 8?

    On Oct. 11 you answered a question
    similar to mine and I have followed your instructions through the "reconnecting missing files", but there is a broken link that is supposed to show me how to configure Windows Explorer to look for poisioned files.  Could you please walk me through this process?  Also, the Elements 8 is now telling me that "new files have been found in my Watched Folders" and wants to know if I want to add them to my Media Browser.  This would defintely load my pictures into the new program but unfortunately, it would not include the collections or tags I've already spent years attaching.  Should I click "no" before we proceed?  I was afraid to do that and then still not be able to load my catalog.  Please advise.

    shellly0411 wrote:
    On Oct. 11 you answered a question
    similar to mine and I have followed your instructions through the "reconnecting missing files", but there is a broken link that is supposed to show me how to configure Windows Explorer to look for poisioned files.  Could you please walk me through this process?  Also, the Elements 8 is now telling me that "new files have been found in my Watched Folders" and wants to know if I want to add them to my Media Browser.  This would defintely load my pictures into the new program but unfortunately, it would not include the collections or tags I've already spent years attaching.  Should I click "no" before we proceed?  I was afraid to do that and then still not be able to load my catalog.  Please advise.
    Yes, in your current situation I would click NO to adding those new files from the Watched Folders at this time.  You want to complete the process of converting your older catalog first.
    I suspect that you are referring to one of John Ellis's FAQs, so perhaps John will respond soon. Otherwise someone else can try to help you, if you give a more specific reference to where you are reading these instructions.

  • How to convert time from (hh:mm:ss) to (hhmmss) in CSV file

    Hi Experts,
    I have a CSV file where there is time column which displays time like hh:mm:ss
    But the input I should give for loading the data is hhmmss
    The amount of records that I have is more than 2 lakhs. I tried many ways to convert the time but I'm unsuccessful.
    Can anyone tell me how do I convert the format please.
    Thanks

    Hi,
    You can create a custom infoobject length 6 (say mytime) to read the data from csv file.
    In the field routine assign the 6 character length info object to the required time IO(system time) with routine.
    Inside the field routine...
    result = source_fields-mytime.
    The system will take care of conversion as per the user master setting.
    Thanks,
    Jugal.

  • N97 - how to convert videos from ".flv" to ".mp4" ...

    Hi!
    I loaded a ".flv" video from the Internet to my Desktop computer, then converted it to ".mp4" format - to show it on my N97. Unfortunately, the phone only plays the audio - the video is not displayed.
    Any solutions?
    Thanks in advance.
    Solved!
    Go to Solution.

    It seems that you hadn't changed the video frame. Use format factory app to covert the videos to your desired format. You might be having some mp4 videos that play in your device. Check the frame size of those videos and then convert the FLV files to that resolution. Hope this helps.
    Nokia C7

  • How to Convert Project from DV to HDV?

    I have a DV photo montage template project that I created in Premiere Pro. Now I'm starting to shoot HD so I want to convert the project to HDV. It has 200 transitions and effects so I don't want to recreate the template from scratch. How do I convert it to HD?

    Create a new HD sequence and nest the existing sequence in it, and possibly use scale to fit.

Maybe you are looking for

  • Error while doing delivery. Please advice

    Hi friends, I have created multiple line items in a sales order, with the same header data and material. The schedule line date is also same. In that, i have selected two line items for delivery. When i check the error log it is showing an error mess

  • Database Connection: Http Error 405 Method Not Allowed

    Hi, I am new to this forum, but I am having an issue I hope you can help with.  I have a database on my MS SQL Server 2008.  I am trying to access it with my DW8 page, and while I can code a connection successfully, I can't use the Database or Bindin

  • 10.4.9 is broken

    Not sure what happened, but 10.4.9 introduced a whole lot of networking bugs. Most of these are around the Samba Network Naming Process. What a fricking mess... printers don't share either way....error messages are changed,,,and worst of all, shares

  • When I migrated to iCloud I ended up with two sets of calendars.

    When I migrated to iCloud I ended up with two sets of calendars.  I now have two calendars named "Home", two calendars named "Work", etc.  I can't just delete one set, because my events somehow ended up split across the calendars. Is there any way to

  • Audition 3 Trial problem

    Anyone here that has a good explanation why Adobe Audition 3 Trial will nok INSTALL!?? Even NOT in "compatibility mode"?? as a program, that HAS run under WinXP SP3 and Vista SP1`?... It just WILL not start the installation?..?..?? It's under a New (