Ubuntu :: Unable To Fsck Ext4?
Jan 24, 2011
Seems like I misplaced this topic. Should have been in general help. Sorry! Any moderator feel free to move this topic. As I was creating a swap partition, something went wrong and I ended creating a much bigger file which consumed all my empty space. Ubuntu stopped working and now I can't seem to fsck / mount my disk. Currently I'm on a live cd. fsck will give:
Code:
e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sda2
Filesystem mounted or opened exclusively by another program?
However, the file system is not mounted.
[Code]...
View 3 Replies
ADVERTISEMENT
Apr 1, 2011
Fstab:
UUID = A / ext4 defaults 1 1
UUID = B /stor ext4 defaults 1 2
UUID = C swap swap defaults 0 0
and the error is:
fsck.ext4: Unable to resolve UUID = B.
Fdisk -l:
/dev/sda1 (boot) linux
/dev/sda2 linux swap solaris
/dev/sda3 linux
[code]...
View 4 Replies
View Related
May 15, 2011
I have $ uname -a
Linux kub 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux
Most of the time when I boot my PC I get an error about fsck.ext4: Unable to resolve... I don't know why it's happening.
The problem is happening with my external drive that has 3 partitions:
/dev/sdc1
/dev/sdc3
/dev/sdc2
About 90% of the time I boot I do get the error. Sometimes after getting the error I can login and the external drive (/dev/sdc) is already mounted:
$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 15G 8.0G 5.8G 58% /
tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev 1.9G 246k 1.9G 1% /dev
tmpfs 1.9G 738k 1.9G 1% /dev/shm
code....
The UUID's in the error file match the output of the command blkid. And the UID's of blkid match the fstab UUID's. I don't know what to do at this point.
View 2 Replies
View Related
Dec 3, 2009
I go to bed and my computer is fine and working. I come home from work, no signs of a power outage, and my computer has errors regarding a corrupt disk. Drops to Cmd prompt. My problem is that I want to do the proper recovery on it, and my googling doesn't seem to help. All I see is stuff about how FAST fsck is, but no one wants to talk about how to use it. Besides, I better check with people before I mess everything up.
I have the FC12 install disk I used loaded up now, at the cmd prompt. I have my system mounted, an EXT4 LVM. Do I unmount and then run fsdk.ext4 -fp /dev/mapper/vg_mysys-lv_home ? (lv_home is the one reported as corrupt during boot)
View 4 Replies
View Related
Apr 17, 2010
My openSUSE 11.2 system has periodic running of fsck disabled for ext4 filesystems (Maximum mount count = -1, Check interval = 0). What is the reason for this? Is it because fsck is not necessary on a periodic basis with ext4, and only necessary when errors are detected? Or is it because fsck has problems working on ext4 filesystems?
The ext3 filesystems do have it set (Maximum mount count = 500, Check interval = 5184000 (2 months)). I would like to know why fsck is not set to be activated for ext4.
View 7 Replies
View Related
Dec 2, 2010
I am travelling so would really appreciate a few tips that should hopefully get my pc running again. (I have internet access via a kiosk, and can burn a disk if necessary, but the smaller the download the better)I have a few ideas that with some help I should be able to fix the partition.1. Is there a simple way to use use grub, to mount all partitions read only and not to fsck them so I can logon in normal user and sudo and hopefully fix the parition?or 2. Download a small version of ubuntu or something that I can burn to CD (my machine cannot boot from usb) so that I can repair the machine.3. Download the ubuntu installer (alternative) and try and reinstall the necesary usr partition?
View 7 Replies
View Related
Sep 25, 2009
When I do a forced fsck, I would like to have a log file to look at after boot.
When I check /var/log/ there are no files there with fsck output
I've run force fsck in these ways:
shutdown -rF now
-and-
touch /forcefsck
View 1 Replies
View Related
Jun 24, 2011
Upon booting my LVM wheezy setup, I get
fsck.ext3: Unable to resolve 'UUID=theUUID'
where "theUUID" (without the quotes) is the UUID
I believe this is caused by me trying to get lvm to use the external /boot because when I had unmounted the external /boot, it was creating a /boot in root. So, I booted a live cd and mounted the external /boot where /boot in the root volume is supposed to be. Basically, I think the problem is that I need to make my /boot (which is the only ext3 partition in the entire system and I want it that way) "relate itself" to the lvm root so that it boots into the system. As mentioned earlier, in the live CD, I made the external /boot mount itself in the root's /boot but I don't know how to tell the system to do this on its own while booting without my assistance. I chrooted from the live cd which involved a lot of tedious stuff but basically the important stuff I did were:
grub-install /dev/sdb
update-grub
update-initramfs -u
P.S.I get the issue in the Subject of this topic by telling tune2fs to mark the external /boot, lvm / and /home partitions as "dirty."
View 2 Replies
View Related
Jul 27, 2010
while rebooting the system i had supposed to go to file repair system with the problem
fsck.ext3: Unable to resolve 'LABEL=/home' FAILED.
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot.
*** When you leave the shell.
Give root password for maintenance (or type Control-D) (repair file system)# how do i get the system reboot
View 1 Replies
View Related
Feb 4, 2010
Still a novice in Ubuntu (Karmic Koala). I'm trying to mount an ext4 20GB partition of my hard drive so that i can use it to store data, i want it to appear on my desktop as well as on places, as far as i know this is achieved by mounting the partition in /media. At my first attempt i used the following commands. (i named the partition ondskapt)
Code:
sudo mkdir /ondskapt
sudo gedit /etc/fstab
in this document i added the following at the end:
/dev/sda4 /ondskapt ext4 defauts 0 0
[Code].....
View 4 Replies
View Related
Aug 6, 2010
i recently bought a new pair of rams, after i installed them (removed the old ones) ubuntu started lagging and all my applications started normaly, after half a minute they didn't respond for 2 minutes and then back to normal again. So i decided to delete the ubuntu partition and re-install ubuntu. I begin the installation normaly but it stucks at 5% where the partitioning takes place.
I also tried gparted to create an ext3 and ext4 partitions but i had the same problem on both tries. I believe it is a ram problem, should i go and replace them, or there is a possible solution without replacing them? (Also run the memtest 86+ for 4 hours and there were no errors).
[URL]
View 5 Replies
View Related
Jul 5, 2010
I wanted to make a clone of my drive, so I tried the ole sudo dd if=/dev/sda1 of=/dev/sdg1 trick, but first I formatted the drive to the Ext4 format. I wish I would have understood that format a little more before I decided to format it that way. Now I can't access my drive at all. I read almost everything on the net about manually mounting it, but almost everything was in Fat, NTFS, or Ext3/2 format. I even read the Ubuntu documentation. I don't know if it's because my drive is in Ext4 format, or if I'm just not doing something right.
As you can see in the following picture, it recognizes the drive, yet I am unable to mount it. I am trying to access the 160 GB drive. I even tried to see if Windows would recognize it. No go. Today while lurking in the Ubuntu Forums I found a way to make a live .iso of my system (which I think is awesome). So now I want to reformat my drive and use it as storage once again. I think I will restore it to NTFS. I thought that the Ext4 format would work better in Linux (which I was wrong), but now I need Windows to recognize it as well, and it needs to be able to store files bigger than 4 GB (unless you have a suggestion on what to format it as).
View 9 Replies
View Related
Oct 12, 2010
I recently downloaded Ubuntu 10.10 and installed it onto a 250gb removable disk using a 240gb ext4 partition and a 10gb swap space.
I am using a Sony VAIO (VPCF115FM) and it would appear that my BIOS is very limited as to bootup options. I can only choose internal HDD/external device/network/CD Drive. I cannot check whether or not my BIOS is able to recognize the external ext4 (but from experiences so far it would seem that it cannot)
After much tinkering i got my internal windows 7 to recognize the drive as ext3 (Used ext2 volume manager to add a registry entry for the drive). However, I need to unplug and replug in the drive for it to be recognized, if i leave it plugged in from booting it shows up as unrecognized.
Summary: I would like to be able to boot up Ubuntu off this external drive, but as of now it would appear that my BIOS is unable to recognize the drive. Windows can recognize it as ext3, and I can access contents of the ubuntu partition from windows.
how I could get this working that would be fantastic, i've tried formatting the drive to other filesystems (ext3,ext2,XFS) but none of them would work either, so any information would be sweet
View 4 Replies
View Related
Jul 22, 2010
Can anybody tell me what kind of fsck errors are found on a system?
View 5 Replies
View Related
Aug 19, 2011
I tried to install ubuntu 11.04 on my external hard drive (WD My Passport, thats all i remember about the name) and all was well, until I tried to reformat it from ext4 to FAT, and no such luck, it isn't even being READ, not in fdisk -l, not by gparted, disk manager, or anything else. Windows is no help at all... I tried that out of desparation.
View 9 Replies
View Related
Jun 27, 2010
I am running the latest debian lenny OS and with kernel 2.6.26-2-686. I have a common /data partition for both Ubuntu and Debian which is ext4 file system. I am not able to mount this volume. The error message reads "unknown filesystem type ext4". How do I fix this. I searched the net and there was a link talking about this
[URL]
The shell says "tune2fs: command not found".
View 6 Replies
View Related
Apr 23, 2010
I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.
View 6 Replies
View Related
Feb 8, 2010
The Ext 4 file system of the partition (dev/sdb1) is corrupted. When I seek to repair this using the boot repair tool it is unable to resolve this. I admit that I don't fully understand the problem - except that I'm unable to open and use programs.
View 8 Replies
View Related
Sep 27, 2010
Just installed opensuse 11.3 Kdeversion on my laptop. Before installing it on live mode i had a problem of accessing my other drives (NTFS, FAT32 and EXT4) which said HAL system policy...etc mounting error. I could access all drives with root privilege. I thought problem will be solver once i install opensuse on my system. How ever i was really disappointed after seeing the same problem post install. Googled around for the solution and got this link
[Code]...
After this the problem got worse now i am not able to see any of the drives in the side panel. Gone through many forum and posts all discuss about external USB HDD.
View 9 Replies
View Related
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
Feb 4, 2010
OS: Debian unstable 32bit, kernel 2.6.32-2, grub 1.98 from late january 2010 (only have working net-access from work now, so I am grabbing information from memory). EXT3 and EXT4 support is compiled into the kernel along with chipset/scsi/sata support (not as modules), and I have tested to boot ext3 with it before proceeding. Prereq: my old disk started to have too much S.M.A.R.T errors, so I bought another one, put in a USB cabinet, added swap and ext4 partition/filesystem to it, and copied over all data from the old system to the new that was mounted at /dest using the command "find ./ -xdev -print0 | cpio -paV0 /dest". Swiched disks, so I now have the ext4 disk sitting at /dev/sda (partitions: sda1 => ext4, sda2 => swap), and booted into rescue-mode from cdrom, using /dev/sda1 as root with a shell on. After doing this, I performed the following commands:
mount --bind /dev /dest/dev
chroot /dest
modified the /etc/default/grub to instruct the kernel to boot using ext4, ran grub-install --recheck /dev/sda
ran update-grub to modify /boot/grub/grub.cfg (which looks as it should) After doing this, grub finds my partition and mounts it. It however stalls with the message: "warning: unable to open an initial console" and does nothing after this point. I have no ramdisk, but my old kernel booted fine from ext3 (and still does if I copy it to a ext3 partition), and since the ext4 support is compiled into the kernel - should I really need a ramdisk?
View 4 Replies
View Related
Jun 12, 2010
its not a good idea to run fsck on a mounted file system.But.. if I want to check the file system between the default checks on boot up how should I safely do it? How do I safely run fsck?
View 8 Replies
View Related
Mar 3, 2010
I forced a fsck on the next boot by.Code: sudo touch /forcefsck.Where did the results go?/var/log/fsck/checkfs and /var/log/fsck/checkroot both read "(Nothing has been logged yet.)" Am I to assume that if there are no errors nothing is written to the log files?
View 9 Replies
View Related
Jun 29, 2010
Every 32 boot ups, the fsck runs automaticall on my drives.Iould like it to run at shutdown and was looking for a solution.I saw an app call autofsck but not find it in synaptic.Can someone help me find a solution to this. I am running a laptop with 9.10 and a desktop with 8.10.
View 3 Replies
View Related
May 9, 2010
I am using bootchart to investigate the slow booting of ubuntu 10.04 and I found that fsck process is called every time in the booting for around 5 seconds even the screen does not show any hard disk checking, is that normal ?
View 5 Replies
View Related
Aug 24, 2010
I booted up my laptop and the boot sequence got stuck at the boot splash screen (plymouth). I did an esc and I saw a failure message, the error I remember in my panic mode is: fsck terminated with status 8
I rebooted, got the same message. Rebooted again and this time, to my relief, it worked.
1) What happened, should I be concerned? Not sure why it worked after 2 reboots.
2) Is there a possibility this could happen again?
3) Are there any boot log files I could look at?
4) Is there anything I can do to fix this? Or a check of some sort?
I'm using Ubuntu 10.04 on a Dell Studio 1535 laptop. No dual boot. The disk is partitioned and I've got my /home folder on the other partition for situations like this.
View 2 Replies
View Related
Sep 3, 2010
i have a ubuntu 10 server (as server LAMP) , i was trying to repair a couple of unix files with fsck command on directory, thinking it would apply only that directory, but it affected all system, in th end it says: "file system has changes, restart ubuntu", then services go down, after some directories fail, restart funtion do anything... i switched on again, but at start show error.
I got another ubuntu and installed damaged hard disc, but, i can see file sytem, i has been trying to repaired with TestDisk but i can't...
i want to recover mysql database at least, but a don't know what to do.... how a fsck get damaged SO
View 2 Replies
View Related
Nov 28, 2010
I know I can force a fsck run at next reboot using
Code:
shutdown -rF now
or
Code:
touch /forcefsck
can I force the fsck to more indepth checks such as doing directory optimisations, bad blocks checks, etc. maybe by passing parameters to the fsck call during startup?
View 7 Replies
View Related
Jan 4, 2011
I am wondering if there is a way to manually trigger a file system check during boot by pressing/holding a key. Maybe there is already a keyboard shortcut built in to do this?I know that using tune2fs you can modify the number of boots (mounts) between file system checks, or even use "shutdown -rF" to reboot the system and force a file system checkAlso, I do not want to force the user to choose to run/skip the file system check during boot. For example, prompting the user with, "Do you want to run a file system check [y/n]?" each boot (or even each time the system thinks it should run a file system check),s not desirable
View 1 Replies
View Related
Feb 25, 2011
I need to boot in WXP just because the guys at the company don't want to update for Linux drivers in the TS so I can't connect from home unless I do it in Windows XP. But today WXP refuses to boot, when the progress bar appears, the system boots automatically. The WXP CD doesn't help, the repair console doesn't let me run chkdsk or anything (dir C: gives an error about listing addresses or something like that). Is there any way to use fsck or anything in Linux to repair the WXP NTFS partition?
View 1 Replies
View Related