General :: Red Hat 7.0 Fails At Checking Root File System

Jan 19, 2010

I have a Rad Hat 7.0 old Linux system that crashed due to power failure. On reboot the system goes to Checking Root File System and does 92.5% check and fails.

Here are the error messages I get.

I don't know what to do at this point so I say yes and it goes in some wierd mode.

SO I ran fsck manually but I get an error PARALLEIZING FSCK.

I can't fix the corrupted stuff for the system to reboot. THIS IS VITAL.

View 11 Replies


ADVERTISEMENT

Slackware :: Fsck Not Checking Non-root File System At Boot Time

Apr 21, 2011

Fsck is not check any file system which are not root file system at boot time.

Normally it run: /sbin/fsck -A -R -C -a

But this command doesn't do anything.

I've tried to strace it, and looks like this:

Code:

View 2 Replies View Related

Ubuntu :: Checking If File In /root Directory Exists?

Jun 6, 2010

I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.

Code:
#!/bin/bash
echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"

[Code]...

[Edit] Added second double quotation mark at the end of "somepassword"

View 5 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

Software :: Reboot In Ubuntu 8.1 - Begins Checking The File System

Jan 5, 2011

when i reboot my computer, it goes on well and loads Ubuntu but instead of it going to the login it doesn't. instead it begins checking the file system and then completely stops at

[Code]....

i am using ubuntu 8.1, please i love that ubuntu version and it's why i haven't upgraded yet because i have tried the other versions and i didn't really like them. i have a 40GB HD and 512MB RAM, 1.8GHZ processor, i am using pentium 4.

View 3 Replies View Related

General :: Root Has Been Mounted X Times Without Checking

Jan 11, 2010

I have seen this message more then once and I cannot find information that is understandable to me and which is recent, so maybe the situation has changed with newer kernels/file systems. My question: is this normal behavior with linux and beside from increasing the number of start-ups after which this check runs, is there another way to avoid this? Isn't there a way to do a check after the os has been loaded?

View 14 Replies View Related

General :: Don't Have Root Password And Checking Umbutu It Does Not Appear

Jun 27, 2011

I just installed umbutu 10 on a virtual machine running on VMware workstation 7.Workstation asked me for a username & password, which I supplied.The install went fine, and I logged on with the credintials that I provided to WorkStation. So far so good.I then downloaded Webmin and installed it, again no problems.I go to the provided link: URL... and it wants me to log-in as root.But I don't have the root password and checking umbutu it does not appear that I have a root user so that I can set a password.

View 4 Replies View Related

OpenSUSE Install :: Mounting Or Checking A Partial Ext4 File System?

Sep 3, 2011

