Debian :: Mounting An FTP Address To My File System Automatically During Boot?

Apr 7, 2010

I'm having difficulties mounting an FTP address to my file system automatically during boot. After a bit of research I have discovered a package called curlftpfs, I've installed this package using aptitude and I had no errors.

I've successfully mounted an FTP address manually using curlftpfs at the command line and proved to myself that this is working as it should...However, I can't get this to mount automatically and I am receiving the following error during boot when I try and mount it through /etc/fstab...

Error connecting to ftp: Failed to connect to (IP address of server): Network is unreachable

My research indicates this package should be able to do this.

I'm still a learner when it comes to Linux, but could this be because TCP/IP services are not started at the time of mounting the filesystems? I've tried a continuous ping at this computer whilst it is booting and I don't get a response until after /etc/fstab has been processed. If this is the reason, can I start them these processes earlier?

Another option would be to have a script/command run when the computer boots, but prior to MySQL loading. If this is possible, it would also satisfy my problems.

View 4 Replies


ADVERTISEMENT

Debian Installation :: File System For Boot Partition?

Dec 31, 2010

Is there recommended file system for boot partition. Debian default use ext2. Why? Can it be used ext4? I know the difference between ext2 and ext4. But why, currently in Debian, boot partition is ext2 and all others are formated with ext3...

View 3 Replies View Related

Ubuntu :: Mounting USB File System On LUCID?

Jan 13, 2011

I wan to mount a custom hardware's USB file system. I am using Lucid Lynx.When I used the command$ sudo mount -t usbfs none /proc/bus/usbThere was an error as there was no/proc/bus/usbI tried to put it in fstab entry so that /proc/bus/usb will be mounted at boot but no luck.

View 2 Replies View Related

Ubuntu :: Mounting A Read Only File System 10.04?

Jan 28, 2011

I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system"How can I mount the partition so that I can edit it

View 6 Replies View Related

Ubuntu :: Mounting Second Drive Within File System?

Jun 9, 2011

I have two hard drives in my desktop, a 250GB and 500GB.

The first drive has the swap and / the second drive is just sat there having to be mounted before use. I have a half remembered thought that the second drive could be given a mount point within the file system. I have often partitioned drives so that / is septate to /home but not over different phisical drives. I wouldn't want the 500GB to be /home because a large chunk of the 250GB would not normally be used.

What I would like is to have the first drive set 20GB / the rest to /home. Then the 500GB set to /home/data so it would apear within the home directory or even better /home/user/data as I'm the only user of the computer.

View 7 Replies View Related

General :: Mounting NTFS File System ?

Apr 25, 2011

I have Debian Squeeze installed. I have 3 different HDDs, one of them is SATA, the other 2 are IDE, on one of which I have the distro installed.

How do I mount the other 2 partitions? I see them in "Places" but when I click on them I get an error message "Unable to Mount <The name of the volume> Can not get volume.fstype.alternative".

I can see both volumes in /dev/ntfs. I tried doing

Code:

View 14 Replies View Related

CentOS 5 :: Mounting Windows File System?

Jun 2, 2009

I have a dual boot system (CentOS and Windows XP Pro). The computer has 2 disks with the operating systems on sda. My data files are on the 2nd disk (sdb I think). I would like to be able to access the data files on sdb from CentOS. I tried issuing the Linux command:mount -oro -t ntfs /dev/sdb1 /mnt/winbut CentOS tells me that ntfs is not a file system it recognizes. Even if I leave out the -t ntfs I get the same message. Any ideas on how I can get access to the Windows files while in the CentOS boot?. I got the idea for the above mount command from the book: Fedora 10 and Red Hat Enterprise Linux Bible byCristopher Negus.

View 4 Replies View Related

Software :: Mounting 'LogVol00' While Boot The System?

Jun 23, 2011

I reduced my size of "LogVol00" by "lvreduce -L" command. Then i tried to reboot for mounting. But i am getting error as below. please help me in this, i don't have data in "LogVol00". but i don't want to reinstall OS.error i am getting when i boot:

