General :: Fdisk Change Patition System Id _after_ Mkfs.ext3 OK?
Jul 20, 2010
I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)
View 1 Replies
ADVERTISEMENT
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related
Jan 6, 2011
I accidentally ran mkfs.ext3 /dev/sdb on the wrong drive.It used to be 2 NTFS partitions with lots of data. is there any hope I can only change the file system to ntfs back and revert what I did?not sure if mkfs erase the data or just rewrite some partition table.
View 7 Replies
View Related
Nov 10, 2010
I have more than a dozen servers running CentOS (mostly supermicro servers) everytime i do mkfs.ext3 or mkfs.ext4, it always hangs the server (nothing is responding, not even the terminal) can't even do Ctrl+C to kill it. but the funny thing is, if i leave it on for hours, it'll finish eventually.
this puzzles me, i've tried so many different SATA drives and different servers, different kernels, different CentOS. for example purposes, my CentOS 5.3 runs 2.6.18-92.1.13.el5 kernel. i also have 5.4 and 5.5. mkfs.ext3 works fine on SAS, but always hangs on SATA. here's where it usually hangs Writing inode tables: 2126/7453
View 5 Replies
View Related
Apr 24, 2010
I had a 500gb hard drive that I wanted to use on my Ubuntu system as a media storage drive. The drive originally had two partitions on it,one was a Dell Recovery partition and the other was a Windows Vista partition. Using the Palimpsest Drive Utility that comes with Ubuntu, I deleted both partitions,created a Ext3 partition using 100% of the space and copied my data to the drive. After I finally got fstab to load the drive, I found another problem. First of all, when Grub loads, two options it offers are:
Windows Vista (loader) on sdc1
Windows Vista (loader) on sdc3
Aside from that, 100% of the drive is not being used by the Ext3 partition.It is showing 434.6gb available on the drive. Fdisk is not showing any other partitions on this drive, so A) why are the Windows loader options showing up under Grub and B) why do I not have 500gb available?Here is a copy of the output fdisk -l:
Code:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[code]....
View 5 Replies
View Related
Feb 9, 2010
i needed to change my external hard drive's file system from ext3 to fat32, to use it in windows, which i did the simple way: i shrunk the ext3 partition, made a fat32 partition, copied the files over, removed the ext3 and made the fat32 bigger. unfortunately, while gparted was making the partition larger, my computer shut down. i lost all my files and the partition messed up immediately. i made a new fat32 partition, after deleting the old one, but noticed that gparted was showing 100 gigs already in use (???). so now i have a 300 gb hard drive with only 200 gb i can use; i ran df to make sure gparted wasn't messing up, but indeed it shows the partition as being only 200 gigs in size. i haven't tried making any other kind of partition yet, such as ext3, for fear of losing my files again, and because it wouldn't be permanent anyway, because i need those files in windows and stupid microsoft won't make their OS ext3 compatible.
View 2 Replies
View Related
Mar 26, 2010
I have used fdisk to create two new partition.
Before this partition, I had 6 partition of which /dev/sda6 was the boot partition. I deleted /dev/sda5 partition and hence the earleir /dev/sda6 became /dev/sda5. Now I created two new partitions /dev/sda6 and /dev/sda7.
Due to this change in device label of /dev/sda6 I am not able to boot my computer.
Is there any method to change the disk label of /dev/sda5 to /dev/sda6 ?????
View 14 Replies
View Related
Dec 14, 2010
How to install linux by using text mode or fdisk tool
View 3 Replies
View Related
Nov 16, 2010
The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)
[code]...
View 2 Replies
View Related
Oct 28, 2009
I have ext3 partition mounted on /mnt/shared/ as follows
Code:
Permissions above are of the actual mounted fs.
Goal is to have all files created on the fs
1) to belong to group 'users'
2) to have this groups permissions set to rw (rwx for directories) so that all users who belong to group 'users' have full read/write access to data and everyone else to have only read access.
Now because of setgid bit (s) in group permissions every file created has group 'users' and additionally setgid bit is set for directories. Because every users umask by default (on my system) is set to 0022 all created files will have permissions 644 for ordinary files and 755 for directories.
Net result of above means that users A and B who both belong to group 'users' won't be able to modify files created by the other.
So how can I make files created on the fs to be created always with umask 0002 WITHOUT changing default umask for users that is used elsewhere (like in their home directory) ?
View 1 Replies
View Related
Feb 10, 2011
I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB was relocated on the disc, and yet another TB was moved to external drive.
In windows this would likely means it was time for a defrag. Can't find any defrag tools in Xubuntu and that lead me to remember I read somewhere that there is no need to defrag when running Linux.
So is that correct? Is defrag only for the wondows world and something we never need to do in Linux?
If not is there a way to do a defrag from terminal?
View 5 Replies
View Related
Jul 15, 2009
I'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:
# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)
then type:
# mount -v /dev/sdb1 / type ext3 (it seems to mount it)
But when I check the ext3 systems with typing:
# mount -t ext3 (to check the list of ext3 devices, it gives me this)
/dev/sda1 on / type ext3 (rw,acl,user_xattr)
/dev/sda2 on /home type ext3 (rw,acl,user_xattr)
/dev/sdb1 on / type ext3 (rw)
How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?
View 11 Replies
View Related
Jun 20, 2009
I have accidentally removed vmware virtual disk, my host operating system is RHEL5.2 with ext3 file system, i have used photorec, magicresue and foremost but still no luck to recover the vmdk file. i have seen in foremost configuration file that there are some predefined files (ex- doc, pdf, jpg, avi, zip, etc),
1. is there any way to add vmdk file extension on that configuration file?
2. if yes how can i do ?
3. by adding vmdk on configuration file, can i specifically use recover option for vmdk?
View 2 Replies
View Related
Dec 1, 2010
I'll avoid the details of what got me here and get right to the point.I have two primary partitions on 1 hard drive. sda1 is my fat32 recovery partition and sda2 is my ntfs windows xp partition. I need to know how to change the order around so xp is sda1 by using the terminal in the ubuntu live cd.
View 9 Replies
View Related
Jul 7, 2011
I was in the process of installing Ubuntu 11.10, but got stuck choosing which file system to use. ext3 and ext4; which is better for a personal desktop? If ext4 is better, will it work well on my old PC (bought 3 years ago), or perhaps ext4 is not actually compatible with an old hard disk?
View 4 Replies
View Related
Sep 29, 2010
I am using linux kernel 2.6.10 after some time one of the file system is becoming read only. Here is the kernel dump
Freeing unused kernel memory: 160k init
kjournald starting. Commit interval 5 seconds
EXT3-fs warning (device hda1): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure
[code]....
View 6 Replies
View Related
Jun 27, 2010
I have an image of an ext3 file system done with dd. I know that the file system is corrupted but I want to try to recover some files. Whatever I dd it again to the original partition or assign the dd image to a loop device, that's what happens:
- dumpe2fs -h gives me a valid ext3 superblock.
- as I try to mount the device read only, it fails with a bad magic number error.
- executing dumpe2fs -h again gives bad magic number error.
- trying debugfs or fsck with backup superblocks fails the same way.
For me it seems that in spite of mounting the device as read-only, mount command do something wrong with the superblock as before the mount the superblock is correct and it's there.
View 4 Replies
View Related
Jun 17, 2010
My co-worker install CentOS with /var (ext3) is 1TB:
Code:
I do the following tasks to move sdb1 to VolGroup00:
After that I moved /var back to / folder and reboot but the system hangs at "Starting system logger". Uninstall and re-install sysklogd package don't make any change. What I don't understand is I can start syslogd from command line:
Code:
Or run the init script in debug mode:
Code:
How can I debug this case?
View 3 Replies
View Related
Oct 1, 2009
There were some files residing on my ext3 file system, using Ubuntu as my linux distribution. Yesterday I formatted the hard drive using a windows install CD, rewriting it with a new NTFS partition. I'm willing to restore my personal files deleted due to this format.
View 3 Replies
View Related
Apr 14, 2011
I wanted to shrink my windows partition and enlarge ubuntu's partition,I shrunk windows ok,but Gparted wont let me enlarge the Linux partition to the left side,toward the unallocated space....Gparted will allow me to expand my windows partition back,I even tried creating a new partition and formatted it to ext4,and then deleting the partition.no go,I read somewhere that Gparted may not allow you to move the front side of the Linux partition,.
View 7 Replies
View Related
Sep 7, 2009
How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?
View 6 Replies
View Related
May 29, 2010
fscheck is quite annoying, since it usually occurs when I reboot my system performing administration tasks. do I actually need fscheck if Im using the ext3 file system? if not how would I extend the period between checks or just turn it off altogether?
View 9 Replies
View Related
May 20, 2011
I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.
Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.
View 6 Replies
View Related
Jul 6, 2010
When trying to mkfs -t ext3 /media/HD-CEIU2 mounted drive, I receive "is not a block special device". Then after answering yes to proceed anyway, get messages indicating the device couldn't be read. I did fdisk the drive and rebooted.
View 1 Replies
View Related
Dec 15, 2010
I have never seen this one before (see below) - note how /dev/sda1 is mounted from the first disk listed by fdisk, but /dev/sda2 comes from the second disk; what is going on here? This is what I did: I installed the latest debian "Testing", which went well - it found the disks in the order show by fdisk -l here. When it booted up after installation, it failed because it couldn't find /, which I repaired by editing the grub menu (I told it to start from the other disk), and it came up. But now I had to mount /u01 by hand from /dev/sda1; strange. I suppose I could just go and change the physical disks around, but I'd like to understand this. Any ideas?
# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[Code]...
View 2 Replies
View Related
Jan 9, 2009
how long mkfs will take to check for bad blocks on an 500 gig SATA drive? The drive is a warranty replacement from Western Digital. It's been running about an hour now. I had run mkfs ext3 on it before I realized I should check for bad blocks so I am running the check now.
View 2 Replies
View Related
Jan 26, 2010
I got this message when I tried to format my eternal usb hard disk to vfat format. Do you know what it is about?
# /sbin/mkfs.vfat /dev/uba3
mkfs.vfat 2.11 (12 Mar 2005)
unable to get drive geometry, using default 255/63
i have umount all the /media/ I have done an experiment on /dev/uba3. I was able to /sbin/mkfs.ext3 /dev/uba3 but not on mkfs.vfat
View 3 Replies
View Related
Jan 10, 2011
I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.
I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.
View 6 Replies
View Related
Jan 28, 2010
I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1
Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.
View 6 Replies
View Related
Oct 25, 2009
How would I format my partition into a ext3 file system?
View 1 Replies
View Related