If you have a contiguous partial piece of an ext4 file system (assuming it's perfectly clean), starting from the beginning of the partition, is there any way to check it, or to mount it to get the files whose parents, inodes and data are all completely contained inside?

Have (or maybe had) a very large 11TB RAID 6 array, filled with a single large ext4 partition. Something strange happened when a single drive failed and the array ended up failing 13 out of the 11 drives. I had trouble getting the array restarted, and got to the point where I exhausted all of the options I considered completely safe. I considered a few things that may have worked, but mdadm doesn't seem to have a definite "do not change anything" option. So I decided the only way to be absolutely safe would be to clone the disks before proceeding - then I realized how much time that would take and sent the drives off to a recovery service so they could image them and check it out.

Before doing so, I copied the first 2GB from each disk. I XORd the images from the working drives to reconstruct the data chunks that were on the failed disk, manually assembled the chunks, and am very confident that I have 22GB of "correct" data in a single file. The parity and Q syndromes all matched (with RAID 6 you can still check with only 1 missing device). I've learned the fine details of ext4 from [URL], and have looked at lots of raw data from the reconstructed partition, and it all looks good. The recovery company says that they're not finding many inodes, but I found a lot of them, exactly where they're supposed to be. I tried to mount and e2fsk, but both processes seem to be extremely unhappy that the device size doesn't match the size implied by the file system geometry.

I considered hacking the superblock to manually reduce the size, but I figure that wouldn't work because there would then be more group descriptor blocks than it would expect after the superblocks. I might try doing that and compensating by incrementing the "reserve block count" to compensate. Alternatively, if there is some way to make the file appear to be the expected size with nothing but zeroes after the end of the actual data, maybe I could mount it and not get any errors until I cause the kernel to read past the true end of the file.

View 3 Replies View Related

General :: Can't Mount Root File System

Apr 6, 2011

I am getting an error while booting my linux system: Can't mount root file system.Boot has failed, sleeping forever.OS is Red hat enterprise linux 6, With Intel P4, 1 GB Ram, 120 GB IDE hdd seagate. it was working fine from last 4 days. from today morning this is giving error. only mysql & apache is installed in it.
please suggest is there any way to repair the root & boot volumes. waiting for valuable reply.

View 2 Replies View Related

General :: Encrypting Root File System?

Sep 16, 2010

Is it possible to encrypt the Entire root file system using LUKS.I am currently using Ubuntu 10.4 LUCID.After several hours of Google ,most of the articles were focusing to "Encrypting a drive/removable media ".. My aim is to encrypt whole File system which is currently using.

My Concerns, How to Encrypt a running file system? Will it lead to data loss?

View 1 Replies View Related

General :: No Root File System Defined?

Feb 4, 2010

im trying to prepare my partitions for fresh installation. The partition manager didnt list anything with an error message that said:Quote:No root file system is defined. Please correct this from the partitioning menu?This is what Gparted displays Quote:

/dev/sda1 ext3 /tmp/boot
/dev/sda2 unknown
/dev/sda3 ext3 /tmp/opsys

View 14 Replies View Related

General :: Use Initial RAM Disk As Root File System?

May 22, 2010

Information on the net seems very sparse or outdated for how to go about booting to a RAM disk. I need to be be able to boot a PC without a hard drive in it. I want to be able to PXE boot a PC and supply it with a RAM disk image that also contains the contents of the root file system (obviously stripped down enough to keep the file size small and the boot up time fast).What I have gathered so far is that I need to extract the contents of the initrd.img file, add files as necessary, and repackage the initrd.img file. What I get confused on is how to configure the kernel line parameters to tell it to boot to RAM and not the hard drive and how to go about modifying the init script in the initrd.img to not switch to the hard drive for the root file system. I can't find anything on the net that describes concrete steps on how to go about accomplishing all of this. I'm aware of the existence of Live CD's, but I need to be able to boot the PC without relying on a hard drive, CD, or any other external media. It needs to get all of its contents from the PXE boot server and boot to RAM only. I have the PXE boot side configured successfully. Also, putting the root file system on a NFS share is also out of the question.

View 8 Replies View Related

General :: Root File System Partitioning - Filesystems ?

Feb 12, 2010

I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.

For instance, /tmp /var /usr etc

Leaving as little as possible on the main / system.

Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.

I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.

I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.

However, eventually, / will become full, and writes will fail.

On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.

However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.

I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.

View 2 Replies View Related

General :: Root File System More Users With Different Access Before Mounting?

May 11, 2011

I need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.

View 1 Replies View Related

General :: Installation Utilities Split Root File System

Jan 21, 2011

standard Linux installation utilities split the root file-system and the home file-system on two separate but relatively equal-sized partitions? For example, when I put fedora on an 80GB disk, it automatically gave the root file-system 32GB and home 30GB and the swap 8GB of space. However, since my home file-system has a directory with 28GB of files in it, why is my root file-system reading 100% usage? Is the home FS overlaid on top of the root FS? Is there an advantage to doing this? I just made a boot partition (50mb or so), a root partition (90% of the disk space) and a swap (4%-5% disk space).

View 5 Replies View Related

General :: Root File System Is Mounted Read-only On Boot On Gentoo?

Sep 27, 2010

I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use a separate file system for /var). After the system is up, I have to log in, remount the root file system read-write, fix /etc/mtab, mount all other file systems in from /etc/fstab and then start up all the missing daemons. I know that there are ways to make a system run properly with a read-only file system, but I would rather restore the old behaviour of a writable root file system.