"mount: wrong fs type, bad option, bad Superblock of /dev/mapper/VolGroup00-LogVol00

Missing codepage or helper program, or other error In some casses useful info is found in syslog -try dmesg| tail or so"

View 6 Replies View Related

Ubuntu :: General Error Mounting File System

Apr 13, 2011

I have a dual boot Xp and Ubuntu 10.10.

Recently I was downloading some upgrades in Ubuntu and unfortunately the power to the system got off.

Thereafter on booting it comes to the Grub menu and I'm able to select the OS from the list but if I choose Ubuntu it comes up with a message "General error mounting file system" and the terminal is activated. However, if XP is selected it boots with no issues.

/dev/sda6 is ubuntu installation
/dev/sda7 is swap partition

I went through lot of threads over the net and tried fsck, e2fsck and other variations of that command but at the end all I get the message as

it says sda6 is clean but for sda7 it says :

Superblock invalid trying backup blocks.... Bad magic number in super-block while trying to open /dev/sda7 at the end it suggests "u might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>"

refering some threads here I tried my luck with live CD and the command : sudo e2fsck -C0 -p -f -v /dev/sda7

View 9 Replies View Related

General :: Mounting A Read Only File System Ubuntu 10.04?

Jan 28, 2011

I made a modification to the /etc/fstab using Ubuntu 10.04 and now it wont boot correctly. I can get the cli but when I enter /etc/fstab and make an edit it says" changing permission of /etc/fstab: read only file system" This is what I get when the system boots:

PHP Code:

[code]....

so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error I added notaime option to my fstab by accident so if I choose manual I get to the cli and whenever I attempt to edit the file I get the above error. I used another machine and attempted to mount the drive but I get the same error. I tried

PHP Code:

[code]...

and I get

PHP Code:

[code]....

How can I mount the partition so that I can edit it?

View 2 Replies View Related

Ubuntu Networking :: Mounting File System Accessed By SSH Tunnel?

Apr 23, 2011

I really like being able to mount remote file systems using the Places > Connect to Server ... tool on Ubuntu 10.10 -- it makes transferring files a breeze.

Unfortunately, the only way to access a particular server at work (call it Server A), is by first SSHing into an intermediate (Server B), which is the only one with a public ip.

My process for transferring files from Server A is currently:

myComputer $ ssh serverB
serverB $ ssh serverA
serverA $ scp file to serverB; exit
serverB $ scp file to myComputer

Needless to say, this gets tiring, and multiple transfers are slow.

Is there a way to mount serverA directly on my computer (by tunnelling through serverB in the background)? Failing that, how about using sftp?

View 2 Replies View Related

General :: Mounting An Ext3 File System Destroys Superblocks?

Jun 27, 2010

I have an image of an ext3 file system done with dd. I know that the file system is corrupted but I want to try to recover some files. Whatever I dd it again to the original partition or assign the dd image to a loop device, that's what happens:

- dumpe2fs -h gives me a valid ext3 superblock.

- as I try to mount the device read only, it fails with a bad magic number error.

- executing dumpe2fs -h again gives bad magic number error.

- trying debugfs or fsck with backup superblocks fails the same way.

For me it seems that in spite of mounting the device as read-only, mount command do something wrong with the superblock as before the mount the superblock is correct and it's there.

View 4 Replies View Related

General :: Root File System More Users With Different Access Before Mounting?

May 11, 2011

I need to customize linux kernel root file system for embedded linux system. During compile time, for root file system I am able to create different user/group ex: "gnumuzic/Muzic". But I want to give access to group "Muzic" to some folders like /dev/nexig during compile time.

View 1 Replies View Related

Ubuntu :: Grub Won't Automatically Boot System?

Jan 8, 2010

Grub won't automatically boot my system... the timer is set to 1 second and the default OS is chosen, it just sits there completely without a timer!

View 9 Replies View Related

Ubuntu :: Different IP Address On Dual Boot System

Jan 4, 2010

