Results 1 to 10 of 11
Hello,
I would like to request for some help on how to mount the other partitions of my system in my debian OS please I need this particularly for my ...
- 09-06-2009 #1
[SOLVED] Mounting Other Partitions
Hello,
I would like to request for some help on how to mount the other partitions of my system in my debian OS please
I need this particularly for my storage bin sd5 but also I might need to transfer some files from one place to another in the future. Konsole commands are preferred but gui also fine. 
Thanks in advance!
Code:debian:~# fdisk -l Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc5e3f820 Device Boot Start End Blocks Id System /dev/sda1 1 1913 15366141 7 HPFS/NTFS /dev/sda2 * 1914 30260 227697277+ f W95 Ext'd (LBA) /dev/sda3 30261 30401 1132582+ 12 Compaq diagnostics /dev/sda5 1914 23313 171895468+ 7 HPFS/NTFS /dev/sda6 23314 23563 2008093+ 82 Linux swap / Solaris /dev/sda7 23564 25093 12289693+ 83 Linux /dev/sda8 25094 26552 11719386 83 Linux /dev/sda9 26553 28104 12466408+ 83 Linux /dev/sda10 28105 29182 8659003+ 83 Linux /dev/sda11 29183 30260 8659003+ 83 Linux debian:~#
- 09-06-2009 #2
What happens if you type
as root?Code:mount /dev/sda5 /mnt
Debian GNU/Linux -- You know you want it.
- 09-06-2009 #3
- 09-07-2009 #4
Use the man pages!!
It might be a good idea to take a look at the mount man page. That'll give you all the information you'll need to mount whatever partition you want.
I have a store partition on my system which I mount to a folder called store in my Home folder so I would type in
THats just a simple little example which might help, however you've got a few different file systems on your box so you might want to read about the mount command.Code:mount /dev/sda5 /home/me/store
If you want a partition to always be available it can be mounted automatically at boot by using the fstab file in /etc. THere's a manual page for that too." I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."
- 09-15-2009 #5
Make a mount point like the bassinvader has shown maybe in /mnt
as root
Then as rootCode:mkdir /mnt/name
It should mount but it will mount read only, if you want to write to it you will need to install ntfs-3g do that through the package manager or from a terminal as root apt-get install ntfs-3gCode:mount /dev/sd5 /mnt/name
- 09-15-2009 #6
You have to allow read/write access to Regular User too.
Execute this in Terminal :
/dev/sda5 will be available in /media/sda5 and all users will have full privileges.Code:su - mkdir /media/sda5 mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0
If you want to mount this partition permanently then add this code in /etc/fstab file :
Save file and execute mount -a command. You won't have to execute mount command again on reboot.Code:/dev/sda5 /media/sda5 ntfs-3g defaults,umask=0 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-15-2009 #7
Hi,
I mkdir /home/jun/storage and an arrow appear at the icon which usually means that the media is mounted. However, when I click on it it gies me an error message as bellow.
Code:Could not enter folder /home/jun/storage.
ThanksCode:jun@debian:~$ su - Password: debian:~# mount /dev/sda5 /home/me/store mount: mount point /home/me/store does not exist debian:~# mkdir /home/jun/storage debian:~# ls debian:~# mount /dev/sda5 /home/jun/storage debian:~# ls debian:~#
- 09-15-2009 #8
I installed ntfs-3g and here is the output:
Code:debian:~# apt-get install ntfs-3g Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libntfs-3g31 The following NEW packages will be installed: libntfs-3g31 ntfs-3g 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 168kB of archives. After this operation, 467kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.us.debian.org lenny/main libntfs-3g31 1:1.2531-1.1 [141kB] Get:2 http://ftp.us.debian.org lenny/main ntfs-3g 1:1.2531-1.1 [27.0kB] Fetched 168kB in 6s (24.3kB/s) Selecting previously deselected package libntfs-3g31. (Reading database ... 100584 files and directories currently installed.) Unpacking libntfs-3g31 (from .../libntfs-3g31_1%3a1.2531-1.1_i386.deb) ... Selecting previously deselected package ntfs-3g. Unpacking ntfs-3g (from .../ntfs-3g_1%3a1.2531-1.1_i386.deb) ... Processing triggers for man-db ... Processing triggers for hal ... Regenerating hal fdi cache ... Restarting Hardware abstraction layer: hald. Setting up libntfs-3g31 (1:1.2531-1.1) ... Setting up ntfs-3g (1:1.2531-1.1) ... debian:~#
EDIT: Still cannot mount and gives me the same error message.
Last edited by nujinini; 09-15-2009 at 11:13 PM.
- 09-15-2009 #9/dev/sda5 will be available in /media/sda5 and all users will have full privileges.Code:
su - mkdir /media/sda5 mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0
Hello Casper,
I tried the below and it seems I am doing it wrongly. Can you please point it out my mistake? Thanks
Code:jun@debian:~$ su - Password: debian:~# mount /dev/sda5 /home/jun/storage debian:~# apt-get install ntfs-3g Reading package lists... Done Building dependency tree Reading state information... Done ntfs-3g is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. debian:~# mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0 ntfs-3g-mount: failed to access mountpoint /media/sda5: No such file or directory debian:~# mount -t ntfs-3g /dev/sda5 /home/jun/storage -o defaults,umask=0 ntfs-3g-mount: mount failed: Device or resource busy debian:~# mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0 ntfs-3g-mount: failed to access mountpoint /media/sda5: No such file or directory debian:~#
Last edited by nujinini; 09-15-2009 at 11:40 PM.
- 09-16-2009 #10I did the above and was able to make the sda5 open, at lastCode:
su - mkdir /media/sda5 mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0
)
Code:jun@debian:~$ su - Password: debian:~# mkdir /media/sda5 debian:~# mount -t ntfs-3g /dev/sda5 /media/sda5 -o defaults,umask=0




