i want to change the format of my root partition (/dev/hda1)
without losing data. got any ideas? BUMP? |
Quote:
You might find that, instead of waiting for people to ask "What is it now, and what do you want to change it to?", you may get better results if you tell folks what file system is on the drive now, and what you wish to change it to. As far as I know, unless it is one of the Ext* formats, you will have the most success and least trouble by simply backing the data up somewhere, and re/formatting a/the new partition, and putting the data back. If it IS one of the Ext file systems, such as Ext2, you could upgrade it to Ext3 or Ext4. Regards, Sasha |
it is ext2 and i am changing it to something else but not quite sure what
Quote:
i have a bad habit of bumping after a few hours if i dont get a response and am ver persistent about the problem. |
Quote:
Quote:
1) Impatience will not win you any friends here; people don't care how urgent your problem is, nor how persistent you are, and this sort of behavior will cause folks to ignore you, not help you faster. 2) As mentioned, threads with zero-replies, i.e., a question which has not yet had a reply, will automatically get 'bumped' several times to the top of the queue, before finally being allowed to drift into oblivion. Therefore, it is not necessary, nor etiquetically correct, to bump threads. Cheers, Sasha |
back up your data and reformat
that is how . |
Quote:
|
cp -a -x /* /path/your/backupdrv
if you don't have back up room and all important files are already safe, just reinstall |
Quote:
but wont i go into an infinite loop when it gets to /mnt/hdb1 coping the files into themselves? |
Perhaps lumak was just exaggerating to make a point?
What's relevant here is that there is no need to copy **everything** if you are going to re-install the OS. If you are trying to keep the existing OS, but on a different filesystem format, then copying **everything** and then copying it back is about the most difficult method I can imagine. Let's back off for a moment: What is the context of all this---ie what problem are you trying to solve? |
no problem i just dont like the ext file system
|
Quote:
|
how do i know if *ALL* of it is copied?
i do not want to loose it all |
Since you really did not completely address my last questions and comments, allow me to suggest a plan:
1. Backup your DATA ONLY somewhere. (eg external USB drive) 2. Reinstall the OS, picking your desired filesystem format. 3. Copy your data back into your /home directory. |
Quote:
i would rather keep evreything intact and reinstall the bootloader |
I'm afraid that you are making things too difficult, but: Good Luck!
Regardless of what else you do, get your DATA safely backed up FIRST. |
Let's take another approach for a moment: What is it you don't like about Ext2, and/or what do you expect to gain by changing to a different file system? Are you looking for journaling? Compression? Changing for the sake of changing isn't practical ;)
|
looking for somthing that has less overhead
its a very small disk and ext2 has a huge overhead for example a ext2 floppy it 300k instead of 1400K and i have some more reasons |
Quote:
Ext* is a bit overkill for a floppy disk; I suggest using a FAT file system on floppies, or maybe consider making the Ext file system on them have a ridiculously small Inode-to-Block count (if it's even possible to make it small enough). And, if you use floppies a lot, but also have a CDRW drive, you might consider using UDF-formatted CDRW discs instead, as they can be written to in successive sessions and once full, blanked and re-used. This has its own pros and cons when compared to floppy disks, but I have found the ~600Mib floppy CDRW 'disks' created by this process, to be pretty handy at times. Sasha |
I read our OP as someone who likes to tinker----I can identify: Starting at maybe age 10 I discovered that I could sometimes fix things by taking them apart and re-assembling. Of course, I never knew WHY something got fixed (or at least 1/2 the time NOT fixed).
I say "go for it"---try it and see. |
Quote:
|
Quote:
|
I just wanted to say sorry to the OP for my bad suggestion. I was answering the post right above it but I didn't explain the better option. However, my current signature line offers that warning ;P.
5+ gigs is a lot of data to back up with 'cp' x.x yikes!... Unless of course your /usr and everything unessential to boot is on a different partition... my '/' partition is only 340MB of data aside from /boot which is on another partition... Even if /var is included on your / partition, that should still be under 1 gig. |
Look at tune2fs. A certain percentage of disk space is reserved for the root user. You can change this, possible achieving your end goal. The default reserved-block-percentage is 5%.
|
@lumak its ok you dont need to apoligize
heres the output of df Code:
Filesystem 1K-blocks Used Available Use% Mounted on |
All times are GMT -5. The time now is 07:15 PM. |