I have a dual boot: XP and Ubuntu.
When I load XP I have an IP address (shown in ipconfig /all) and www.whatismyip.com of 144.82.192.154
When I load Ubuntu I have an IP address (shown in ifconfig and www.whatismyip.com) of 144.82.193.37
These IP addresses seem to be static since I have an Ethernet connection. I have rebooted several times and get the same addresses in XP and Ubuntu. Why are they different?

View 7 Replies View Related

OpenSUSE Install :: Mounting Or Checking A Partial Ext4 File System?

Sep 3, 2011

If you have a contiguous partial piece of an ext4 file system (assuming it's perfectly clean), starting from the beginning of the partition, is there any way to check it, or to mount it to get the files whose parents, inodes and data are all completely contained inside?

Have (or maybe had) a very large 11TB RAID 6 array, filled with a single large ext4 partition. Something strange happened when a single drive failed and the array ended up failing 13 out of the 11 drives. I had trouble getting the array restarted, and got to the point where I exhausted all of the options I considered completely safe. I considered a few things that may have worked, but mdadm doesn't seem to have a definite "do not change anything" option. So I decided the only way to be absolutely safe would be to clone the disks before proceeding - then I realized how much time that would take and sent the drives off to a recovery service so they could image them and check it out.

Before doing so, I copied the first 2GB from each disk. I XORd the images from the working drives to reconstruct the data chunks that were on the failed disk, manually assembled the chunks, and am very confident that I have 22GB of "correct" data in a single file. The parity and Q syndromes all matched (with RAID 6 you can still check with only 1 missing device). I've learned the fine details of ext4 from [URL], and have looked at lots of raw data from the reconstructed partition, and it all looks good. The recovery company says that they're not finding many inodes, but I found a lot of them, exactly where they're supposed to be. I tried to mount and e2fsk, but both processes seem to be extremely unhappy that the device size doesn't match the size implied by the file system geometry.

I considered hacking the superblock to manually reduce the size, but I figure that wouldn't work because there would then be more group descriptor blocks than it would expect after the superblocks. I might try doing that and compensating by incrementing the "reserve block count" to compensate. Alternatively, if there is some way to make the file appear to be the expected size with nothing but zeroes after the end of the actual data, maybe I could mount it and not get any errors until I cause the kernel to read past the true end of the file.

View 3 Replies View Related

Ubuntu :: Mounting A Device If Don't Know The File System Type (e.g Ext3, NTFS)?

Jan 14, 2011

How do I go about mounting a device if I don't know the file system type (e.g ext3, NTFS)?

View 4 Replies View Related

General :: Ext4 New File System Mounting Compatibility With The Older Ext3 Type?

Sep 7, 2009

How well is the ext4 new file system mounting compatibility with the older ext3 previous Linux installations ? I refer to Ubuntu 9.04 and the new Fedora 11 which have the option to install with the ext4 file format. Will it be better if I install with the older ext3, so that I will be able to mount all other Linux from each other in a multi-boot system ?

View 6 Replies View Related

Debian Configuration :: Double Mounting Cause System Freezing?

Oct 31, 2015

I have been working with Linux for some time now and moved from "crash-dummy fedora" to LinuxMint and now I'm on Debian 8.I ... The system is freezing and the only way to get it out of freeze is to kill tty7, I log into tty2 as root(which can startx) and kill tty7 via pid...

At first I thought it might be that I have 10 virtual NICs on 1 physical NIC, but after removing them it still freezes after a few minutes of running. Now I am wondering if double mounting/bind causes issues,

Example: drive2 is mounted to profile2/MyStuff, but I also "mount -o bind" a folder inside profile2/ MyStuff/.opera to profile2/.opera..

This is what I mean by double mounting. Does double mounting cause freezing ?Because I have not double mounted, and it hasn't froze yet. and to be honest, I am double mounting/binding several config folders like .mozilla etc...Drives are SSDs, and I created a complete other drive with LinuxMint and it froze the same way after mounts.

View 11 Replies View Related

Ubuntu Servers :: Mounting Samba Shares On System Boot/user Login

Jun 28, 2011

I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.

Code:

#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2

View 4 Replies View Related

Server :: Mounting Ext3 File System As Ext2 On Slackware With Custom Build Kernel?

May 16, 2010

I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.

View 2 Replies View Related

Ubuntu :: Setup Ventrilo Server - Load Automatically On System Boot

Jul 19, 2010

I am trying to setup a ventrilo server. I want it to load the server automatically on system boot so it is running at all times. I have downloaded the server files and can manually start it, but I do not know where/how to make it start automatically.

View 1 Replies View Related

Ubuntu :: Unable To Boot The 10.10 - Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 9, 2011

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;

Code:

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:1.13.3.1ubuntu11) 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;

Code:

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!

View 9 Replies View Related

General :: Mounting USB Drive At Boot - Debian

Mar 6, 2011

I need to mount a USB drive at boot up. I tried this entry in fstab:

Code:
LABEL=/Root-FS /Root-FS auto defaults,auto,user 1 0
But that did not do it. If I do a 'mount -a', that works.

This is for an embedded Debian system.

View 1 Replies View Related

Fedora Hardware :: Software RAID1 /boot Volume Doesn't Mount Automatically At System Startup

Feb 7, 2010

My software RAID setup is as follows.

/dev/md0 (made from sda1 and sdb1) RAID1 /boot partition
/dev/md1 (made from sda2, sdb2, and sdc2) RAID5 / partition

Earlier on I had some trouble with my sda drive, it dropped itself from both arrays, screwing up the mirroring of my two raid partitions participating in the /boot partition. I eventually got everything sorted out and back in sync. (I also have grub installed to MBR on both sda and sdb). Things are working fine regarding that, but since then I've had this issue:

During boot up, I'll get an error message that it could not mount my /boot partition (when fstab is set to either /dev/md0 or the UUID). It claims c9ab814c-47ea-492d-a3be-1eaa88d53477 does not exist!

My fstab:

Code:

[mark@mark-box ~]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Jan 20 16:34:41 2010

[code]....

As far as I know, it isn't neccessary for /boot to be mounted always, correct? Although, as I understand, I need to have it mounted whenever making kernel changes correct?

View 2 Replies View Related

Debian :: Mounting .iso Image Versus Extracting Data From .img File?

Feb 28, 2010

I use Lenny, and was trying to mount a .iso image, supposedly a cd imagem.

[code]....

This is what I get from dmesg | tail:

debian:/home/zac/cscd# dmesg | tail
[ 1811.505199] floppy0: disk absent or changed during operation
[ 1811.505207] end_request: I/O error, dev fd0, sector 0

[code]....

I did a little research on the web and it seems that this file is not really a cd image, but simply data in a .img file. What do you think of that?

debian:/home/zac/cscd# file cscd3.iso
cscd3.iso: data

Some people recommend to extract the data via the dd command, but it didn't seem very safe for me to do that!

[URL]

is it possible to extract the data into a directory (instead of a device) using dd? This file is supposed to be a software. I wanted to run it on wine by keeping it mounted on a mount point in my file system. Does it make any sense to try to do this if the file simply isn't a cd image?

View 6 Replies View Related

Ubuntu :: Initramfs Boot Error - Mount: Mounting /dev /root/sys Failed: No Such File Or Directory

Feb 19, 2011

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]

[code]...

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.

View 3 Replies View Related

Debian Configuration :: No Ip Address Given At Boot

Apr 11, 2011

I installed squeeze on virtualbox on arch linux.After squeeze is booted up, ifconfig says no ip address is given to eth0.I tried ifdown/up eth0, then an ip address was properly given.Does anyone have the same problem or know how to solve this?The network of virtualbox is set to bridged adapter.The host os has only eth0, no br0 and wiredly connected to a wifi router which has the dhcpd.

View 4 Replies View Related

Software :: How To Cancel Swap Mounting At Boot In Debian Initrd

Oct 9, 2010

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?

View 9 Replies View Related

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:

[Code]...

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

View 9 Replies View Related







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