General :: Boot In RHEL 4 With Error In /etc/fstab?
May 26, 2010
shut down my RHEL 4 system with an error still present in the /etc/fstab file. Current symptom: When I now try to boot, everything hangs when "Enabling swap space". Highly likely, the reason is the failure to "Mount local filesystems" in the previous step (i.e. "mount point 0 does not exist" = error due to my incorrect line in the /etc/fstab file).Question: Is there any way that I can still boot my system, such that I can remove the incorrect line in the /etc/fstab file?
I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.
I've observed a problem which stops me from mounting my external hard disk into my machine. I used a bash script to perform the mounting operation; but the script faced error, Whereas the mount command works properly correct when I use it directly in command line.
#!/bin/bash mount_point= fdisk -l | sed -n '$p' | cut -c1-9 mount $mount_point /mnt
the code should have split the mount location of external hard disk in /etc/fstab and pass the mount_point' variable to mount command, but it doesn't.
I have a removable SATA Mobilerack which i use to play with.It has redhat linux loaded on a 500GB disk and i made a new partition using fdisk and then made an ext3 filesystem with mkfs. I then tried to edit fstab to add the new partition but have obviously stuffed it up. When I tried to reboot I get the error fsck ext3: UNABLE TO RESOLVE `LABEL=/mnt'.
I've just started playing around with a Sheevaplug running a very light version of Ubuntu. I'm planning to run it with an SD card to store all my server data and a USB stick to regularly back up some of it.My problem is that the 2 partitions on my SD card mount fine at boot, but my USB stick's single partition does not. Could it be that the mounts specified in fstab are done before my USB device has finished getting alive? Mounting the USB stick manually works perfectly well.
Code: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver.....
In the dmesg Code: usb-storage: device scan complete comes after
Code: EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended which makes me think the USB stick has missed the fstab train the 2 SD card partitions are on. And changing the order of the entries in fstab does not make any difference either.
I'm not planning to reboot my Sheevaplug every 5 minutes, but I like things to be nice and clean.
we are facing the problem related to Kernel panic in linux . Could u send me details of kernel panic . Why the kernel panic occur and how to resolve this problen
Transaction Check Error: file /usr/share/man/man2/remap_file_pages.2.gz from install of man-pages-2.39-17.el5 conflicts with file from package eal3-certification-doc-1.1-2 file /usr/lib/cups/filter/textonly from install of cups-1.3.7-26.el5 conflicts with file from package redhat-config-printer-0.6.47.3.23-1
I've installed RHEL 5.3 on a Dell Desktop. I don't want to install GRUB to the MBR. Is there a way to boot up RHEL from a floppy?I've installed GRUB on to a floppy but not having much luck starting up RHEL. In the past Slackware has allowed me to startup the kernel from a floppy using LILO. I was hoping that there is way for RHEL too.
trying to triple boot XP, Ubuntu, RHEL 5.4but unable to bring every thing in boot loader.* It loads XP with Ubuntu successfully or XP with RHEL 5.4 but not all the three.* when I install XP followed by Ubuntu then RHEL, I am not having a primary partition to install RHEL. It stops there.* I tried to copy the kernel path of ubuntu from grub.cfg in ubuntu and tried to edit in grub.conf file of rhel and added an entry but it displays in boot loader [start screen where it displays all OS listed] but unable to boot ubuntu [unable to load ubuntu kernel].Current situation reformat all Linux partitions and installed Ubuntu with below partition. installed successful. But rhel not installed due to error.Partition table:
/dev/hda1 > XP [primary patition][can boot and work] /dev/hda2 > Ubuntu [primary patition][can boot and work] /dev/hda5 > swap for ubuntu [secondary partition]
I am running RHEL 5 on Vmware Workstation. That is i inslled Vmware Workstation on windows 7 and then in Vmware i installed RHEL 5 as a virtal machine. By mistake i made some wrong entry in my /etc/fstab file that is i was trying to automatically mount one folder under another folder. My syntax was wrong. So when i restart my RHEL 5 , at the boot time due to wrong entry in /etc/fstab system is giving file system error as follows:
Checking filesystems fsck.ext3: Unable to resolve 'LABEL=/home/download' fsck.ext3: Unable to resolve 'LABEL=/var/ftp/uploads' [FAILED] [code]....
Introduction : We have a C++ application in RHEL 5.4 platform. We are using TCP/IP socket programming as well to send and receive some sort of messages. We are using socket write and read command for this purpose and we are getting some run-time write issues in between. By doing various debugging and strace operations, we came to the conclusion that issue happens in some write attempts as follows.
Detailed Description : In the simplest case, consider I have a server and a client. Server writes some messages using write command and client is supposed to read the same data.Major code snippets in Server side is as follows [It is not feasible to extract the actual files and application codes as a whole, below are just the major commands used in server side]:
Environment:RHEL 5.2 and 5.4 AP x86_64, 2 drives (sda, sdb), installing without optional features like clustering and virtualization. I have tried this for a couple of days now and just can't get it to work. My goal is to take the RHEL 5.2 DVD and RHEL 5.4 DVD and install them on separate drives of the same machine. I want the grub menu to give me a choice. I prefer to understand the steps and choices offered me by the install dialog to do this rather than fiddle with grub.conf. If that is not possible, I will write up the bug.
So far, I just get the the error 13 when trying to start the grub added second OS. I have read elsewhere that "Anaconda frequently recognizes the other operating system and sets up grub so you can boot from either operating system". That would be nice. The install dialog lets me choose a drive to install to. I have figured out that I need to check "review and modify partitioning layout" to enter the advanced grub choices. Do I have it install a boot loader for the 1st OS? Trying to add the 1st OS during the second OS install creates a grub conf with no kernel line in the added boot stanza.
Forgive the terseness. I'm frazzled with this issue, perhaps I should have asked earlier. Every weekend for the past 2 months has been an endless cycle of 'repair broken system' off the install disk.
Installed from Ubuntu server 10.04LTS x86_64, + xfce-desktop Here is uname -a Linux ournas 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux If I add my raid + lvm to the fstab file, the boot stalls, (no error it, just hangs waiting, forever). So that's a not very user friendly to start with.
I've tried the suggestions about UUID in fstab tried using LABEL instead, or even /dev/xxx. Every time it hangs. I've googled this endlessly and not found a solution. So don't ask why... since I seem to have tried every odd suggestion to fix this, I've lost track. There seems to be some consensus that whoever gave us plymouth laid an egg. Forgive me if I'm wrong, but did we need a better graphical boot if it breaks everything else?
I'm using RHEL 4.6. auditd was set on for run levels 1-5. I changed something (?), now my system won't boot. It hangs on "Starting auditd:". I tried adding "enforcing=0" to GRUB. I tried adding "selinux=0" to GRUB. I tried adding "auditd=0" to GRUB. I've tried them separatly, as well as, in various combinations. I've tried entering "I" to go into interactive mode but, I'm not fast enough to hit that millisecond window. How can I skip/get pass the "Starting auditd:"?
I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.
But the problem is that when I tried executing any of them, I am getting below error message :
" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file" Moreover, now when I tried "java -version", it is not showing any thing.
Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.
can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?
I have an external hdd that I have added to the fstab so it will mount when I boot. But every time I add the line to fstab and reboot, it hangs during the boot process and says something about ureadahead-other status 4. here is my line in fstab..
/dev/sdc1 /NAS ext3 defaults 0 0
Is there anything wrong with that? I couldn't remember what fs I chose when I formatted it so I did "sudo parted /dev/sdc print" and it said it was ext3.
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
I really need some help here, this is driving me mad. I edited my fstab file to boot a partition on start up, only instead of typing sda7 I typed sda1 by mistake and now can't boot. The problem that is driving me mad is I cannot save changes to fstab from a live cd because I do not have root permissions. I am relatively new to Linux and have no idea how to use the fedora install disk or the commands to use or if it will let me save changes to the file. I cannot believe something so easy to fix does not appear to be possible because i can't save changes to the fstab on my fedora install.
I made a mistake in my fstab. I know what the problem is and how the fstab needs to be changed. However, since the system will not boot I'm having diffeculty getting in to edit it.The system is running Ubuntu 10.4 64 Bit with LVM2.I have both 10.4 64Bit Server and 10.4 32Bit Desktop cds currently and could burn others if needed. With 32Bit Desktop I'm able to get to a live cd prompt but my hard disks are not mounted.if I try mounting /dev/sda5 to a dummy directory I created it tells me it doesn't know the type of 'LVM2_member'.
On reboot, the system complains there is some problem (I can't advise what the problem is, because the display scrolls up too fast to read!), and I'm left with a root command prompt.
Its a /etc/fstab problem, presumably. I've used vi to edit /etc/fstab to remove the two lines mentioned above, but on quit and save, I'm told I have a read-only file system!
1. How can I mount a read-write file system so I can edit /etc/fstab?
2. What's wrong with my two new entries in /etc/fstab? After formatting /dev/sdb1 and /dev/sdb2, I checked the they were mountable with # mount /dev/sdbn /bakn (n = 1, 2) before editing fstab.
I was able to successfully create a small, fixed-size "ram disk" just for kicks, via:
Code: sudo mkfs -t ext3 -q /dev/ram1 65536 sudo mkdir -p /media/ramdisk sudo mount /dev/ram1 /media/ramdisk -o defaults,rw However, I wanted it to auto-boot, so I added the line to fstab:
Code: /dev/ram1 /media/ramdisk ext3 defaults 0 0
This, however, rendered Ubuntu unbootable and I had to repair the fstab by removing the line via a Live CD. I had enough patience to boot through the CD an extra time to see if just deleting "ext3" would work, but it did not. What would cause this to make the system unbootable and how I could make it work?
[URL] and instead of a fat32 I added a ntfs 2 tb hd to my computer. But it doesnt like it, so now when I boot I get
init: ureadahead-other main process (1234) terminated with status 4
I searched and people are mentioning logging into the terminal and what not, but I cant get to a terminal so that kind of silly. People also talking about updating their video cards for this issue, which also is not my problem.