Ubuntu :: Mount Drive Via Ssh At Boot?

Jun 6, 2010

I want to automatically mount an SSH server on boot. I am able to do this manually by running this script after I reboot

Code:
#!/bin/bash
clear
sshfs -o idmap=user user@server:/ /home/fro1269/sshmount
I have put the script in /etc/networking/if-up.d/

but it does not mount after the network is connected. This is on a laptop that connects via wifi. So my network connection does not start until a few seconds after the desktop loads. I am running 10.04.

View 3 Replies


ADVERTISEMENT

Ubuntu :: How Do I Get Auxiliary Drive To Mount On Each Boot

May 30, 2010

How do I get an auxiliary drive to mount on each boot? All my music files are on a separate hard drive which I have had to manually mount then repopulate the library in Rhythmbox each time I reboot.Along the same lines, how do I get Ubuntu to remember settings in various applications without saving an entire session? For example, the screen capture utility always starts with "capture entire screen" and I have to keep selecting select part of screen to capture.If I must do this by saving the session, how do I do this? I can't find anything on the menus.

View 4 Replies View Related

Ubuntu :: Automatically Mount A Drive On Boot-up?

Sep 15, 2010

I have just installed 10.04 and am enjoying the quick clean boot. I have a dual-boot option as I have come over from XP. Most of my data is still on the old 'c:/' drive and I have to manually mount it every boot-up. Is there any way to automate this process?

View 4 Replies View Related

Ubuntu Networking :: Won't Mount NAS Drive At Boot?

Jan 18, 2011

I am having a small issue on my machine. I have a NAS drive serving up media files. I have a line in my /etc/fstab such that, when the mythbuntu machine boots it is supposed to mount the network drive. This configuration worked fine for mythbuntu 9.10. I recently updated the machine up to 10.10 and since then the network drive won't mount at boot. If I open a terminal and issue: sudo mount -a, it will mount the network drive just fine.

View 1 Replies View Related

Ubuntu :: Cannot Auto Mount 2nd FakeRAID Drive At Boot

Jun 18, 2011

I have a full working Mythbuntu 11.04 on a FakeRAID system (via ICH10R chipset). The OS is sitting on a 250GB partition and working fine. I am trying to get the 7.07TB partition mounted so that I can use it to store all my movies. When I mount it via the [URL] all works fine. When I reboot it cannot mount due to device being not ready or unavailable It appears the superblock goes missing at reboot. I have it formatted to ext4 with a GPT partition table. If I reformat and remount then all works fine again until I reboot.

[Code]...

View 3 Replies View Related

Ubuntu :: Changed Format To Master Boot Record. Can't Mount Drive

Mar 9, 2011

I have a 1TB hard drive which is formatted with FAT32. Attempting to make a new partition I clicked the format drive button in Disc Utility. I chose Master Boot Record and something was written to the drive. So now I can't mount the drive and Disc Utility says that there aren't any partitions. I don't think this can be true because I had 200 GB of data on the drive and it would have taken longer to delete all that. At least I think...

View 7 Replies View Related

General :: Boot From USB And Independently Of Host System Mount Pen Drive

Feb 16, 2010

I've for quite a while been going forward with making my own linux system with a purpose of being USB bootable. A lot of it has been taken from LFS and molded to my needs. The purpose of this is to, most of all, learn. My aim is to have a small linux system, bootable on most systems and able to run burnintest in textmode. This will be run of a vfat formatted pen drive with syslinux. The rootfs is run from a ext2 image file. My current image is bootable and is able to run burnintest, I do however still have some polishing to do.

I began this project by using uClibc and my image would be tiny enough to be run from a single initrd (20mb ~). What I didn't consider is the fact that burnintest is pre compiled using glibc, so had to re-do everything with a different c library.. After doing this I realized i no longer would be able to boot simply from ram as loading ~80mb to ram takes quite a lot of time during boot. I'd really like to keep the rootfs in an image file for easier management and I so far haven't found a way to mount this roofs image.

View 1 Replies View Related

Ubuntu :: Secondary Drive - Cannot Mount / Boot Due To "unsupported Options"

May 5, 2011

I have a server with two hard drives. I just backed up all my data to the secondary drive, formatted the primary one, and installed Ubuntu 11.04 Server on the primary one. The problem is, whenever the secondary hard drive is installed, Ubuntu says that it cannot mount /boot due to "unsupported options". If I physically disconnect the secondary drive, it starts up just fine, without any error messages. Is there any way that I can connect the secondary hard drive without these problems? I don't want to format it as it would destroy the entire backup.

