Ubuntu :: Long Disk-activity-pause On Boot - Between Mounting Root And Mounting Swap?
Jul 14, 2011
Just the last day or so, I've noticed a long pause when I boot my laptop, with lots of disk activity. dmesg says:
Why would there be a 15-second pause (during which the disk is slammed) between mounting root and mounting swap? During this time I see nothing but a blank purple screen, there are no cycling dots or text scroll. Is this normal and I'm just freaking out over nothing because there's no indicator of progress? GRUB default boot options: quiet splash nomodeset video=uvesafb:mode_option=1920x1200-24,mtrr=3,scroll=ywrap vt.handoff=7
When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?
I installed ubuntu 10.04 from the CD (downloaded from ubuntu website), all worked very well. until today that I decided to run the software updater. It installed all the updates correctly, I restarted ok, but i experienced a mini locks, for example when i was with firefox, firefox had mini hangs for about 15 seconds then run normally. Then all OS got unstable, windows showing no thing, for example when i tried to restart using the button, it didnot do anything. Well i reset my computer and BOOM!, im stuck after Grub showing me this:
mount : mounting /dev on /root/dev failed : No such file or directory mount : mounting /sys on /root/sys failed : No such file or directory mount : mounting /proc on /root/proc failed : No such file or directory
I'm able to reproduce this. I installed a fresh 10.4 again, then installed propietary drivers (nvidia), restart, all working flawless here, then updating all packages using the update-manager, restart, here not all working well (same sympthoms) so i decided to restart, then BOOM AGAIN.. I did the process 3 times and, the same, so I think something is BROKEN. So im able to reproduce it but don't know what the hell is causing it.
We have recently added new HP raid controller into our server and configured 2 logical drives on it. First is for Oracle database, second has 1 partition with ext3 filesystem on it. We added an entry into /etc/fstab, so the second LD with the ext3 partition can be mounted on boot time. But the boot process crashes on mounting this filesystem with error message:
Mount failed Device /dev/cciss/c0d1p1 does not exist.
and we are asked to log into rescue console. But when we log in and run mount �a command, the filesystem gets mounted, so it looks like fstab entry is correct, but the device does not exist. How is this possible?
Our root filesystem is on Adaptec raid controllers logical drive. The LD has 2 other partitions, that are mounted on boot time. Mounting these partitions on boot time works without trouble. Adaptec controller nor the HP arent reporting any errors.
How it is possible that on mount time the /dev entries for logical drives on HP raid controller do not exist, but for Adaptec raid controller they do exist? And how to repair this problem?
We are running on RHEL 4 x64, kernel 2.6.9-34.ELsmp x64
After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting / sys/ on root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or dirctory Target filesystem doesn't have /sbin/init. No init found. Try passing init= boot arg
BusyBox v1.13.3 (Ubuntu 1:22.214.171.124ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;
sudo fsck /dev/sdb5
Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory] [mount: mounting /dev /root/sys failed: no such file or directory] [mount: mounting /dev /root/proc failed: no such file or directory]
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
Ubuntu has been complaining about swap not being ready during boot. The swap partition was showing up un-known in gparted. I booted off CD, reformatted it to swap. Error message gone but system monitor > resources shows my swap size to be 86GB (the exact size of my shared NTFS volume). gparted shows the swap partition as not 'swapped on'
I am running Ubuntu 11.04 along side Windows 7 (as well as my factory restore partition) and an NTFS shared partition.
My partition structure in order of location on disc. Screen shot below to help. sda1-2 Windows 7 sda4, extended partition --sda6 Ubuntu --sda7 swap --sda5 NTFS shared partition sda3 Factory restore image
I have the swap partition configured normally in fstab but it doesn't automount when I boot up. Not only that but I can't manually mount it either (ie with 'swapon -a', 'swapon -L /dev/sda7' etc). When I try I get this error -
I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:
Code: $mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp password: (I have no password so I left it blank) Mount error (13): Permission Denied I tried all sorts of passwords we use around the office and none of them worked.
I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?
how to mount a spanned ntfs volume in ubuntu? I have a partition spanned across 5 drives. From the documentation it looks like it should be possible but I cant figure it out. I have ubuntu 9.4 but I will change to what ever version it will work on. The five 1500gb drive below are the ones I want to use. I tried to use ldminfo but I get the below error.
veli@aaaa:~/Desktop/linux-ldm-0.0.8/test$ sudo ./ldminfo /dev/sdb lseek to -698721449472 failed ldm_validate_privheads(): Disk read failed. lseek to -698722399232 failed
It all started when I attempted (and did) reformat my 2nd hdd in the computer. I was able to finally combine all the partitions into one after moving the data to an external drive. But, I could then not write to that drive?
So, I visited the fstab file, and set that drive to be readable by everyone... When I re-booted, now my primary disk will not load the GUI of Ubuntu 9.10, but puts up a screen with a white terminal in the upper left.
Running sudo mount -a tells me that the partition is not being loaded, maybe it's an entire disk or a different partition?
I changed nothing in the file about the primary HDD, so don't know how that came to be... suddenly the HD2 not being writeable is NOT the major problem...
What I have is:
The drive (HD1) is sda2, and that is what is not loading. I copied the contents of fstab, but when I opened firefox from the terminal, it erased it from the clipboard... I'll have to write it down and type it into this thread... any ideas on what the designation should be for sda2?
Recently I had installed "Storage Device Manager", since because my hard drive partitions were not mounted correctly during installation.
I own to hard disk "sda" 120 GB & "sdb" 1000 GB , since during boot time i had mounted the "sda" having 3 partitions of windows on locations "/partion_name 1, 2, & 3" at root, and "sdb" was not mounted during instalation.
After installation I had added "sdb" with my system and was working fine.
But "sba" was mounted at "/partion_name 1, 2, & 3", But I wanted to change this type of partion what "sdb" i.e it should prompt me for the password when I use to mount it, So I tried to change the mount type for the "sba" But wasn't able to do this beacause of error "Disk is been used by other process".
Now what i require is to mount "sda" partitions such as It may prompt for password when I try to mount and in "sdb1" having partions "sdb10" to be mounted automatically during boot time and the rest partions have to be prompted for password when I try to mount it.Is it possible..?
*Please suggest me the whole procedure in manual manner(Command line) for the same *Also using "Storage Device Manager" *if I remove "Storage Device Manager" in future thus it effct my system partitions *If I mount the partition in "/media/partion_name" thus it will solve my problem.
I have an annoying problem with the Gnome disk utility. Whenever I want to mount a file system it is mounted as a removable disk in /media. For instance if I want to mount a raid array /dev/md0 to a mountpoint /music it is mounted as /media/music. That's not how I want it, I want it to be mounted to the desired mountpoint which is located directly on the root.
The mainboard is a Gigabyte GA-MA790FXT-UD5P [URL].
Problem #1: Approx. four out of five times my dvd-rw is not available to the system. If I wish to burn a cdrom, the computer has to be restarted three or four times before the dvd-rw is available. But then it always works without a flaw.
Problem #2: This morning after booting, the system started and displayed a message: "Disk sdf is not ready for mounting, press S to skip or M to fix the problem" I pressed M and edited /etc/fstab, then continued to start-up. Then I started Disk Utility. The harddisk sdf is clearly visible: it's a Samsung HD642JJ and according to three different Smart tests the disk is healthy. But the harddisk is completely absent in the rest of the system. The blkid command does not report sdf, and 'fdisk -l' does not print anything about sdf.
As far as I have been able to test the hardware is healthy. All connections are in good condition, there are no loose connectors. So after thinking about these problems I have a suspicion towards hald and/or the enumerator. I have attached the dmesg output.
I'm having a problem mounting a vfat partition using fstab... If I don't use fstab and mount it manually, everything works fine. But if I add a line to fstab, it will mount, but will have root permission only - so I can't write to it. can mount another partition (ext4) through fstab and everything works fine. Just not sure why there's a problem with the vfat partion. Also, if after mounting it through fstab I try to unmount it, it gives an error saying only root can unmonut it.
I booted my laptop from the FC 13 Live CD.I'd like to mount the local disk while booted from the Live CD.In older versions of Linux, this used to be as simple as "mount /dev/sda2 /mnt/whatever".But, no longer Progress. When I do "fdisk -l /dev/sda", while booted from the FC13 Live CD, the /dev/sda2 partition shows up as "Linux LVM". My question: how can I mount the partition containing home directories from the "Linux LVM" partition?
I have Linux Mint (LMDE) on another partition and I guess I need to do some 'fixing' so I need to mount the partition. I can't, though, not by just clicking the partition (obviously?). I assume this is because I need root access to mount it.
how I can do this?:
1) CLI - mount via CLI by mounting at some point - for e.g., mine is /dev/sda3 so mount as ?
2) Use an 'editor' or file manager - such as Dolphin - how would I do this?
3) Use a Live CD/DVD - I think this way is unnecessary but it's a way, right?
Anything I missed? I guess gparted could mount it?
Which method would you use?
I think one could ssh into it but I'm not able to do that yet.
I need to exit the xorg.conf file which is recently really messed up.
I'm trying to build a custom setup that requires a flash drive and a CD to both be mounted to root. Applications, boot data, and other static directories are on the CD, while /home, /opt, and /tmp are on the flash drive. Is there a special option I can enter into fstab to allow this? If not, I intend to modify my kernel to allow this, but I'll need to find the sources that control this function.
I am trying to give another user the ability to mount any hard disk by using either the Places menu or the Palimpsest disk utility. Currently whenever you try to do either of these, it immediately asks for root password, even though the logged in user has sudo priveliges to mount disks.
I have modified the sudoers file and given them access to STORAGE and other needed commands. The account CAN mount using the mount command in terminal, but I want to allow them GUI use. From my reseach it looks like Fedora is using DeviceKit but I'm not too familiar with how it works. What do I need to allow non-root users to mount disks in the GUI?
I have recently experienced a problem that occurred after an automatic update. After the update it said restart system. So I did and proceeded as normal. when after the reboot Firefox suddenly stopped working, crashed and upon clicking it again only a blank box appeared. Then my other apps followed and i soon couldn't do anything so i shut down my computer. Upon restart I got a black screen with tons of text and something around the lines of
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting / sys/ on root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or dirctory
So I rebooted and pressed shift to open that grub thing and booted from an earlier kernel. This time it said checking HD for errors and after booted normally. Everything seemed fine but next day it did it again. Starting with Firefox crashing and then everything else. I again booted from a previous kernel and it worked but upon checking with uname -a it did not list the kernel i chose to boot from. So I decided to upgrade 10.04 to 10.10. This upgraded my kernel and deleted the old ones so i am hoping i am good now.
I'm trying to mount some CIFS shares (NetApp) to my Ubuntu 11.04 desktop (64-bit).I am mounting it as a domain user with admin rights and full control over the share.ter mounting it as root, all the files are owned by root and I can't modify them from my non-root user.Here is how I am mounting the share:
mount -t cifs -o domain=example,username=example-user,password=mypassword //myfiler.example.com/myshare$/mydir /mnt/myshare/
This share is a qtree under a volume with security type set to NTFS. (Although I have also tried security type = Mixed) We don't configure user-level access to shares on the filer, we create directories and lay down permissions on those from the Windows side. (Although I have tried explicitly adding my domain user to the access list for the share)
My DVD drive start working bad recently in KDE 4.4.3 - openSUSE Forums , but this is another very annoying thing happening in my openSUSE box. I have several flash drives, from several sizes and all have the same problem: When I plug them, the drive simply takes a LOT of time mounting and showing the data, but really, a LOT, and meanwhile the flash light blinks the desktop environment its FREEZE, until it shows the mounted drive. Some output from a recently plug that takes again a lot of time:
[ 4685.082027] usb 1-6: new high speed USB device using ehci_hcd and address 5 [ 4685.579461] usb 1-6: New USB device found, idVendor=0325, idProduct=ac02 [ 4685.579480] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is there a way to examine this image without writing it to a physical card? Like trying to mount the partitions separately or checking the tables?
Gnome version 2.28.1 with kernel 2.6.31-14 on an Ubuntu 9.10 Karmic box.I'm wondering how usb drives, etc get automounted in gnome now days. Thought it might be fusermount, but no.Gnome-mount is not installed. Perhaps it is via AL or udev, but what commands control it? I've found posts that talk about using gnome-mount, but these are outdated as this package isn't even installed by default anymore.I would like to unmount certain volumes via the command line, but without having root privileges as gnome is doing by clicking in nautilus. I would like to do the equivalent from the command line.
Are there any command lines commands that will allow me to do this (not talking about pmount which is not installed)?Also, is there a way to prevent automounting of just certain devices, but not all? I have a USB with 7 different things on it (a "built-in" CD for some reason for windoz users, the original NTFS, and 5 linux partitions). I really only want one of the linux partitions (an XFS for DVD isos) to automount but not all the others. I would like not to have to disable ALL automounting as in: Code: