CentOS 5 :: 5.5: Migrating Root (and Any Other) Partition From Ext3 To Ext4?
May 20, 2010
With the release of CentOS 5.5 ext4 is considered stable in this distribution so I decided to migrate to it. Luckily I started from migrating fresh server with CentOS 5.5 using some instruction I found on the internet. I think I shouldn�t say, that I screwed the whole thing up ;) After about 6 hours cursing, kicking, and crying I solved the task and figured the correct sequence of actions. The small problem with migrating root partition is that you can�t unmount it BTW.
During migration task, I found, that CentOS 5.5 rescue mode is somewhat broken a little in terms of ext4 support. It can mount ext4 partitions successfully. But its e2fsprogs package (tune2fs, e2fsck etc.) doesnt see ext4 partitions and say, that superblock is corrupted on a partition once is converted to ext4 (at least it did it for me. May be I should force filesystem type with -t ext4 switch?). Keep in mind, that if you screw your system up too badly, you will not be able to run tune2fs and e2fsck on it from rescue modeBut you will still able to mount it if it is not corrupted badly. In all below examples,Boot your system normally and login as root. Upgrade kernel if you wish (I usually use yum upgrade to upgrade all on new machines). Then upgrade/install some other packages
View 8 Replies
ADVERTISEMENT
May 19, 2010
I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
[code]....
View 4 Replies
View Related
Apr 7, 2010
I created 3 partitions on my usb stick, one is vfat, one ist ntfs and one is ext4.And i formated them like this:
Code:
mkfs.vfat -F32 /dev/sdg1
mkfs.ext4 /dev/sdg2
[code]....
View 2 Replies
View Related
Aug 30, 2011
is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the group ownership of the partition to this group and adding each respective user to the group on every machine?This would mean that I need to have root privileges on every machine... which I may not have in some cases.I'm using the partition to store the code I'm developing on Linux and I would like the option to be safe... if possible.I could use a vfat partition but then I have no control of the rw rights + I cannot develop directly in the dir: I would always have to tar.gz the directory, extract, work, tar.gz, copy to the external drive.
View 2 Replies
View Related
Oct 5, 2010
I'm using CentOs 5.4 (2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64). I tested out ext4 on a partition for the last few months and it seems to work fine. The issue is that quotas dont seem to work correctly on it. Is there a way to revert back to ext3? Mainly the quota tools do not work on it.
View 1 Replies
View Related
Mar 27, 2010
I have dual boot system..i.e, windows XP and ubuntu 9.10(insatlled side by side). when i try to boot ubuntu, Im gettin sh:grub > prompt
[Code]...
I am getting something like this.. root mount file system failed.. ext2 ext3 ext4 ....... kernel panic message and hanged at kenelthreadhelpper+ what can i do.. I cant reinstall ubuntu again.. Because I have installed nany application there..
View 1 Replies
View Related
Aug 29, 2011
Which file system uses Centos 5.6 by default, Ext3 or Ext4? I have installed on Ext3, it's upgrade from 5.5, but howto convert into Ext4 without damage or lost data?
View 3 Replies
View Related
Jul 2, 2011
I installed 2 new hard disks and created one ext 4 partition on each of them. After rebooting busybox tells me that there is no /sbin/init.
View 7 Replies
View Related
Oct 31, 2010
I have a usb flash drive and according to sources I found out after the fact that I should have used ext2 instead of ext4 due to the extra write operations.
Is it possible to convert the ext4 root partition to ext2 or do I need to backup, reformat, and restore?
View 1 Replies
View Related
Jan 9, 2010
I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".
After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".
Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)
View 4 Replies
View Related
Jul 20, 2010
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
View 6 Replies
View Related
Mar 18, 2010
I need to allow non-root users to read/write on an ext3 partition.
Below is the relevant output from fdisk -l
Code:
The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).
View 2 Replies
View Related
Nov 13, 2010
I've a flash drive that it's partitions formatted as fat32, ex4 and encrypted ext4. It works fine on the system that I've formatted it on, but when I try to use it on my other Linux distributions I get these problems:
* ext4 partition accessible by root only.
* after entering my pass-phrase I get
Code: /dev/mapper/udisks-luks-uuid-***** uid1000 is mounted What I'm asking for is a way to create the ext4 file system without being attached to some UID and to be accessible by any user.
View 1 Replies
View Related
Oct 22, 2010
I'm having some problems with errors reported by fsck on my EXT4 root partition on my Ubuntu 10.10 installation... If I run fsck I get the following output:
Code:
# fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Attenzione! /dev/sda1 montato.
[Code]....
View 4 Replies
View Related
Jun 6, 2010
Im currently using windows 7 and I want to shift for Linux. So i thought to start from Mandrake-free. My current filesystem is NTFS which full of windows extension documents. Those capacity is almost 200GB.but im not in a position to backup everything. i got to know from forums that linux perform well in ext3 file system. so i wish to go for ext3. is there any ways to shift FROM,win7 TO mandrake AND
ntfs TO ext3 WITHOUT BACKING UP CURRENT DOCUMENTS ASWEL AS WITHOUT LOOSING ANY OF MY WINDOWS BASED DOCUMENTS.? and i got to know that in a single harddrive(eg 250GB), Its not good for the harddisk to have different type of partitions (eg 50gb of ext3 and 200gb of NTFS). if i used like this will my harddisk got crashed? because this happened to me 4 years ago when i was trying to install winXp(in ntfs) and Redhat(in ext2) in the same hardisk. i was working initially. but was in 2 days that HDD got crashed.
View 4 Replies
View Related
Feb 10, 2011
I am using CentOS 5.5.I suppose this is an oft repeated question. I accidentally deleted, using rm command, 2 wmv files. The files were in a single ext3 1Tb drive, with just 1 partition --- the ext3 one. Each file is 600 - 800mb. The 1Tb drive has only about 20Gb data.Immediately after deleting the files i unmounted the drive (/dev/sdc1). Thereafter i searched the the net and came to know of the recovery tools foremost and photorec. I have installed both of them. I am currently running both of them as root --- foremost is just showing a lot of * signs on the terminal and photorec has managed to find some txt and png files --- but no wmv.For foremost i used: /usr/sbin/foremost -t wmv -i /dev/sdc1For photorec i followed some instructions available on the web.
In the meantime, based on some post on the net i ran debugfs as root, then cd into the directory where the files were deleted. Then on typing ls -d i managed to get the inodes of the 2 deleted files and the names of the deleted files are also correct. The instructions on the net http://www.theavidcoder.com/?p=3 tell me to run fsstat and dls both of which i am unable to find in /bin, /usr/bin, /usr/sbin and /sbin. So i am unable to proceed further.
View 5 Replies
View Related
Jan 16, 2010
Is there guide for converting ext3 to ext4 on Fedora? I use Fedora 12 which is regularly updated. How safe is procedure for data, I have only one ext3 partition on disk which has one ntfs and that ext3 partition (and also one small swap partition).
View 5 Replies
View Related
May 25, 2010
I'm currently using Ubuntu, but just ordered a new SSD (64GB) & plan to install Fedora on it- but just have a few questions...
- What is Fedora's position on MONO & MoonLight?
- I will be leaving /home on my 600+ BGB HDD, but root, /usr & swap will be on my SSD- will there be any potential issues?
- What format should I use (Ext3, Ext4, XFS...) for my SSD?
- Any recommendation of rpm repo's I should add?
- Will FGLRX work with FC13 or FC12
View 6 Replies
View Related
Nov 15, 2010
i installed ubuntu 10.04 and accidentally choosen ext3 over my home partition ext4...and now it erased(?) all the files in my home folder...
is there a way to return the ext4 files??
View 4 Replies
View Related
May 17, 2010
I had Lenny with ext3 installed on my notebook. I've done the Upgrade from Lenny to Squeeze. Howto and should I convert ext3 to ext4?
View 5 Replies
View Related
Mar 9, 2010
how to convert ext3 to ext4? I'd like to convert partitions which I use for virtual machines (vmware-server and virtualbox). I use Ubuntu 9.10 as vmware-server host and Gentoo as virtualbox host.
View 5 Replies
View Related
Dec 10, 2010
I have a 6 disk machine, i am using FC12, i created a software raid 5 device /dev/md1
i formatted it
Code:
mkfs.ext4 /dev/md1
and mounted with options as so:
[Code]...
View 1 Replies
View Related
Feb 26, 2011
I've heard that ext4 has better performance, but that it will also eat my hard drive. Has this problem been fixed? What would be a safer bet on a squeeze box? Is there even anything to worry about?
View 9 Replies
View Related
May 21, 2010
I've Squeeze installed on ext3 (Upgrade from Lenny). Howto convert ext3 to ext4?
BTW What are advantages & disadvantages of ext4?
View 4 Replies
View Related
Apr 30, 2010
I run an upgrade and an update on a lucid lynx beta 2. --- got no problems. but about the filesystems i have some questions because it seems for me that at every system boot the system will run an fsck. somtimes it's shown up, somtimes not. but in /var/log/messages and in syslog
I have always following messages ( occured in beta 2 too ).
But first before i continue - here my disk layout:
And here my filesystem types:
This is my problem because those values are seems to be static ! ( note: this partiton is mounted but not in use ) and last not least: the drive is an external usb scsi disk. but on the other side lucid lynx is running fine on my box.
View 3 Replies
View Related
Sep 7, 2010
I am going to do network upgrade of my 8.04 to 10.04 LTS. I have a dual boot with Vista, and currently I can read Ubuntu partition from Vista using Ext2fsd. However, I read that using Ext2fsd with ext4 (default in 10.04) is problematic because of "extents".
My questions: Will the upgrade convert my current ext3 partition into an ext4 one? How can I keep the ext3 partition? The release notes for 10.04 say:
The simplest way to select a different file system such as ext3 at installation time is to add the partman/default_filesystem=ext3 boot parameter when starting the installer.
View 1 Replies
View Related
Aug 31, 2010
I have a drive with ext3 that was my old /home drive.When I moved to 9.04 I went with ext4 and just linked to my old home drive.My old ext3 drive is becoming unstable so I want to back it up.I have a 500gb ata drive (unfortunately not a sata drive) thatto wipe and put 10.04 on. I want to move my data from this backup driveIm going to back up to, to the new 10.04 until I get another hd as abackup drive.My question is, I know there is some issue between ext3 and 4 and I dontwant to get into a bind. What would be the best format for moving
View 3 Replies
View Related
Apr 30, 2010
I'm wondering if anyone knows what will be Squeeze's default filesystem. Will it be the proven ext3 or the newer (sometimes faster, sometimes slower) ext4?
I currently have ext4 and I have nothing to complain about. In fact, my overall experience has been very positive. Ext4 is definitely faster when fsck runs during boot.
What would be the cons of having ext4 as default in Squeeze?
View 3 Replies
View Related
Aug 14, 2010
I have Debian Squeeze with linux-2.6.32-5-amd64Ok, so what I did is first changed fstab ext3 to ext4, rebooted, everything looked good. Then I enabled extents and other ext4 features on my root and home partitions using commands
tune2fs -O extents,uninit_bg,dir_index /dev/sda3
tune2fs -O extents,uninit_bg,dir_index /dev/sda4
then I ran e2fsck -fDC0 /dev/sda3
[code]....
View 6 Replies
View Related
Jun 14, 2009
It has crashed or failed to install on a known good system for the 5th time now. I have never had that problem with fedora before. I am now installing with ext3 instead of ext4. I am hoping for better success with it and will update. I was able to try MinGW with WINE before the first crash and I liked what I saw there. Only hoping to be able to get a good install this time.
View 2 Replies
View Related