Fedora :: Accidentally Removing /etc/fstab Cannot Boot/enter Run Level 2
Jun 8, 2010
1. I accidentally removing /etc/fstab
2. reboot
3. It enter gdm/runlevel 5 though several warning complaining missing /etc/fstab (i can post the boot.log if it is needed)
4. I "touch /etc/fstab"
5. reboot (and cannot pass run level 2)
I can enter run level 1, but when after that if I "init 2" it is halted. Most of the boot message (after i create empty fstab with touch) is complaining about read only filesystem.
ps note:
1. I use LVM
2. I don't have access to a live cd until saturday
3. /etc/mtab is empty as well when i checked it in run level 1
View 4 Replies
ADVERTISEMENT
Oct 2, 2009
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.
View 3 Replies
View Related
Oct 2, 2010
I've edited /etc/fstab to auto-mount two partitions on a new disk drive that have been formatted as ext3, by appending the following two lines:
/dev/sdb1 /bak1 ext3 defaults 1 1
/dev/sdb2 /bak2 ext3 defaults 1 1
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.
View 9 Replies
View Related
Jan 12, 2011
I am pasting sudo commands without problems as a user (ales in my case) and then immediately the ask the user password.
The keyboard seems to be dead, no keys work, not allowing me to enter the password.
View 6 Replies
View Related
Jul 18, 2011
I have been trying to work out how to set up Fedora 15 to automatically mount an NFS share at boot time. I can mount the share interactively using 'mount -t nfs server:/usr/local /usr/local'. When I put the entry in /etc/fstab, it stops the machine booting. It tries to give me a shell ('Enter root password for shell or press Control-D to exit') or something close to that. However, I cannot enter the maintenance mode, it hangs. Same thing with pressing control-D, it hangs and doesn't get any further.
I rescued the system by booting off a CD, mounting root, and removing the nfs entry from fstab. After that it booted fine. The entry I had in the fstab is: nfsserver:usr/local /usr/localnfsro,hard,bg,intr,comment=systemd.automount0 0
I put the 'comment=systemd.automount' entry in because of some related searches I did in forums.
View 14 Replies
View Related
Jul 21, 2011
I have a bad entry in /etc/fstab I have tried to tried to change in boot but it says read only. It will not take su. I have a livecd but I can't seem to get to my filesystem from a terminal where I can specify su
View 2 Replies
View Related
Jun 30, 2011
I just upgraded to F15 and it went well. But at the next and each subsequent cold boot the BIOS reports "Your system last boot fail or post interrupted Please enter setup to load default and reboot". The board is an asus P5N-D. I press F1 to blow past the error and all is well until the next cold boot. Restarts are fine, no errors at all.
View 12 Replies
View Related
Jun 15, 2010
I've been fiddling about with vortexbox (the one before 1.4 I think), for a while. This is a music ripping and server rpm setup using Fedora 11 as the base.
As it was on a test machine, decided to try changing the logical volume sizes of LogVol00 and LogVol02 to fit a few more cd's on 02 before getting a new pc (just to see how it works).
Logged on and opened up the graphic version of lvm (using gnome). Then selected the LogVol02 logical volume, select edit, changed name to LogVol02-Storage, saved and logged out. Rebooted vortexbox since then its been unable to start properly (is this a kernel panic?).
Read up a lot on lvm on the net, have access to Fedora 11 disk 1, so logged on. Eventually managed (I thought to) to change LogVol02-Storage to LogVol02 using lvrename.
However, still refuses to boot completely.
The message it gives is as follows (sort of): Welcome to Fedora Press '1' to enter interactive startup
Setting up Logical Volume Management: 3 logical volume(s) in volume group 'VolGroup00' now active
*** An error occurred during file system check.
*** Droping you to a shell; the system will reboot when you leave the shell.
Give root password for maintenance (or type Control-D to continue):
Loving vortexbox appart from this. Will it be easier just to reinstall everything? If so, is there a way of listing all the changes I've done so I can reproduce (I'm thinking of just looking at all the commands I ran on the CLI).
Otherwise, is there a way of listing all of the commands I ran in terminal and piping them into a file so I can see what I need to do to rebuild after reinstalling?
View 2 Replies
View Related
Nov 24, 2009
I installed Fedora 11 on my system (see below) using the i686 DVD. The graphical install worked just fine, and after the system booted back up, the X server was working very well.
There is no boot text. On the other system with Fedora 11, I can see the boot text scroll by in the window and/or a progress bar at the bottom of the monitor during the boot sequence. On this system, the monitor says "No Input", and nothing appears until the login prompt for the X window. I am able to enter the BIOS configuration page and navigate through it without any issues. I can also edit the grub commands before Fedora loads without a problem.
If I boot in text mode, no login prompt appears. If I wait long enough, the monitor enters the power save mode since it is not receiving a signal. I am able to log in to the system with my user name and password, and then start the X server. Once the server starts, the monitor turns back ON and all is well.
From the X window, I use the CTL+ALT+F2 key to enter text mode. The monitor stops responding. If I press the ENTER key a couple of times, then press ALT+F7, I can briefly see the text window with a couple of login prompts before the X window starts responding again.
How can I get the text mode to work? Why is there no input to the monitor when booting?
System:
Intel D945GSEJT motherboard with Intel Atom N270 processor
2GB RAM
120GB SATA Hard Drive
Fedora 11 i686
View 4 Replies
View Related
Jun 30, 2010
I trying to write a UART(interfacing of serial devices) to linux machine but after I execute the following code to receive data I need to enter key (carriage return).... but I don't want to remove carriage return/enter key
[Code]....
View 13 Replies
View Related
Aug 17, 2010
when it comes to disk and volume management in linux, I'm attempting to install a new 1TB disk to remove the current 250GB disk, the system also has a 37GB disk.
What I did was that I added to new 1TB disk to the system with the LVM tool, I added it with a mountpoint of /storage2. Then I removed the old disk with the LVM tool and moved it's data to the remaining disks (the 37GB and the new 1TB) with the LVM tool.
Everything looks ok so far.
When I reboot with the old 250GB disk still in the system it's all fine. But when I remove it, the system won't reboot. I get to the point of where the fedora screen usually turns up.
The old disk had 2 partitions, the new one has only one, I'm starting to think there's something in there causing the issue? Can't load that big partion at boot or something?
If I'm missing to fill in some details, just ask and I'll try to answere. I now has the old disk back in the system to be able to boot.
View 3 Replies
View Related
May 12, 2009
Hi Guys,
here is my scenario:
I am running F10 x86_64 with Nvidia Quadro FX 3400.
I installed the drivers and it worked just fine. No errors generated according to Nvidia log files.
However, while in run level 5 when I try to switch to run level 3 by typing "telinit 3" or "init 3" the X server goes down and I get a blank screen. Same thing happens when I try to switch to a different tty session by <ctrl>+<alt>+F2 (or any F key for that matter).
I also noticed that when I shut down my system I can't see any more the screen where services are shutting down and their status ([OK] or [failed]).
Would appreciate your help on solving this issue.
View 3 Replies
View Related
Jul 18, 2011
So what happened is i had a small encrypted lvm volume that i no longer need because I have bought an external HDD and used truecrypt on in. So after I transfer all the files off of the encrypted partition, I restart and drop into single user mode and remove the unneeded volume. When i attempt to restart, instead of going to the login screen, when the boot progress bar is full, it says "welcome to emergency mode: enter rootssword for maintenance or press control D for normal mode" or something along those lines. I tired control+D, but that just brought me right back to the emerengy mode screen. I put in my root password and tried startx, but then x gave me this error: "can not start D-bus, can you call q-dbus?". After that i tried both "service dbus start" and "dbus-launch", both of which failed. Is there any quick remedy to this situation, or do i have to reinstall
View 4 Replies
View Related
Aug 25, 2010
These should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.
View 5 Replies
View Related
Nov 1, 2010
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?
[Code]...
View 3 Replies
View Related
Jan 27, 2011
I edited /etc/fstab and after that the computer won't boot up. I got as far as (Repair filesystem) 32 #mount -w -o -remount / and it says already mounted or busy. I type (Repair filesystem) 32 #mount And it looks like all mount points are (rw) I try to edit /etc/fstab but when I save it I get told that the filesystem is READ ONLY.
View 4 Replies
View Related
Jun 26, 2011
I was on Windows and I accidentally deleted my Ubuntu install. Now when I boot I have Windows 7 and Ubuntu, and it's corrupt. So I went to add remove programs in Windows 7 and it just deleted the Ubuntu uninstaller (cause i deleted it) and now i'm stuck with a corrupt boot, how to remove it because I want to re install Ubuntu and it's annoying having 2 Ubuntu systems (one corrupt) and Windows 7 on my boot screen.
View 3 Replies
View Related
Jun 25, 2011
I had a win7 installed on my system first. Then I installed Ubuntu and added grub2 boot option with win7 utility program EasyBSD. But then I accidently deleted win7 boot option from windows loader menu. Now I can only chose to load Ubuntu. How can I restore Win7 loading option? I have Win7 option in grub2 but it returns me to the previous screen, from which I have deleted win7.
View 2 Replies
View Related
Jan 15, 2010
I was gonna install OpenBSD 4.6 on my PC and I accidentally overwrote my boot partition.
Initially my partition table looked something like this:
Quote:
This doesn't look like a partition table
Probably you selected the wrong device.
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
That's what my partition table looks like according to fdisk. So I'm wondering how I'd go about recovering /dev/sda3 (what /dev/sda3 was before I blew it up).
View 4 Replies
View Related
Aug 10, 2010
I've been able to kludge a kill script which finds the correct pid for the kdeserver (or gnome server) after my system comes up in run level 5 so I can drop back to run level 3 mode. Lots of experimentation showed me that using telinit 3 and telinit 5 would occasionally leave the video memory in a mess and I would have the black screen of death.
I set the security parameter setting to autologin for me since I am the only user of my machine, but I still have to kludge the default setting under sysconfig (the DEFAULT_WM) under Window Manager to pick a certain window manager, so it takes time to manually switch the desktop.
Right now I can leave the gui and drop back to cli, but painful experimenting showed me that killing the X server is a no no. Right now I kill the kde server, which sends the SIGTERM to the X windows manager, which then figures out that it has to shut down.
Questions: Is there a better way of doing this? Apparently openSUSE figures that we have multiple users logging into the gui desktop, so the gui is always kept running and a login window with the desktop manager option forces the user to login in. With autologin, this never happens, but no choice of desktop is possible on the fly.
Can some type of script be set up to painlessly enable this to happen? And what is the best way of bringing either the Gnome or KDE desktop manager down gracefully? I do get lots of error messages as the system attempts to recover and X shuts down. It appears that apparently the single user with autologin is left out in the cold.
View 4 Replies
View Related
Feb 6, 2010
I want to install a software called TinyOS which is an operating system designed for wireless sensor embedded networks in my account. The problem is it has instructions to install the software as an administrator since i'm not an admin of the department network i can not able to install. Is there any method to install this software as an user level rather than admin level.
View 3 Replies
View Related
May 8, 2010
How can I adjust the levels at which the battery is considered to be critically low?ight now it seems this is set at 5 or 10%. I want to make it 20 or 25%This is for Gnome. I am using Lucid x86
View 1 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jan 15, 2010
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.
View 4 Replies
View Related
Jun 11, 2010
Succeeded in connecting to internet using my wll phone. I can now connect using 'wvdial' command in root terminal. But I want to connect through terminal. I tried 'sudo wvdial' command. Then I am asked for my password. But I cannot type my password there. When I type, nothing appears on the terminal window. Ofcourse there's no problem with my keyboard.
View 5 Replies
View Related
Jan 15, 2011
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies
View Related
Jan 6, 2009
I want to know what are the advantages and disadvantages for accessing spi(serial peripheral inerface )from kernel level and user level. like methods of doing it, speed ,memeory utilization etc
View 1 Replies
View Related
Jun 5, 2010
I am ready to reclaim the disk space that is currently being used by XP in my dualboot scenario. Per the Gparted scan below, my hard drive is currently being sequenced as sda1 (NTFS data only, which I mounted in Ubuntu and write my working documents to), sda2 (XP operating system/boot drive). Ubuntu is on sda3, with home on sda4. I'm currently running 9.10.
I would like to eliminate the contents of sda2, and migrate sda1 contents to ext4. Question is, what are the best steps. I have good backups of everything, and sync my NTFS data to a NAS.
My grub.cfg looks as follows (am running 1.97)
Code:
View 5 Replies
View Related
Sep 4, 2010
I've got a win7/ubuntu 10.04 dual boot running on my system. I did the usual of installing 7 first, then ubuntu and using it as the default boot option. I now want to get rid of win 7 and expand the ubuntu installation into the free space. My current hdd structure is in the attachment. If I just boot a live cd and gparted to remove the win 7 partitions and expand the ubuntu installation into the free space, will that work or will it have a massive panic? how to I get grub to silently boot after without offering me any boot options?
View 7 Replies
View Related
Nov 3, 2010
I have several pc's with Lucid and Maverick many of them with onboard 3G modems. They all function excellent. On my Lenovo X301 i have installed Maverick from scratch. After install I have to enter the PIN to my 3G modem at every login or wakeup from hibernation/sleep. I have to enter this even if i have disabled the 3G radio in NetworkManager
In NetworkManager i have entered the correct information for my 3G supplier as well as the PIN for my 3G access. I have not marked automatic start to my 3G connection in NetworkManager I rarely use the 3G as i'm normally connected through WiFi so it is a bit annoying. When i had lucid installed on the same pc i didn't have this problem. How do i turn this PIN entering behavior off?
View 2 Replies
View Related