Ubuntu :: Edit Fstab In Recovery Shell?

Apr 21, 2011

I am stuck in recovery shell because I mistyped one line in the fstab file. I know what I did wrong but now I cant edit my fstab anymore. I can only enter recovery shell and thats it.
sudo nano doesent work because it's a read only file / disk.
So any idea is worth trying

View 8 Replies


ADVERTISEMENT

Ubuntu :: Changed Fstab Now Can't Even Boot Into Recovery

Sep 1, 2010

[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.

View 4 Replies View Related

Ubuntu :: Editing Fstab In Recovery Mode

Feb 5, 2011

I have made an entry in fstab that is keeping me from booting. I am able to get into recovery either from entering "M" as it is trying to mount my bad entry or from Grub.

However once in recovery I am unable to save my edits in vi. I have tried several attempts at saving my edits to no avail. What trick will I have to impose in order to clean up my fstab so I can boot successfully.

View 4 Replies View Related

Ubuntu :: Can't Edit Fstab / What To Do?

Jun 23, 2010

I am trying to edit fstab to auto mount a couple of windows shares. I have this but it doesn't work. What am I doing wrong? code...

View 2 Replies View Related

Software :: Cannot Write To /etc/fstab Under File Recovery Mode?

Jul 17, 2009

Because I forgot to bring a portable hard drive, I cannot boot to a linux OS.

The reason is that the /etc/fstab has a line that is

Quote:

And ext3-datadisk is on the portable hard drive.

The booting process stopped when it prompts for a root passwd or Ctl-D to reboot.

I keyed in the root passwd, and a (File Recovery) prompt appeared.

I tried to vi /etc/fstab but I cannot save the edited /etc/fstab.

How can I boot successfully in this case ?

View 3 Replies View Related

Ubuntu :: Read-only Root And Can't Edit Fstab

Apr 19, 2010

I was unable to boot into Ubuntu 9.1 today because the file system is now read only. When I check fstab, it shows "ro" but I can't change it because it's on a read only file system. I tried umounting the root then remounting with read/write access, but I was unable to umount the root. I also tried booting with a live CD, but all I can find is the root.disk file, I can't see any of the file structure. That's probably just how it is supposed to be, but I'm new to Linux so I found it strange. method to either change the disk to read/write besides this?sudo umount /mount -o remount,rw /The other option would be to somehow mount the disk image while using a live CD so that I can get to the fstab file and edit it.

View 9 Replies View Related

Fedora :: Can't Boot - Need To Edit Fstab

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

Ubuntu :: Unable To Edit Either Fstab Or Xorg.conf

Feb 13, 2010

I am running Ubuntu 9.04 on an Acer Aspire laptop and have broken my display system while trying to use the restricted drivers for the nvidia graphics card.

Basically I downloaded and activated the restricted driver. I rebooted and now ubuntu freezes on startup.

I can get access to the command line but am unable to edit either fstab or xorg.conf because ubuntu has mounted the filesystem in read only mode.

I have read and tried all the options given in this posting [URL] but because I cant read or write any of the files I cant seem to affect any change to the system

View 1 Replies View Related

Fedora Hardware :: Edit The Fstab File In Order To Mount The Second Hard Drive And Get Files Off Of It?

Jul 28, 2010

I have a second hard drive with fedora 10 installed on it. My primary drive and os is fedora 12. How do I edit the fstab file in order to mount the second hard drive and get files off of it

View 8 Replies View Related

Ubuntu :: Will Not Finish Booting - Press Esc To Enter Recovery Shell

Jan 22, 2010

I have never in a year had a problem with this d-boot system. Two days ago I tried to boot into ubuntu like every day. It started to load normal, went to the ubuntu logo and paused for about 15 seconds and posted this under the logo:

One or more of the mounts listed in /etc/fstab cannot yet be mounted
/: waiting for /dev/loop0
/tmp: waiting for (null)
/boot: waiting for /host/ubuntu/disks/boot
Press ESC to enter a recovery shell

I have looked everywhere and tried so many things, I can't look any further. All I have been doing for two days is trying to boot this system.

View 8 Replies View Related

General :: Unable To Boot ArchLinux On Macbook Pro 7.1 - Drops To Recovery Shell

Aug 4, 2011

My MBP fails to boot Arch. This is what I did to install ArchLinux. Install rEFIT.

Partition using disk utility such that first one is Mac partition, second is Arch & the third ie the last one is windows.

Then put Windows 7 CD, select it from rEFIT and install it. Similar, install ArchLinux just as I did for windows.

Then finally to install the GRUB, I issued the command $grub-install --root-directory=/mnt/arch - recheck /dev/sda3 (after mounting my /dev/sda3 to /mnt/arch).

This is the exact error and then it drops to recovery:

Error after typing exit:

I have tried rootfstype too. No success.

My menu.lst (I have tried /dev/sda3 too):

View 2 Replies View Related

Fedora :: Edit The Menu In Gnome Shell?

Jul 12, 2011

I just want to be able to remove a couple programs listed in the menu if possible.

View 3 Replies View Related

Programming :: Edit Configuration Files More Than One Server By Shell Script

Feb 7, 2011

how to write shell script(awk/sed or any other) to edit value of parameters in configuration files on same server or remote server.

View 3 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

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

Ubuntu :: Recovery Menu (in Recovery Mode) Does Not Work?

Aug 18, 2010

I've got a, as it seems to me, strange problem.I've inadvertently deleted my user from the group admin so I'm in the same situation of a lot of other users (read a lot of messages about it).My problem is that when restarted in recovery mode there is no way I can choose the 'drop to the root shell' or similar in the menu.The menu appears for a second and then I've got an empty screen. If I press a key I've been requested for a username and password that of course is not what I need.

View 2 Replies View Related

Ubuntu :: Rename The Fstab-BAK To Fstab?

Jan 19, 2010

I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.

View 9 Replies View Related

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

Code:
usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

Software :: Export A Variable To Parent Shell In Shell Scripting?

May 21, 2009

Is there a way to export a variable to parent shell in shell scripting ?

View 3 Replies View Related

Programming :: Shell Scripting / Create A Shell Script Similar To Ls?

Jun 5, 2011

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.

Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....

View 10 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

Programming :: Bash-shell-like Less Functionality In The Python Shell?

Jun 25, 2010

Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?

Example:

Code:

>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...

I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.

View 4 Replies View Related

Fedora :: Edit "Places" Menu Way One Can Edit "Apps" And "System" Menus On Gnome?

Jan 14, 2010

Is it possible to edit the "Places" menu the way one can edit the "Applications" and "System" menus on gnome?

Right-clicking on the bar gives only Applications and System as editable menus. I would like to remove some items from the places menu and add others of my own liking

View 4 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

Debian :: Edit Link Target / Edit The Link Target To Force Ip String At End?

Jun 16, 2011

What I am trying to do is edit the link target to force ip=xxxx.xxx.xxx string at end. I have a software program which access 4 different servers running the software but with different configs. In xp I can copy links and modify as above to correctly force the program to the various servers.

I have read the various how tos on hard vs sym links which I get. Playing around with hardlinks and sysmlinks (the examples I find) does not seem to be what I need. Feel like this is pretty basic stuff but I am a bit stumped.

View 1 Replies View Related

Ubuntu :: Won't Boot When Add Hd To Fstab

Apr 23, 2010

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.

View 2 Replies View Related







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