Ubuntu :: External HD Does Not Mount After Kernel Update
Mar 18, 2010
Ubuntu 9.10 on 2.6.31-20 kernel (updated today), using USB 2.5" enclosure w/ 80GB HD...flash drives mount fine. Drive has power to it via USB (confirmed). command sudo fdisk -l does NOT list the drive. I use this drive for backups, so it's quite important to me.
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`
I'm running Virtualbox from the Sun website (need the USB support) and it breaks after each kernel update.The problem is that I installed a lot of Ubuntu systems for transitioning windows users with Windows in virtualbox to ease the migration but I have to rerun vboxdrv setup after each kernel patch.
At the moment I am using kernel 2.6.31-14-generic. I'm not one of those people who needs to have the latest and greatest kernel to be happy, I just rely on the update manager. I swore that I saw an update for a new kernel, but my kernel version hasn't changed. I'm just curious if there was a new kernel that was released or if that was just an update to the kernel listed above.
9.04 this morning updated my kernel to I believe it is 2.6.28.18 and upon the reboot I had no desktop. It booted wanting to go into low graphics.
So I drop to shell and stop the gdm and try to run the latest nvidia run file I have and it hangs saying I have a x server running.
Otherwise I am needing assistance with getting my desktop back! I can boot into an older kernel and if need be I would like to roll back that latest update this morning, but once again I am forgetting the command line for that.
Ran the updater, went to boot to Win7 to use Photoshop and realized that the grub menu was gone. Ubuntu boots by default now. I tried running "sudo update-grub" at a virtual terminal and while it listed the various linux kernels ok, it then got caught in a loop spitting out some crazy looking errors. I rebooted and Ubuntu came up fine. I tried running "sudo update-grub" again from the gnome terminal and it hangs the whole computer for a few minutes and finally gives me this:
Just bought a new external and usually i would be able to mount things but i cannot log into GDM so im suck doing it in the terminal like thing. so far i have tried:
Code:
sudo fdisk -l /dev/sdb
Code:
sudo mkdir /media/usbdrive sudo mount -t msdos /dev/sdb1 /media/usbdrive
but when i do that is says
Code:
FAT: bogus num of reserved sectors mount: wrong fs type, bad option, bad superblock on /dev/sdb1
I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".
I have the following strange thing with a RHEL4 installation. Since last week, the system did a reboot and now something is really fucked up. During boot we get the following messages (don't care about 'strange' typo's, my colleague typed it 'blind' from the screen)
Code:
The strange thing is that we never see a 'could not mount blabla' or similar messages. First we thought it was a failing kernel update by plesk, but even after manually updating the kernel with RHN RPM's, still the same message. Booting with rescue mode and then chroot the system works. After that we even can start things like plesk and so on.
We double checked things with another RHEL4 install, and at least two things were odd:
1: the working machine has /dev/dm-0 and /dev/dm-1, the broken one doesn't
2: some files on /dev didn't have group root, but 252
We tried to recreate the /dev/dm-X nodes with [vgmknodes -v], output:
Code:
A fdisk /dev/sda shows: /dev/sda2 XX XXX XXXXX Linux LVM (I removed the numbers because this line is from another machine, but rest was identical)
We have a copy of the boot partition so if one need more info please let me know.
grub.conf:
Code:
last part of init extracted from initrd-2.6.9-78.0.8.ELsmp.img:
(after i update packages, it says error, and here's whats in the details tab) Preconfiguring packages ... (Reading database ... 197969 files and directories currently installed.) Preparing to replace flashplugin-installer 10.3.181.34ubuntu0.11.04.1 (using .../flashplugin-installer_10.3.181.34ubuntu0.11.04.1_i386.deb) ... code....
How to fix This? i haven't messed with Ubuntu much...Why am i getting an error about a kernel update?
A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version 2.6.31.12-0.2-desktop were not found.
after update to kernel-2.6.18-164.el5 one of the 2 NIC's of my machine are only found at 1 of 4 reboots. Using the old one kernel-2.6.18-128.7.1.el5 all is fine. This are the to NIC's:
The server runs# uname -r2.6.18-128.4.1.el5However, today I executed yum update kernel*due to security advisory. I was just about to reboot the system when I realized that it runs VMWare Server Instance that will most likely fail to restart after kernel upgrade (I had a hard time fixing it after previous kernel update). Now I want to keep 2.6.18-128.4.1.el5 after reboot.I see that new kernel is scheduled for booting:
Error mounting: mount exited with exit code 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
I get this when I try to mount this drive. I was working just fine and then when I tried to mount again to pull some data off It gave me an error. It is an internal hard sata hard drive hook up via usb with a usb to sata converter. Is there some kind of disk check i can do to find errors. There is data on there I would like to keep
I need a hand with mounting an external hd on boot with ubuntu server. I am aware of modifying the fstab, but that doesn't seem to be working. Here is an output:
Code:
# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name
[code]....
The problem is with the last line. Once booted into the server, I can mount using the following command:
Code:
sudo mount -t ntfs-3g /dev/sdb1 /media/externalHD
I know I can work around it by running a script with the previous command at startup, however I think I am simply doing something wrong. Is there a better way?
I need a hand with mounting an external hd on boot with ubuntu server. I am aware of modifying the fstab, but that doesn't seem to be working. Here is an output:
Code: # /etc/fstab: static file system information. #
I am the owner of a netbook (Namely, the Acer Aspire one.) With Ubuntu 10.10 netbook edition. I also own a External Usb CD drive. My question is, how do I mount it? K3B seems to find it. Sound juicer doesn't. Rhythm-Box doesn't.
I have recently installed Ubuntu 10.10 on my machine as dual boot using WUBI but on a seperate partition to Windows. Loving it so far, but i cannot get any external drives to mount - i've tried pen drives, camera memory cards and hard drives but nothing comes up.
I have just tried restarting with a pen drive plugged in, and it finally showed something in the computer folder - "memory stick drive" is shown (and my internal CD drive, which i'm not sure was there before.), but i still can't access it and when I try to unmount it gives me the message
Error detaching: helper exited with exit code 1: Detaching device /dev/sdc USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory
From F12 to F13. Is there anything I should remove before updating? I have few programs isntalled from source/binary installers in /usr for example. Would it cause problems?
And is there any chance to be able to switch from a 32 bit kernel to 64 bit kernel during the update? The hardware is capable of this.
I am having problems mounting an iso on my external hard drive. I do not want to move it onto my linux partition because it is 3.6 GB. I have a directory made (/media/iso) that I would like to mount it in, but if that doesn't work then I don't care where it goes. After I mount it I want to be able to run it using Wine, but that will come later. For now I just need to get it mounted. And, of course, I am fairly new to linux/ubuntu.
I've been checking the Forums and I can't find anything similar to my problem yet. I have 2 external drives that my UBUNTU 9.10 doesn't recognize, although I can see them perfectly in Win XP.I was using them in Ubuntu until 2 weeks ago, when this problem started and I can't find a way to see/mount them again. GPARTED doesn't find any of them; and when aply fdisk -l, can't see them either (only my internal HD).
I'm having a problem with my external drive under Ubuntu 9.04. After a reboot Ubuntu seems no longer to mount the the 3 seperate partitions on my external drive. I've added some screenshots of my fstab file which i tried just to let Ubuntu mount my drives, without any results!Can someone help me? If more info is requered, please let me know.
I run 10.04 lucid in a laptop with EXT4 as filesystem, and I tried to mount an external hard drive from a Windows that, obviously, uses FAT32. Its the first time I try to mount a hard drive (external) since the upgrade to 10.04. Do I have to download some packages via synaptic? If not, what do I have to do?
Plus, I have run Code: sudo fdisk -l and this is what I get
Just installed my first ever linux distro in my life and sad that i did not come here before. Anyways i have a WD Green 1TB External HDD. I have Ubuntu 10.04 Lucid Lynx Installed and i want it to mount my HDD as soon as my PC starts up.Quick Q: How much time does it take for any USB device to get recognized on ubuntu. Takes me more than 2 minutes compared to a few seconds on my windows i had before (same machine)