The strange thing is that after running mount / -o remount,rw, the file system is mounted in writable mode without any errors. I suspected some problem with fsck, but now I have disabled automatic file system checks on the partition (tune2fs -c0 -i0).When I run dmesg, only these lines mention the partition at all, although I am not sure if not something gets lost because /var/log is not writable:

EXT3-fs (sda5): mounted filesystem with writeback data mode</code>
EXT3-fs (sda5): using internal journal
The line in /etc/fstab looks like this:

[code]....

View 2 Replies View Related

General :: Mass Change_owner Happend To Root File System In Fedora?

Nov 21, 2010

I have a fedora 14 system. I booted a suse installation that existed on an external harddisk and wanted to access my original fedora user home directory using non-root preveliges(so that i can use the gui file manager), so I searched on the internet and made a command to (chown -R mysuseUser:Users *) thinking that it will only affect the current mount permissions (not permenantly) put it did change the file system... i realized and cut it in the middle but some corruption was done. and then my fedora gui login screen was missing any username. tried to fix that by going to my fedora and executing chown (once using --from , and once without --from) and changed all root file system recursively to be owned by root and then changed my /home/myuserName ownerships all recursively to be owned by myUserName after that... still the system is corrupted..... when i login to genome i have several crash messages (gdiskutility is one of them) and networking is disabled (i cannot connect to neither wireless nor wired nor wireless broadband). also when i plug USB/esata harddisks nothing happens

now i can only do work from my external harddisk`s suse linux. what can i do to restore my system ? I have a previous dd image of my entire harddrive, but it is more than one month old and also I don`t want to do a restore to my entire harddrive.. can i clone some ownerships from files in dd image to their corresponding ones in my fedora system ? if so, how can i even mount a dd image ?

View 6 Replies View Related

General :: No Root File System Is Defined. Please Correct This From The Partitioning Menu?

Apr 29, 2011

From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?

View 11 Replies View Related

General :: Error Checking On System Calls

Sep 19, 2010

I'm new to C language and some help finding places in the following code where a system call is made and error checking is not done. I found one but since I don't know C language at all I'm not exactly sure what else to look for. Link to my file: [URL]...

