LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2007, 09:12 PM   #16
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130

Try nano instead of gedit

after editing your file:
Save file: ctrl+o
quit nano: ctrl+x
 
Old 03-07-2007, 09:20 PM   #17
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
Ok, Ive added those url's to the file, and now I use Apt-get right? do I do this in a different terminal?
 
Old 03-07-2007, 09:26 PM   #18
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Same terminal is OK.
Make sure nano is closed before you proceed with the rest.
Btw, you need to be root to do the apt-get install.

When ntfs-3g is installed, you'll still have to do the mount thing I already pointed out.
 
Old 03-07-2007, 09:39 PM   #19
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
Alright, so I did apt-get install ntfs-3g succesfully. Whats next? I dont know where you pointed out the mount thing.
 
Old 03-07-2007, 09:52 PM   #20
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
first you should check whether it's not mounted yet; Ubuntu may do that automatically; no need to mount anything that is already mounted. Have a look in /mnt/windows.

You may also have to log out now so that the ntfs-3g can be loaded first. To find out whether it's loaded, type:

lsmod

and check whether you see any reference to ntfs-3g; if you do, you're OK.

if there isn't a /mnt/windows yet, you need to create it.

mkdir /mnt/windows

Next step is mounting the partition:

mount -t ntfs-3g /dev/sda5 /mnt/windows

Have a look in /mnt/windows; if you still can't see anything, we'll have to come up with something different.

Btw, it's getting very late here so unless you post back quick I may not be able to take this up again before tomorrow.
 
Old 03-07-2007, 10:01 PM   #21
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
Module Size Used by
binfmt_misc 16012 1
rfcomm 51360 0
l2cap 31744 5 rfcomm
bluetooth 64644 4 rfcomm,l2cap
powernow_k8 16576 0
cpufreq_userspace 6560 0
cpufreq_stats 9312 0
freq_table 7104 2 powernow_k8,cpufreq_stats
cpufreq_powersave 3456 0
cpufreq_ondemand 10928 1
cpufreq_conservative 11272 0
video 22920 0
tc1100_wmi 10632 0
sony_acpi 7704 0
sbs 20928 0
pcc_acpi 19968 0
i2c_ec 7808 1 sbs
hotkey 14536 0
dev_acpi 17540 0
container 6656 0
button 9888 0
battery 14088 0
asus_acpi 21924 0
ac 8328 0
ipv6 334432 10
fuse 55056 0
sbp2 29448 0
lp 16584 0
af_packet 29452 2
snd_emu10k1_synth 11008 0
snd_emux_synth 50176 1 snd_emu10k1_synth
snd_seq_virmidi 10624 1 snd_emux_synth
snd_seq_midi_emul 10112 1 snd_emux_synth
snd_seq_dummy 6020 0
snd_seq_oss 45824 0
snd_seq_midi 12160 0
snd_seq_midi_event 11520 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
tsdev 11136 0
snd_seq 77344 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi _event
snd_emu10k1 152480 3 snd_emu10k1_synth
snd_rawmidi 34432 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec 127064 1 snd_emu10k1
snd_ac97_bus 4352 1 snd_ac97_codec
snd_pcm_oss 57344 0
snd_mixer_oss 22784 1 snd_pcm_oss
joydev 14208 0
snd_pcm 108168 4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device 12180 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawm idi
snd_timer 31112 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 13200 2 snd_emu10k1,snd_pcm
snd_util_mem 7552 2 snd_emux_synth,snd_emu10k1
snd_hwdep 14088 2 snd_emux_synth,snd_emu10k1
snd 79016 16 snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_os s,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
usbhid 51360 0
sg 44584 0
emu10k1_gp 6016 0
gameport 21008 2 emu10k1_gp
soundcore 14112 1 snd
irtty_sir 12032 0
sir_dev 21896 1 irtty_sir
i2c_nforce2 9984 0
psmouse 51088 0
serio_raw 10244 0
pcspkr 5248 0
i2c_core 29312 2 i2c_ec,i2c_nforce2
irda 253548 2 irtty_sir,sir_dev
crc_ccitt 3712 1 irda
parport_pc 43560 1
parport 49932 2 lp,parport_pc
shpchp 49068 0
pci_hotplug 38912 1 shpchp
evdev 14592 3
ext3 164624 1
jbd 74024 1 ext3
ohci1394 40776 0
ieee1394 387704 2 sbp2,ohci1394
forcedeth 37644 0
ehci_hcd 40456 0
ohci_hcd 25988 0
usbcore 167840 4 usbhid,ehci_hcd,ohci_hcd
ide_generic 2944 0
ide_cd 39584 0
cdrom 43816 1 ide_cd
ide_disk 21248 3
generic 7940 0
amd74xx 17712 0 [permanent]
sd_mod 25728 0
sata_nv 13572 0
libata 88984 1 sata_nv
scsi_mod 181424 4 sbp2,sg,sd_mod,libata
thermal 19472 0
processor 38280 2 powernow_k8,thermal
fan 7432 0
vesafb 11048 0
capability 7304 0
commoncap 10752 1 capability
vga16fb 16656 1
cfbcopyarea 5376 2 vesafb,vga16fb
vgastate 10368 1 vga16fb
cfbimgblt 4352 2 vesafb,vga16fb
cfbfillrect 6272 2 vesafb,vga16fb
fbcon 45824 72
tileblit 4736 1 fbcon
font 10240 1 fbcon
bitblit 8064 1 fbcon
softcursor 3968 1 bitblit
ian@pR0BATR0N:~$ mount -t ntfs-3g /dev/sda5 /mnt/windows
mount: only root can do that
ian@pR0BATR0N:~$ sudo mount -t ntfs-3g /dev/sda5 /mnt/windows
Password:
Failed to mount '/dev/sda5': Operation not supported
Mount is denied because the NTFS journal file is unclean. Choices are:
A) Shutdown Windows properly.
B) Click the 'Safely Remove Hardware' icon in the Windows taskbar
notification area before disconnecting the device.
C) Use 'Eject' from Windows Explorer to safely remove the device.
D) If you ran chkdsk previously then boot Windows again which will
automatically initialize the journal.
E) Run 'ntfsfix' on Linux which will reset the NTFS journal.
F) Mount the volume read-only by using the 'ro' mount option.
ian@pR0BATR0N:~$
 
Old 03-07-2007, 10:10 PM   #22
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
OK, last post before I turn in.

I suggest you take the suggestions seriously: boot into Windows first and let it do a system check if that's what it wants to do. The very fact that you could see files on the ntfs partition from the terminal but not in graphical mode was in itself an indication that something wasn't quite right. You may possibly have been working too hard at it without the proper modules so that the partition was slightly hurt. So do the wise thing and let win check itself first; otherwise you may completely lose the partition and all the data (keep your fingers crossed that's not the case yet).

Then reboot into Ubuntu and see whether it makes a difference.
 
Old 03-07-2007, 10:14 PM   #23
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
I dont have windows. I tried typing ntfsfix in terminal, its not a command.
 
Old 03-07-2007, 10:25 PM   #24
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
I'm reluctant to jump back in here, since you're having so much fun, but I would like to point out something from the original post:
Code:
dr-x------ 1 root root 0 2007-01-05 22:22 Guitar Stuff
What this means is that the system could actually read the "Guitar Stuff" directory from the /mnt/windows directory from the beginning. It also means that "Guitar Stuff" is a directory owned by root and is read only by root. i.e. NO OTHER USER can access it, so that clearly the GUI was never going to get access to it. Whether the data has now been broken by loading ntfs-3g I can't say. I know nothing about that software, other than I think it's in early early stages of development.
 
Old 03-07-2007, 10:39 PM   #25
EYEdROP
Member
 
Registered: Mar 2007
Location: Prescott, AZ
Distribution: Fedora 23 Workstation XFCE
Posts: 92

Original Poster
Rep: Reputation: 15
Alright, whats the command to mount? it got unmounted when I rebooted. Im about to try the sudo cp -a /mnt/windows/"Guitar Stuff" .
 
Old 03-07-2007, 11:15 PM   #26
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
I believe it would be this:
Code:
sudo mount -t ntfs -o ro /dev/sda5 /mnt/windows
I would advise you to consider doing "man mount" and looking through the parameters "-t" and "-o" to see and try to understand exactly what I'm having you do. But, in a nutshell, this opens a read-only ntfs partition located at /dev/sda5 onto /mnt/windows. I don't know what effect the ntfs-3g will have, but since we're opening it as ntfs and not ntfs-3g, it shouldn't be a problem.

Last edited by Quakeboy02; 03-07-2007 at 11:16 PM.
 
Old 03-07-2007, 11:20 PM   #27
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
If this mounts OK and you're able to do the "cp -a etc", you will need to do still another command to be able to see them from your home directory. This is the command, and I Cannot Stress Strongly Enough that you MUST NOT run this against "/mnt/windows"! Look at the man page for "chown" to see what I'm having you do.
Code:
sudo chown -R youruserid "Guitar Stuff"
In this case, I believe youruserid to be "ian", if I've been reading correctly. DO NOT do this against /mnt/windows!!!!! Do it only to the "Guitar Stuff" directory you create by the copy command.

Last edited by Quakeboy02; 03-07-2007 at 11:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
moving files Baghdad Linux - Newbie 5 01-22-2006 02:39 AM
Moving files UmneyDurak Fedora 4 08-28-2005 06:52 PM
moving files pantera Programming 2 08-23-2005 06:58 AM
Moving Files arockia Linare 3 09-08-2004 09:14 AM
Moving Files jhotchkiss Linux - Newbie 5 09-16-2003 04:41 PM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration