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
ADVERTISEMENT
Jan 31, 2010
The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?
View 5 Replies
View Related
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
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
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
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
Feb 2, 2010
I have active directory users. User can log on with username/password from active directory in ubuntu. Users have their directory on Windows file server. They have read and execute rights on file on windows file server with same username and password from active directory(192.168.2.1/file/username for each user). I want that user's directory on windows file server mount to /home/username/disk on logon for each user, which logon in ubuntu.
View 1 Replies
View Related
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
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
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
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
View Related
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
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
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
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
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
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
May 28, 2009
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?
View 11 Replies
View Related
Dec 22, 2009
CentOS 5.3 has been running fairly good except for a slow ethernet connection so I thought I would upgrade to CentOS 5.4 to see if that improved things. I had previously changed fstab and menu.lst to use UUID instead of LABEL in order to insulate myself from partition label changes I wanted to make. This worked fine in CentOS 5.3. When I attempted to upgrade from 5.3 to 5.4 using the installation disk and telling it to upgrade rather than do a new install, the installation correctly found my root partition as /dev/sdb8. When I proceeded with the upgrade I received the error:
"Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. No such file or directory. This most likely means the partition has not been formatted."
But of course it has been formatted and is my / partition running CentOS 5.3 as I type. how to fix this to get CentOS 5.3 upgraded ? Di I have to use LABEL in fstab and menu.lst for my partitions,or perhaps just for my root partition ? Any other ideas why this is failing ?
View 1 Replies
View Related
Sep 29, 2010
In the boot process of Linux we have the initrd that is a root file system and is mounted before the real root file system become ready to mount. What is the procedure of mounting? What should happen so we can say that file system is mounted? And another little question why we say ¨root¨ file system instead of just file system?
View 2 Replies
View Related
Jan 28, 2011
Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?
View 4 Replies
View Related
Dec 16, 2009
my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
View 7 Replies
View Related
Aug 27, 2010
an idea what might be wrong with fs 0x06 FAT16? I have a mobile, Sony Ericsson K750i, which was mounted in previous distributions without problems (up to 11.1). Now I use 11.2 and I am unable to mount it. I tried to do it via yast, but it says "non-existing or uknokwn file system" even it was recognized as 0x06 FAT16. I read that this fs is outdated, however still supported.
View 5 Replies
View Related
Apr 2, 2010
I'm having problems mounting an Edirol R-09HR digital audio recorder (as a USB drive, to read the recording files) on a system running openSUSE 11.2. fdisk or other partitioning tools recognize the device as a "W95 FAT32" drive with a filesystem code of 0b, apparently. I was under the impression that mounting this as a vfat file system should work, but the mount command dies complaining "FAT: bogus number of reserved sectors" and "VFS: Can't find a valid FAT file system." This happens even with a freshly formatted card in the recorder. The device mounts properly with Windows XP systems and late-model Ubuntu/Kubuntu systems, Any clews as to what I'm doing wrong here?
View 1 Replies
View Related
Nov 12, 2010
I'm trying to mount a Windows Server share from Centos 5.5 (kernel 2.6.18-194.26.1.el5). I've tried two approaches neither of which work.
1). Using Places->Connect To Server. This approach works fine on Ubuntu but not at all for Centos. Using the 'Windows Share' Service type, it allows me to see the remote directory - I can see all of the directories on the server. But as soon as I click one, I get an error 'Couldn't find "smb://blah/blah". Please check the spelling and try again. As I say, this worked fine on ubuntu. Tried loads of options but with no luck. I saw something on the web about leading slashes being a problem.
2). Using Mount . Tried to use mount to mount as a cifs filesystem, as documented on a number of web pages:
mount -t cifs //server/dir -o username=username,password=password /mnt/tmp
This completely hangs the machine.I means completely, no mouse, no nothing. I've seen some references to unstable cifs on the web but I believe that this kernel has the fix for this.
View 5 Replies
View Related
Jan 26, 2010
Does Linux have any patch management software/solution which can distribute the patches to linux and windows clients
OR
is it possible that we can deploy the patches from Linux to windows machines
View 1 Replies
View Related
Aug 28, 2009
I just loaded 5.3 from the CD's. How do I enable XFS file system support.
View 10 Replies
View Related
Oct 11, 2009
I fouled up the file system when removing a drive. How do I fix it, or do I need to re-install?
The system boots to the point in the GUI where it checks the file system. It then suggests that I run fsck without the - a and -p options, and the drops to a sheel.
I enter the root pwd and then it says: "(Repair fileystem ) 1#" What do I do from there?
View 3 Replies
View Related
Jun 19, 2010
Where can i find detailed procedure for centos system shutdown/halt, I wanted look on what parameters centos uses or sends at the time when it lays down file system.
View 3 Replies
View Related
May 21, 2010
I am trying to configure a system to boot Windows XP, CentOS 4 and RHEL5. I have one hard drive that contains both Windows XP and CentOS 4, and a separate drive that contains RHEL5. Until recently, I only had one SATA cable, so I could only connect one drive at a time. Under this configuration, everything works fine. When the RHEL5 drive is connected, I can boot into it. When the Windows/CentOS drive is connected, I can dual-boot into either OS. (GRUB was configured on this drive automatically when I installed CentOS into a new partition.)
Opening the box and moving the SATA cable is a lot of trouble, so I finally got a second SATA cable and enabled both SATA0 and SATA1 in the BIOS. I currently have the Windows/Centos drive as the primary, and I can still boot into both Windows/Centos. Now, I want to add RHEL5 to menu, but I can't find the file GRUB is using to present its menu at startup.
I have configured GRUB before on other systems, but I just know the very basics, such as where the grub.conf file should be. So, I spent a whole day reading advice online and asking friends who might have experience with these issues. Here are the steps I have taken so far:
I confirmed there is no /boot/grub directory, and /etc/grub.conf is a broken soft-link to /boot/grub/grub.conf. I did a find for grub.conf, which found nothing. I did a find for menu.lst, which found one item -- an example GRUB config file in /usr/share/doc/grub-0.95. I noticed that when CentOS boots, I see the GRUB commands printed to the screen, the first of which is:
root (hd0,2)
So, I did a grep -R "(hd0" * at the / directory, which also found only one item -- the example menu.lst file in /usr/share/doc/grub-0.95. I discovered that I can go to the command line grub from the grub menu and do:
cat (hd0,2)/grub/grub.conf
The cat command returns a printout of the grub configuration the system is obviously using. I didn't create this file, but the titles are identical to what I see in the GRUB menu, the default boot is Windows, and the timeout is very short. This must be the file. It looks like:
default=2
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-89.ELsmp)
[Code].....
I've also tried making the RHEL5 drive the primary drive. In that case, I can modify the existing /boot/grub/grub.conf file and see my changes at the GRUB boot menu. However, I can't get Windows to boot in this configuration. I've done a lot of google searching on the topic and added map commands to make Windows think it is on the primary drive. But, I'm still unsuccessful on this front as well. I think I'm closer to solving the problem with Windows/CentOS as the primary. However, if you think I will have more success with RHEL5 as the primary drive, I can provide more details as to my current grub.conf on that drive in a later post.
View 6 Replies
View Related