View 4 Replies View Related

Ubuntu Servers :: Mount A USB Drive In Rc.local With /sbin/mount And UUID Instead Of Fstab?

Feb 6, 2010

I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.

I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:

Code:

However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.

From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:

Code:

The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.

Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.

View 3 Replies View Related

Ubuntu :: Unable To Mount Internal Drive - Error: Mount Exited With Exit Code 1: Helper Failed

Aug 5, 2010

I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.

It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.

View 2 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

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.

View 9 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

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

View 2 Replies View Related

Software :: Unable To Mount Windows Drive - Mount Error 92 = Protocol Not Available

Oct 4, 2010

Not able to mount windows drive & foder, in linux. i have got following error.

mount error 92 = Protocol not available

View 10 Replies View Related

Server :: Auto Mount USB Drive To Specified Mount Point After Reboot

Jul 19, 2010

I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.

View 7 Replies View Related

Fedora X86/64bit :: USB Flash Drive Mount - Un-mount ?

Sep 17, 2010

Its annoying to unmount my flash drive twice.. its not a major problem actually but its kinda annoying , its whenever i plug-in my flash drive.. everything works well except when i need to un-mount it.. I usually unmount it twice using right-click of the mouse, then it mounts itself back, so i have to unmount it again.. Is there any way to control this? How do i setup the auto-mount option for USB flash drives?

View 1 Replies View Related

Ubuntu Networking :: Get Network Drive To Mount As A Local Drive?

Aug 2, 2010

I was trying to figure out how to get my network drive to mount as a local drive on my computer. This was back on 9.10. Since I've upgraded to 10.04, my boot process halts and tells me (paraphrasing) /shared is not ready to mount. To continue, pres S to skip or M to manually mount the drive.

Well, I have it mounting now through GVFS and I don't need this in my startup anymore. Frankly, it's just annoying that it won't boot into Ubuntu right away. So, what's the startup file I need to edit to remove the attempt to mount the network drive?

View 1 Replies View Related

Ubuntu :: Add More Space - C Drive Is Mounted And The E Drive Will Not Mount

Jan 19, 2011

I have just installed Xubuntu and suprisingly it did not ask me to create a partition within its installer like Ubuntu does. So now, I am left with 150mb of free space. I want to expand that amount. The problem is, I do not know where it has been installed on. I have a C and an E drive. Currently, the C drive is mounted and the E drive will not mount even if i press the mount button. Does anyone have a solution?

View 8 Replies View Related

General :: Dvd Rom Drive Won't Mount Under FC14 After Installing From Dvdrom Drive?

Jun 12, 2011

no entries exist in the /dev folder for hdc,cdrom,dvd, or any other drive or drive type than hda. The only other similar device is sg0 which doesn't work either. I have tried every variation of mount I can find with every available drive and drive type and nothing works, but this is the drive I installed FC14 with, and it installed perfectly (except for forgetting where it came from!!)Do I have to install a module or recompile the kernel just to get linux to recognize the drive it came from?

View 5 Replies View Related

Ubuntu :: Can't Load A Drive / Volume - "Unable To Mount Location Error Mounting: Mount: /dev/sda1: Can't Read Superblock"

Dec 25, 2010

I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?

View 9 Replies View Related

Debian :: Mount Sshfs At Startup - Get Mount For UserA To Happen On Boot

Mar 18, 2011

I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.

View 4 Replies View Related

Ubuntu Installation :: Forced To Use Flash Drive As Boot Drive

Jun 11, 2011

Back in Febuary, my wife bought a Toshiba Satilite from Wal-Mart and a few days ago the hard drive got toasted. So now I'm using an 8gig usb drive as the boot drive. I also have 2 other flash drives for downloads and such but overall I am very pleased.

I'm running 11.04 32 bit and was wandering if 64 bit made a difference. I've got 4 gigs of ddr3. It's slow to boot, but once it's running, it's faster then Windows 7. Very nice.

Is there anything I should chage, use, since I'm running it off a flash drive??

I have 3 seperat drives, 2 x 16 gigs and an 8 gig, and was wandering which one would be best for booting off of? What do I look for??

Here's what I got:

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Toshiba America Info Systems Device 9602
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)

[Code]....

View 5 Replies View Related

Ubuntu :: Cannot Mount Drive ?

Mar 22, 2010

I've been trying to mount a USB drive, this is what I've done so far

sudo fdisk -l

Code:

Code:

Tried to mount again, same problem.

Tried mounting to mount point:

Code:

I'm not sure what else to try. My other USB drives don't have this problem, in fact, this one has worked fine so far.