I found one and added error checking:
if (setoutpipe){
//Changes: Added error checking to the system call close()
//Orginal Code: close(pidefd[1]);
if(close(pipefd[1] != 0){
fprintf(stderr, "Could not close piple.
");
exit(255);
}

View 1 Replies View Related

Slackware :: Root File Sys Check On JFS During Boot Fails With E2fsck Message?

Feb 21, 2010

After creating a new JFS root file system, boot (actually /etc/rc.d/rc.S ?) fails when checking it with:

Code:
fsck 1.41.8
/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda7:

[code]....

View 2 Replies View Related

General :: Checking Underlying Operating System At Runtime?

May 11, 2010

How can i check what operating system, i am running on, at runtime?

View 2 Replies View Related

General :: Command - Checking File Name ?

Mar 31, 2011

I need to check the file name e.g. testbla_word.txt

Is theire a command to search for only "bla_"?

So mainly, to check a part of a filename (not the entire filename, only a part of it)

View 5 Replies View Related

General :: Checking Path To File ?

Nov 14, 2010

I am trying to load a driver (xxx.ko) and uncertain if the path given is correct.

I do not have any direct access to my linux device, so I need a small script that will create a text file telling me if the file was found or not.

View 6 Replies View Related

General :: Installing Ubuntu From A Flashdrive Alongside - Ngside Windows - Error Message - No Root File System Is Defined

Jul 8, 2011

I can use Ubuntu from my flash drive, but I want to install it in a partition alongside windows. When I try to do this, I come to an 'allocate drive space' window, but whatever I do I get the error message: 'No root file system is defined. Please correct this from the partitioning menu.' I just don't know what this means, or what to do next. I'm loathe to ditch windows, and I don't want to have to use a flashdrive all the time.

View 3 Replies View Related

General :: Checking If Table Name Is Repeated In File And If Yes - Remove It ?

Jan 20, 2011

I have an output file that looks like this:

Quote:

Now if you see the first line:

Status for ACCOUNT_MISSING_FRM_RCIS_LINK- mismatch

Status for ACCOUNT_MISSING_FRM_RCIS_LINK is ACCOUNT_MISSING_FRM_RCIS_LINK- does not exist in DB

This should appear just once as :

Quote:

The same goes for last line.

For further information the ACCOUNT_MISSING_FRM_RCIS_LINK is a table name and it row count is taken from a log and then Database checked for the rowcount to see if it is a match,mismatch,or the table does not exist!

I am getting the desird output just that i need to do something to this output file.

View 13 Replies View Related

General :: What Does "mounting A Root File System" Exactly Means?

Sep 29, 2010

In the boot process of Linux we have the initrd that is a root file system and is mounted before the real root file system become ready to mount. What is the procedure of mounting? What should happen so we can say that file system is mounted? And another little question why we say ¨root¨ file system instead of just file system?

View 2 Replies View Related

General :: Ubuntu 11 "No Root File System Is Defined"

Jun 29, 2011

I put a formatted drive in my desktop so I could run Ubuntu on it. When I went to install, it read "No root file system is defined". What gives?

View 2 Replies View Related

Ubuntu Installation :: Why The File System Creation Fails

Aug 8, 2010

I'm trying to install Ubuntu alongside windows 7 on my machine, and currently I am having difficulty doing so.Upon initial boot of the LiveCD,it says the installer has encountered an unrecognized error and just goes straight to desktop environment. From there, I can restart the installer just fine but here is where the trouble starts.

Currently, I have a 2TB RAID 0 array utilizing 4 500GB Seagate barracuda SATA II drives. The controller is an nForce 780a NVRaid. I currently have two NTFS partitions for windows. One 150GB primary partition for C:, and another 781GB D: for the storage of games, music and movies.When I try to manually setup the partitions in the Ubuntu installer, I do it like this.

- 200MB ext2 primary partition for /boot
- 150GB xfs logical partition for /
- approx 750GB xfs logical partition for /home (You've probably figured out I'm following the same C: and D: scheme as in windows)
- 8192 MB partition for swap

I then proceed with the install. I see the progress bar complete for the boot partition, but then at about 7% for / it stops and gives a message saying partition creation has failed. I even tried using different filesystems like ReiserFS and Ext4. Same thing every time. I am running a 64bit quadcore system BTW if that is of any importance.

View 9 Replies View Related

Ubuntu Installation :: File System Creation Fails At 5%?

Jun 16, 2011

net book had some issues with windows, so i had to format its hard drive. i put in the ubuntu live image (usb) (yes i md5summed it, its fine) and i tried installing it using the guided partition (using the whole disk) and i tried setting it up manually, but regardless of what i try, when it attempts to format it to the necessary filesystem, it fails at 5% without fail. even IF i use GParted.

View 4 Replies View Related

Server :: On Boot The Fsck Of 2TB File-system Fails?

Apr 5, 2010

I have a 2TB file-system and when the machine reboots it fails the fsck, halts and goes into maintenance mode.Stats: I have have RHEL 5, 2.6.18 kernel, the file-system is an ext3. The file-system is on an EMC AX4 connected with fiber channel HBA.So far my reading tells me this should work because under 2.6 4TB is OK. Any ideas why this fails?If I take it out of the fstab file and mount it manually the boot is OK and the file-system behaves well. I can change the fsck check option in the fstab to 0 but I don't think I should have too. Everything I read says that 2TB ext3 file-systems are OK.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved