Debian :: Mounting External HFS Firewire HDD From Command Line?
May 28, 2011
has anyone successfully mounted and external HFS firewire HDD from command line? I installed all the HFS tools but I haven't been able to mount it. It is not even recognized by fdisk. GNOME seems to mount it without an issue but in my case it is a server and I don't want to have GNOME eating up my scarce resources.
But how do I mount the sdc drive with those options from the command-line without restarting? I've tried to do so with 'mount' utility, but had no luck.
I just installed a new clean copy of Ubuntu 11.04 onto a Dell XPS M1710 laptop. I believe it has a generic Texas Instruments Firewire controller. Plugging in a standard Firewire disk does nothing. If I boot with the device and run �dmesg|grep firewire�, I get:
Code:
[ 1.327138] firewire_ohci 0000:03:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 1.388103] firewire_ohci: Added fw-ohci device 0000:03:01.0, OHCI v1.10, 4 IR + 4 IT contexts, quirks 0x1 [ 1.888144] firewire_core: created device fw0: GUID 354fc0001a369961, S400
[code]...
How can I install the necessary modules to make this work?
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
[Code]....
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
I just installed Debian Squeeze onto my desktop and when i try to access it I get a dialog displaying:Error mounting: mount exited with exit code 1: helper failed with:Error opening '/dev/sdb1': Permission deniedFailed to mount '/dev/sdb1': Permission deniedPlease check '/dev/sdb1' and the ntfs-3g binary permissions,and the mounting user ID. More explanation is provided at[URL]
I have a Maxtor external storage HDD with firewire (1394) interface.
When I connected it with my computer, which is running an up-to-date Debian squeeze, it was recognized as "/dev/sda1" and replaced the existing partition on the computer.
This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.
Code: /dev/sdc1 unexpected inconsistency. fsck died with exit status 4 failed (code 4) Control-D to continue
I found the following on the net Code: If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?
Here is my fstab: Code: [sudo] password for siawacsh: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/sdd /home/siawacsh/cowon vfat defaults /dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3 /dev/sdb2 / ext3 errors=remount-ro 0 1 /dev/sdb1 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 siawacsh@debian:~$ Remember sdc1 is the external drive, and sdd the music player.
I have attached the removable drives to directories mhyome and cowon.
My external hard drive (about 2 years old) won't mount. It wouldn't mount on Windows either. Other external hard drives (sdb1) mount perfectly.
I am wondering is there a Linux way of getting the hard drive to work again? The disc spins up so it's not a mechanical failure. I'm guessing here but is there a way of flashing firmware onto the external HD if that might be the problem?
(Seagate 2TB ST320005EXD101-RK)
Code: Select all# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation
I recently picked up an external HD which I partitioned, formatted and can mount just fine under Debian. When I plug in the device, I can see an appropriate sda1 entry for my partition in /dev. However, when I attempt to use the device in Gentoo (the system I bought the drive to back up) it seems to not be recognized. I still get some new entries under /dev when I plug it in, but no specific partition number is recognized. On Debian (where it works) here is the output of dmesg after plugging in the device:
Code: [ 9179.847274] usb-storage: device found at 8 [ 9179.847277] usb-storage: waiting for device to settle before scanning [ 9179.848514] usb 5-5: New USB device found, idVendor=059b, idProduct=0070 [ 9179.848520] usb 5-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9179.848523] usb 5-5: Product: eGo USB [ 9179.848526] usb 5-5: Manufacturer: Iomega [ 9179.848528] usb 5-5: SerialNumber: 090000000000D517 [ 9184.844890] usb-storage: device scan complete .....
I have to admit that I'm kind of baffled by what is going on here. It would seem that in Debian the drive is initially treated as a cdrom device and then my partition is seen, but the same is not occurring in Gentoo. How I can make the sr0 device work in Gentoo? Am I missing a module?
Is there a terminal command or application to browse attached firewire devices in the likes of lspci and lsusb? I'd like to view elementary device information such as the ID, manufacturer, and the like.
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I have been trying to install a command line Debian Squeeze system on n Eee PC 701., but have run into a number of problems:
1) All install info I can find assumes that the person wants to install a GUI system of some sort. 2) The Eee PC has a unique 2 MB. partition that needs to be preserved, so no guided install. 3) The Eee PC has an SSD instead of an HD. Most postings I have seen recommend an install without a swap partition, but the install (both live and text) seems to choke and despite a fresh formatting of the existing partition, claims to be overwriting existing files. 4) I can understand from the wiki that the Eee PC wireless driver (Atheros) should be included in Squeeze, but when the wireless connection and password is added, the installer claims that the password is not correct, despite me having checked it a number of times.
I hope someone can help me out. I just want to use the Eee PC for low resource stuff done on the cli like using a text based web browser to access the net through a wireless router and to hook it up to an external USB HD and to my stereo, to play my music collection.
direct me to a good beginner's guide to Debian? Or explain some things briefly. Where can I learn how to use the Terminal Command Line? How do you add programs to Debian and what all is supported? What are packages in Debian and what can they do? Installing programs is different as expected. I tried installing Firefox, I downloaded it and extracted it into my home directory. I can run it with the Terminal Command: ~/firefox/firefox [When in the home directory] and it works. Is that how it is intended to work? Just random thing there. I guess in a sense, I just really want to learn about every aspect of Debian Linux in a user-friendly type environment.
how to download or upload files to a Debian machine using only the command line. I well aware of how to do it in GNOME, but seeing as how this is for a web server, I won't be using GNOME. I have a zip file on my personal machine that contains the website files that need to go on the Debian machine that is to be the web server, but I have no how to get it to that Debian machine without GNOME.
I tried to install Vlc using the terminal (terminal as root). I've used the command aptitude install vlc. Instead of installing only vlc, my gnome desktop environment was removed, gdm was removed, many more programs was removed! What's the command for installing just a single program using the command line? I was used under Ubuntu to use the command sudo apt-get install [***]
I'm using Debian 6.0.0 (Squeeze), I have other 2 PCs with Windows (XP, WIN7) and all PCs are in a network with a DCHP (an ASDL Router).From Debian PC if I open the "File Browser" -> "Network"I can see all Windows computers by name (so samba can resolve the NetBIOS name), but I can not recover the IP
I wanted to be able to have a boot option to just use a command line with no X running at all. What I did was remove the gdm3 link in rc5.d . Then in /boot/grub/grug.cfg I made a new menuentry that is exactly the same as the default but I changed this line:
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro quiet to this line: linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro 5
This worked. It gave me a command line interface with no X running.
My question is is this the recommended way in Debian? If not what is?
I have been using Linux for a very long time but I used mostly Slackware. I tried Redhat for awhile but really hated bluecruve, shows how long I have been using Linux. I have played with other distros but I always went back to Slack. But I really dislike KDE4 so Slack is no longer an option. KDE4 reminds me of a 12 year old girl that got a big box of makeup and had to use every bit of it. I now am using Debian on my laptop. And as aside I gave my 16 year old daughter a laptop for her birthday. She used the included version of windows 7 for awhile but then asked me what would be a good Linux distro for her. I showed her distrowatch and told her to look at the top distros. She then asked me to help her put on Debian. She loves it. She is a very good musician and song righter, She actually gets paid for doing that at 16, and really likes the programs in Linux to work with sound files. She also does MIDI stuff with our Yamaha Clavinova.
Now we are trying to do things the Debian way and it is a little different then other distros. So did I do the command line thing they way it's recommended in Debian. I have looked on line but all I could find was working in a shell and that is not what I was looking for.
Is there an easy to use program that I can use to send mail from the command line? I want to be able to create a batch script to send mail from different text files. What I'm looking for is something like: mailapp mailserveraddress destinationmailaddress mymailaddress filetosend
I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.
My preferred terminal is terminator, but it doesn't really matter at this point.
is there a way to deactivate Caps Lock via command line? I mean: no matter whether Caps Lock is either active or not, issuing such a command would deactivate it. I'm not talking about disabling the key.
I use Huawei EC1260 modem for mobile broadband connection. What are the command line shell based ppp dialing applications available apart from wvdial? insight how to use pppd/chat directly.Actually wvdial is working on debian very well with this modem. But I need to use it on an arm le based system, where wvdial does not work properly because of setcontext(), getcontext() dependency on arm platforms.
By (first step) doing: pcmanfm --set-wallpaper /point-to-new-wallpaper, it change the configuration to the new wallpaper, then, my question is: What is the most correct way to "refresh the desktop screen" (by command line) so that the new wallpaper is then displayed.
And by (second step) doing: lxsession-logout, and choosing 'Logout', the new wallpaper is displayed after the new login. No problem here. Is there a (most correct) way to completely change the picture and activate it by command line (without user intervention)?
I'm trying to automate two command lines, a synclient and a syndaemon. They both work well if I type them manually in a terminal, but if I do a littre script to do this, tap to click and scrolling don't work anymore.
This is the script I wrote: Code: Select all#!/bin/bash synclient VertEdgeScroll=1 syndaemon -d -t -K exit 0
So I made a chmod +x on the file, placed it in ~/bin then change PATH to include the directory. Then I added this file in "Startup applications".
The scripts run ok, mais it has a different effect than if I run the commands manually.
I have Debian 6 installed on my netbook which I tend to spend more time at a command prompt then gnome so I would like it to boot to the command line with the same services as the default with the option to "startx"
I wanted to install Debian 8.0 on my second hdd in my UEFI machine, but when I choose UEFI boot from USB, GRUB command line appears, and I cannot boot up the setup. I used Rufus to create the bootable USB stick, using the amd64 kde CD image. I tried several images and I deleted the Linux and Efi partitions from previous installation of Ubuntu . Also I deleted GRUB from the Windows 7 Efi partition.
In the UEFI setup fast boot and secure boot are disabled, and I don't seem to have the option to boot in legacy mode, if I choose the simple USB boot option (without "UEFI" in front) I get "please insert correct boot media, and press any key or reboot". I couldn't manually boot from GRUB command line, because it is showing that all the drives are empty, and if I type "boot" I get "please load the kernel first".