Ubuntu :: Boot / Login Into Terminal - Run Fsck With Drives Unmounted
May 9, 2010
I need to be able to login to terminal and I can't seem to find an easy way to do it from the login screen, or elsewhere that I would normally find in an older version of ubuntu. I need to run fsck with drives unmounted
When I remove "safely" my usb pendrive all my hard drives and partitions get unmounted. It's not permanent I just have to close the session and start again but sometimes it's kinda annoying because I'm in the middle of a lot of work and have to close everything... and if I'm working with a file in that drive sometimes I lose it...
How can I see all the physical hard drives on my Ubuntu system — regardless of whether they're mounted — as well as their partition info, sizes, &c.? I have three physical drives, but only one seems to be mounted. I'd like to mount the other ones too, as I have some data on them.
I did a zypper dup upgrade from 11.3 to 11.4 with no errors. My shutdown command has always been halt -h and during shutdown, I would always see verbose info about the drives being umounted, the "term" signal being sent, and the "kill" signal being sent. Since the upgrade, I only see the "term" signal being sent, followed by shutdown. On every boot since the upgrade, the system goes through several hundred lines of file repairing as the file system is not clean after shutdown. For whatever reason, the hard drives are apparently being killed before the umount is complete. I have changed no settings. The problem exists whether I do a shutdown from the KDE menu, or run halt -h as su from a terminal.
I am hosting a few customer servers now, all of which are virtual machines running on a CENTOS 5.x host. Each Centos host has a couple of extra drives. When I formatted them ext3 they automatically had a schedule of a full forced fsck after 6 months. Do I really need to do that check regularly? It results in a fairly large outage since my disks are each 1TB and there are up to three extra drives on each server. I try to reboot these servers every 6 months but this part adds a large amount of time to a routine reboot.
I had issues on my last install , I couldn't boot into it cause I accidentally uninstalled python 2.6 and everything it was attached to. So I reinstalled on a separate hard drive, I can see my other file system from the media folder but the only thing in my home dir is these 2 files 1 read me that says
PHP Code:
THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.
From the graphical desktop, click on:
or
From the command line, run:
And then this file
Access-Your-Private-Data.desktop
But when I click it and try to run it I get this error
I have a dual boot laptop Ubuntu 10.10 + Windows XP. When browsing my Windows C Drive in Ubuntu I decided to create a share to the windows "my documents" folder. The problem is that the windows drive is not automatically mounted at launch of ubuntu and as a result I get the following errors:
Code: Could not find "/media/14F0AD48F0AD30C2/Documents and Settings/Lucas Redding" and a search box is launched (See Attached Image). I have tried to look at the Samba and Nautilus settings but I am unable to find any that automatically mount the windows drive.
I've used it once before but got fed up with the boot asking me everytime I turned my laptop on because I wasn't using it enough. I have Windows 7 on drive C . I want to keep it on drive C. I have several 1.5TB+ drives, and one of them is not being used. I want to dedicate it to Ubuntu, and be able to do a dual boot with my Windows 7 install. Is this possible? If it is, what about when this drive is not connected to my laptop? Will that mess up the boot process?
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
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?
i have the same issue but with a real install, not a vmware.every reboot fsck says that my main partition was not cleanly unmounted and check is forced.during shutdown the ubuntu does not show messages in a clear way but in random places. however, i am able to see the "/ is busy" message 1 second before reboot/off.my distribution is 10.10 upgraded from 9.10, 10.04
I was editing my fsck at etc/fstab/ after removing a hard drive and i think i commented out the wrong drive . now i just get a blank screen on boot. I have the ability to use my ubuntu cd for a recovery console, live desktop, etc.
I have my drives set to run fsck on boot up. This is the default setting for Fedora but if there is a problem it prompts me to run fsck manually. Is there a way to have Fedora just run fsck and fix any errors it finds on boot up?w in Debian distros you can put FSCKFIX=yes in the /etc/default/rcS file to do this. But I can't find the equivalent on Fedora.
I just installed 10.04 from the minimal install cd (twice), and when I boot it up, it runs fsck on the 3 partitions, shows they are clean, and then nothing. I can't even get to recovery mode. I had previously installed 9.10 fine on this computer. I can't even find out what the real problem is, even with the quiet splash disabled. It just stops after successfully running fsck.
Today for strange reason, one of my Ubuntu 64 bit server Linux VM failed to start ? it stopped in the FSCK scan status with the error as attached. few days back I've added new hard disk successfully and format it as sdb5 without problem.
Today I did an update on my Debian 6.0.0 installation, which included a kernel update. I also did an Nvidia driver update, afterward. All well, until upon a third boot up an fsck check was forced (34 mounts). Some odd behavior ensued. At about 19% it exited the check, printed what appeared to be a load of inode numbers with error messages, and "froze" with the caps lock and num lock lights on the keyboard flashing.I did a couple of grub recovery modes, each which advanced a little further, and all is well again. However, it concerned me. Where in var/log do I find the file of that particular fsck activity?
I wanted to know how can I make fsck automatically fix HDD errors when it needs to check HDD during boot up and do not ask user for it . I found some of fsck related scripts in /etc/init/ and /etc/init.d/ but I don't know what to do with them.
I'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login
all is well on my headless Lucid server until a recent apt-get upgrade && shutdown -R now ... it did not come back up? after i moved a screen to the other side of the house, i found fcsk waiting for input during the boot process errors on / ... (I)gnore / (F)ix " ...so i had to attach a keyboard just to push <F> i could change /etc/fstab so it never runs fsck, but this doesn't seem wise. how can i make it <F>ix automatically ? ( or maybe after Xsec )
I have ran into a bit of a problem. my server(10.10) is hosting a website with no problems whatsoever. I decided to install an extra hard drive, and format. i did both, and turned off my server after some more configuration. After a while, I decided that the new hard drive was a little loud for my liking, so I removed it. I had not put any files on it. I rebooted and saw a message that said this:Quote:fsck from util-linux-ng 2.17.2/dev/sda1: clean, 101202/2351104 files, 1516082/9393920 blocksI think that when I turned it off, it was formatting. How do I stop this from halting the boot? I can get by it by pressing the b or a key.
UPDATE: This is a bug: [URL] Evidently the problem is with plymouth because a workaround is to add "rd_NO_PLYMOUTH" to the kernel boot options. I don't get a prompt for my disk encyrption pass phrase---just a flashing cursor---but that's a small price to pay for being able to run fsck when the root filesystem wasn't umounted properly.
I have fully updated f13 (as of today) on a laptop with all ext2 file systems (It has nothing but flash memory.) If it's shut down without unmounting all file systems, it drops to a shell and asks for the root password to run fsck when it's rebooted. Every key press is treated as though it were <enter>, with a response to the effect that the password is incorrect.
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.
Got tired of long waits for fsck on very large partitions.Here's a script to fsck selected partitions every 'N' shutdowns. No more boot delays for fsck (unless something is really wrong
Update1: On my system '/usr/libexec/gam_server' (gamin component used by xfce) prevented /home from being unmounted. I changed Code:
I recently did a fresh install of Ubuntu 10.10 64-bit. After installing the ATI drivers, I had to tweak GRUB to get the nice splash screen back during boot. Then, I installed drivers for my TV Tuner (Hauppauge 2250). The card works fine. However, my boot now goes splash screen to a terminal login for around 10 sec where system messages also show up to the GUI Login screen. I was wondering if there was anyway to return to a normal boot.
I am having a windows 7 64 bit OS in my laptop....,and recently i have installed ubuntu 10.04 in one of the primary partitions.......,and totally there are 3 drives in my laptop now(excluding the one in which ubuntu is installed)
I am interested in accessing the local drives(i.e.,any of the local drives except the "C" drive)in the terminal of the ubuntu.