I have about 2gb of photos stored on it, so I can't wipe it.

View 9 Replies View Related

Ubuntu :: Can't Mount GPT Drive?

Jun 12, 2010

I'm using Hyper-V and using physical disk pass-through to pass a physical disk to Ubuntu but I'm having problems. Here's my fdisk -l output:

Code:
Disk /dev/sdb: 2199.0 GB, 2199023255552 bytes
256 heads, 63 sectors/track, 266305 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

[Code]...

View 2 Replies View Related

Ubuntu :: Can't Mount D Drive?

Jun 16, 2010

I just reinstalled Ubuntu 10.04 because of problems with windows. I can see both my drives with gparted, but I cannot mount the d drive, I put the Ubuntu install next to windows on the c drive but last time I installed 10.04 I could see my d drive, that is where all my music and .avi files are located. I get an error when trying to mount this drive:

[Code]...

Just found out that after the 10.04 install, my d drive was wiped out, any way of getting those files back? I haven't formatted yet with windows. Windows needs to format it and Ubuntu can't mount it, it is nowhere land.

View 3 Replies View Related

Ubuntu :: Mount Second Drive ?

Feb 8, 2011

"Old" disk was the primary - and only - drive. 500 GB.

I have to move that drive to a new machine off-site, so I'd like to get the 10 or so GB of data from it and put the data on a "new" drive - 80 GB, with an existing maverick installation.

I tried to use Acronis to create an image. That way, the new drive would be a clone of the old drive, other than being much smaller. Acronis wouldn't allow it because of the size difference.

When booting to the "new" sda everything works ... except that maverick "sees" sdb, but won't let me access the data partition sdb2.disk utility "sees" sdb and describes it as having boot partition sdb1, and the other 499 GB , sdb2 (and sdb5) nautilus and dolphin both "see" sda and can access all of the data (such as it is, given that it's a new installation) nautilus and dolphin both "see" sdb, but only access the 255 MB boot partition sdb1 I tried doing a clean install on the "new" drive. In that install I left the old drive in place as a second drive - hoping that the installation would recognize it as a second drive and mount it properly.

However:
1) it didn't do anything with the old drive and

2) the results are the same - no access to the data partition on the "old" drive.

I think the problem is that I need to mount sdb2, but I can't figure out how. Here is the information from fdisk:

Do I enter information in fstab to enable mounting? If so, which information do I use?

Or is there another way to access the 10 GB of data on sdb and get it on to sda?

By the way, in the course of messing with this, I managed to make the "old" drive unbootable, so I can't just reverse the drives' roles. The "old" drive has the boot partition marked as bootable, and I switch drive jumpers (and cable setup)

View 8 Replies View Related

Ubuntu :: Can't Mount External Drive

Apr 6, 2010

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

View 1 Replies View Related

Ubuntu :: How To Mount External Drive?

Jun 15, 2010

How to mount external drive in Lubuntu?

View 3 Replies View Related

Ubuntu :: Mount A Drive In 2 Folders ?

Aug 8, 2010

I mounted a hard drive and its working ok. But I want to expand on it. I'd like to make it accessible via another folder, like make it look like /home/cackles/added as well as simply just /added. Is it just like when you mount the drive and add the line to fstab?

View 2 Replies View Related

Ubuntu :: 10.04 - Unable To Mount 1TB Drive

Aug 22, 2010

Ubuntu 10.04 - it lives on 1TB drive. Then I have another 1TB drive that has 2 partitions. One of the partitions has XP and other is empty awaiting a WIN7 install. Then I also have a 2TB back up drive. All said - on the odd boot I'm unable to mount the other drives.

View 3 Replies View Related

Ubuntu :: Can't Mount 2nd Hard Drive?

Aug 24, 2010

I have got 2 hard drives running one one of my computers which i am running as an server. I was using Ubnntu Server which is good but i have decided to change the way that i am going to use the server and have installed Xubuntu over ubuntu server. However in the installation the hard drives shwn when it asked where i would like to install the operateing system. It installed sucessfully and is working but it cant mount my other hard drive which has all of my data on it.

I had tried mounting it throught the command prompt and had no success. After which i have checked if the the toher hard drive is being reconised by Xubuntu and it is as sdb1 but i caqnt mount it and get to my data. I hoped that i can try and put in my ubuntu live cd and see if it can pick the seoncd hard drive up and mount it which it has not been able to.

I have 2 20 gigabyte hard drives atm the moment and i am not adding the others until i can get to all my stuff again form the other hdd.

View 9 Replies View Related







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